Operating systems notes

Capstone: Operating Systems for Databases

Every idea in this course, running for real inside the database on your production server. Every section is a drawn page beside a clear written explanation, about 19 minutes in all.

  • Chapter 37 of 37
  • About 19 minutes
  • 9 sections

Sign in with Google or GitHub and you land straight on this page. DSA comes with the all labs plan and every ChaiCode batch.

The first drawn page of Capstone: Operating Systems for Databases: A database is an OS-shaped problem
The chapter's first page: A database is an OS-shaped problem

In this chapter

  • A database is an OS-shaped problem
  • The process vs thread model: Postgres and InnoDB
  • The buffer pool vs the OS page cache
  • Durability: fsync, the WAL & the write path
  • Concurrency control: locks and latches
  • MVCC: readers that don’t block writers
  • Deadlocks in databases
  • Scheduling, I/O and the shape of a query
  • The big picture: know your OS, build better systems

More Operating systems

Read the whole chapter

Sign in and the chapter opens with every drawn page, and all 38 operating systems chapters beside it.

DSA comes with the all labs plan and every ChaiCode batch.