Her Şeyin Veritabanı — "The Database of Everything". A free book by Barış AKIN on how a database actually works inside: from first principles to the engines that power OxiDB. Written in Turkish.
OxiDB: Belge, SQL ve Zaman Serisi Motorları, S3 Nesne Depolama ve OxiMem Anahtar-Değer Katmanı. 240 pages · 32 chapters + 2 appendices · ~83,000 words · 114 code examples, all verified against a running server.
The book takes two journeys at once. The first is conceptual: what a database has to solve and how those problems are solved in general — durability and write-ahead logging, storage engines, indexing, query planning, aggregation, transactions, isolation, replication and sharding. The second is concrete: how every one of those principles becomes a real engineering decision inside OxiDB, with the trade-offs made explicit.
| Part | Chapters | Subject |
|---|---|---|
| I — Foundations | 1–4 | Data, data models, the relational-to-document shift, the document model in depth |
| II — How a database works inside | 5–14 | Storage engines, WAL and crash recovery, indexing, query processing, aggregation, transactions, concurrency, scaling, memory/cache/disk, security |
| III — OxiDB step by step | 15–27 | Architecture, storage, WAL, indexes, query engine, aggregation pipeline, transactions, compaction, full-text search and PITR, server protocol, Raft cluster, clients, memory tuning |
| IV — The other engines | 28–32 | The SQL engine, the time-series engine (Gorilla compression), OxiMem (RESP key-value), S3-compatible object storage, and how to use all of them in one application |
Kitabın ilk iki kısmı bilinçli olarak kodsuzdur: amaç, sizi bir sözdizimine bağlamadan kavramın kendisini kurmaktır. Üçüncü ve dördüncü kısımlarda ise çalışan sisteme karşı denenmiş 114 örnek bulunur — tel üzerindeki JSON istekleri, SQL ifadeleri, Python, C#, JavaScript ve kabuk komutları.
The book is free to read and download. © 2026 Barış AKIN. The book text is not covered by the OxiDB software license; see License for the engine itself.