The Book

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.

Her Şeyin Veritabanı

2026 free

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.

FormatFileSizeNotes
PDF her-seyin-veritabani.pdf 5.3 MB 240 pages, print-ready Download
EPUB her-seyin-veritabani.epub 875 KB e-readers, reflowable Download

What is inside

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.

PartChaptersSubject
I — Foundations1–4Data, data models, the relational-to-document shift, the document model in depth
II — How a database works inside5–14Storage engines, WAL and crash recovery, indexing, query processing, aggregation, transactions, concurrency, scaling, memory/cache/disk, security
III — OxiDB step by step15–27Architecture, storage, WAL, indexes, query engine, aggregation pipeline, transactions, compaction, full-text search and PITR, server protocol, Raft cluster, clients, memory tuning
IV — The other engines28–32The 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

Örnekler

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ı.

License

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.

Report Issue