Skip to main content
CF

Building a Database Engine

0h 0m 0s
English
Paid
Updated September 2026

Building a Database Engine is a self-paced course by Martin Joo. Martin Joo draws on 13 years of application development to make the case that databases outlast every framework built on top of them — and that most developers still know surprisingly little about how they actually work.

Course facts

Lessons
0
Duration
self-paced
Level
All levels
Language
English
Updated
2026-09-11
Instructor
Martin Joo
Price
Premium

Martin Joo draws on 13 years of application development to make the case that databases outlast every framework built on top of them — and that most developers still know surprisingly little about how they actually work. This book is a step-by-step answer to that gap: building a database engine yourself, from the ground up.

What you'll build

  • Data storage, moving from a naive CSV approach to an efficient binary TLV format
  • Write-ahead logging (WAL) for resilience against crashes
  • 4KB data pages backed by an LRU buffer for efficient access
  • B-tree and hash indexes for fast lookups
  • A buffer pool caching pages with a linked-list-and-hash-table LRU cache

It's pitched as a way past the intimidation factor of systems programming, useful both for understanding databases at a fundamental level and for standing out in higher-level technical interviews.

The author shares insights accumulated over 13 years of application development and concludes that databases outlast any technological stack, yet most developers know very little about them. The goal of the book is to change this by offering a step-by-step guide to building your own database engine.

What You Will Learn

  • Data Storage: from the naive approach with CSV to the efficient binary format TLV.​
  • Write-Ahead Logging (WAL): implementing failure resilience.​
  • Data Pages: using 4KB pages with an LRU-based buffer to enhance efficiency.​
  • Indexes: constructing B-trees and hash indexes for fast search.​
  • Buffer Pools: caching data pages using an LRU cache supported by a linked list and hash table.

Why You Should Read It

  • Overcoming the fear of systems programming.​
  • Understanding the fundamental principles of how databases work.​
  • Developing skills that will set you apart from other developers.​
  • Preparing for higher-level technical interviews.

Additional

Premium Package

Who teaches Building a Database Engine? Martin Joo

Martin Joo thumbnail

Martin Joo is a Hungarian software engineer and Laravel educator focused on the deeper engineering side of PHP work — performance, system design, and database internals — applied to the Laravel framework specifically. His material is denser than most Laravel tutorial content and aimed at developers ready to think about Laravel as a serious production stack.

His CourseFlix listing carries four Martin Joo courses: Performance with Laravel (Premium Package), Master System Design with Laravel, Building Finance Apps with Laravel, and Building a Database Engine (a from-scratch database implementation in PHP). Material is paid and aimed at senior Laravel developers and engineering leads.

Books

Read Book Building a Database Engine

#TitleTypeOpen
1Appendix PDF
2Building a database engine - Part I PDF
3Building a database engine - Part II PDF

What courses are similar to Building a Database Engine?

More courses by Martin Joo

Frequently asked questions

What is Building a Database Engine about?
Martin Joo draws on 13 years of application development to make the case that databases outlast every framework built on top of them — and that most developers still know surprisingly little about how they actually work. This book is…
Who teaches this course?
It is taught by Martin Joo. You can find more courses by this instructor on the corresponding source page.
How long is the course?
It is delivered as a self-paced online course on CourseFlix.
Is it free to watch?
It is part of CourseFlix's premium catalog. A subscription unlocks the full video player; the course description, table of contents, and preview information are available to everyone.
Where can I watch it online?
The course is available to watch online on CourseFlix at https://courseflix.net/course/building-a-database-engine. The page hosts every lesson with the integrated video player; no download is required.