Home›About›About

About

Who writes this site, and how is it kept honest?

I run production databases for a living. PostgreSQL, MySQL, MongoDB, Aurora. Ten years of it.

The site is organized in four parts plus About, in reading order: Learn, Practice, Design, Operate, and About. Every page shows where it sits under the menu, and ends with its part's pages and the previous and next page. See every page on one page.

This site is the page I wished someone had handed me when I started. It starts with the files on disk. It ends with the check you run at 2 AM.

Why I wrote this

Most of what I know, I learned the expensive way

A page at 2 AM. A query that was fine yesterday and slow today. A disk that filled up while nobody was watching. A replica that was three seconds behind and a user staring at data they had just saved.

Nobody handed me a page that started with the files on disk. So I wrote one.

This site teaches three core databases the way they actually exist on a server, then Redis, Cassandra and vector search the same way. A process, a block of memory, and a directory of files. If you know where the bytes sit, the performance follows. If you do not, you are guessing, and guessing is how you end up restarting a database at 2 AM hoping the problem goes away.

It goes from zero to staff level. The facts are the same at every level. Only the questions get harder.

How to use this site

Three ways in, depending on where you are

Start at Start here if you are new. It follows one insert from the app to the log file to the data page to the replica, then walks through a read, an update, a delete, and a crash.

Follow the Staff Path if you want the guided route. It goes from zero to staff level in order, one problem and one diagram at a time.

Keep the Cheat Sheet open if you already know the ideas and need the numbers. Three sheets, one per engine, eight rules each.

If something is broken right now, skip the reading. Go to the incident cards on Start here, or follow the on-call path. Find your symptom. Run the check named beside it.

Before you leave, check this: run EXPLAIN (ANALYZE, BUFFERS) on your slowest query. Look at the pages it read. That number tells you what to fix.

Who writes this? Who writes this, what was corrected, what to read next, and how to reach me.