technotes · topic
First-principles depth, taught by contrast with Postgres/InnoDB — the document model, WiredTiger storage, indexing, the aggregation pipeline, replica sets & sharding.
The document is the unit of storage, atomicity, and schema design — so embedding, single-document atomicity, and "design for your access pattern" all derive from one keystone fact.
doneThe storage engine up close — a B-tree, document-level concurrency, MVCC snapshots, the journal and checkpoints. The surprise: closer to InnoDB than to the Postgres heap.
plannedThe mandatory _id index, compound indexes and the Equality-Sort-Range rule, multikey (array) indexes, and covered queries.
explain(),
or a Mongo-vs-relational contrast that feels off, and we'll dissect it together.