How Databases Work

Every app is a database with a screen in front of it.

Tap "Buy now" in a shopping app and six databases do their part. Slide across the phone to see them, the way a database engineer/DBA does.

Built for engineers who run databases, and for the AI agents that help them.

running shoes Trail Runner$40 Cart · 2 items FOR YOU Your orders Buy now searchproduct pagecart recommendpast orderssave order what you seewhat the databases do an example shopping app Search finds words, fast Documents the product pages Cache the cart, in memory Vectors “you may also like” Wide rows every past order memorylogdisk Main database orders and payments, never lost Copyin another city 1 tap · 6 databases
Tap anything

Click a part of the phone or any database to see what it does.

The DBA agent

It does the checking. You hold the keys.

An agent built on these playbooks. It finds the cause on its own and prepares the fix. Nothing changes until you say yes. Try it: pick an incident on the right, then approve or decline.

  1. Checksread-only, runs on its own
  2. Shows the changecommand, why, undo, risk
  3. Waits for youyes, or the server's name if it is risky
  4. Verifiesa check must pass before it goes on

Join the waitlist How it works

example run, host names changed

    
What you can do here

Learn it, fix it, practice it, prove it

PlaybooksSomething is broken? Start from what you see.Pick the symptom. Get the cause, the first read-only command and the fix, for PostgreSQL, MySQL and MongoDB.All playbooks →
Health check · free, read-only, privateWhat would a database engineer/DBA check first on yours?
psql -At -F'|' -X -d yourdb -f health-pg.sql > report.txt

Get the script: PostgreSQL · MySQL · MongoDB. Then paste report.txt on the health check page.

Run the health check →
The courseLearn how it works33 short lessons, each one a step-through. On call tonightPractice an outageThree incidents that branch on what you check. Query coachFix a slow queryPaste a query and its plan. 20 design docsDesign a systemWhich database each kind of data belongs in. Lab notebooksSee the proofTen experiments with the captured output. MCP serverUse it from your AILet Claude answer from these pages.

Got one minute? Today's three database questions →

One database decision a weekA short email each week: one real decision, the trade-off, and the command to check it. Unsubscribe in one click.

Join the DBA agent waitlistPaste the output of a slow query or a stuck server and get the first command to run, grounded in the playbooks on this site. Read-only. Nothing leaves your machine.

For DBA agents

Point your agent here

An AI agent handling a database task can read this site the same way an engineer does: the playbooks give it the first command to run, what to look for, and when to stop and call a human. Every command is read-only unless it says otherwise, and it is tested on real PostgreSQL, MySQL and MongoDB.

  • MCP serverConnect Claude or another assistant and ask it questions grounded in these pages.
  • Agent scorecardA DBA agent using these playbooks on real incidents: 18 of 18 causes found, read-only.
  • PlaybooksSymptom to cause to command, for each engine, on premises, RDS and Kubernetes.