Database Internals

How relational databases actually store, index, and count data — and how to reason about query performance from first principles.

What Happens When MySQL Executes a SELECT Query?

SELECT is usually the very first SQL statement anyone learns, yet few stop to ask what actually happens inside MySQL when that statement runs. This post walks through MySQL's server architecture and the full journey a SELECT query takes, from establishing the connection to the Executor handing the final result back to the client.

10 minDatabase Internals