Learn
All About Database
A database learning site built and run by Helloworld. You run four databases in the browser, with nothing to install, and work from how storage and transactions work to plans, tuning and operational checks. The material is in Korean.
Sandbox
Four databases, right in the browser
Run the same query on each database and compare the results and plans side by side.
-
Oracle 23ai
Practice plans, hints and partial-range processing.
-
PostgreSQL 17
Compare the same topics the PostgreSQL way.
-
SQL Server 2022
See the same tuning topics in SQL Server plans.
-
KDBS 3.4
Run fixed plans and group limit assertions yourself.
Contents
What it covers
-
7 chapters
Hidden principles of databases
Where and how data is stored, and how it is updated safely, with how each DBMS differs.
- Records and pages, the catalog, B+ trees and indexes
- Transactions, WAL, durability
- MVCC and isolation levels
-
28 lessons
SQL lessons
Step-by-step practice from SELECT basics to the advanced SQL used at work.
- Conditions, NULL logic, paging, GROUP BY, joins
- Subqueries, set operations, recursive CTEs
- Window functions, gaps and islands, ROLLUP, PIVOT
- Four lessons on the KDBS SQL dialect
-
57 scenarios
SQL tuning scenarios
Slow queries fixed without changing any table, only with rewrites, hints, join methods and partial-range processing.
- 19 for Oracle, 15 for PostgreSQL, 15 for SQL Server, 8 for KDBS
- Transformed index columns, keyset paging, scalar subqueries, join order
- Nested loops vs hash joins, subquery unnesting, the NULL trap in NOT IN
-
21 guides
Operations guides
What to check on a running database, and how.
- Sessions, locks and blocking, long transactions, wait events
- Top SQL, cached plans, optimizer statistics, plan stability
- Space and object size, index maintenance, log management
- Privileges and auditing, backup and recovery, parameters, replication
-
50+ pages
DB wiki
One page per product feature, such as PostgreSQL TOAST, the InnoDB buffer pool or Oracle LOBs: how it works, how it is set, how to check it.
Why it matters
The engineer who writes it diagnoses your database
The tuning scenarios and operations guides on All About Database are the same work Helloworld does for clients. The checks in the operations guides are the checks of operations support, and the methods in the tuning scenarios are the ones used in performance tuning. See the level of the work for yourself before you sign anything.