Something is wrong right now. Where do I start?
Confirm what is really happening, find the cause, then fix the smallest thing that works.
Each playbook starts from a symptom, confirms it read-only, names the likely causes in the order I see them, and only then suggests a fix with its risk. The same playbooks drive the DBA agent.
Every new write lands on one shard. That node runs at 100 percent while the rest idle, and inserts slow for every customer. Check distribution, not totals. A monotonic shard key sends every new write to the same shard.
The fix is the key, not more shards. Hash-prefix a monotonic shard key, or give the whale tenant its own shard. Choose the shard key from the query pattern before launch.
How to host MongoDB on-prem, on EC2, in Kubernetes, or on Atlas is on the Cloud page.
One command. It tells you how long a secondary can stay down and still catch up.
The oplog window: size divided by write rate
Read "log length start to end". That is the window in hours. Compare it to your longest maintenance.
How do databases actually work? From one row on disk to transactions: the words you need, PostgreSQL, MySQL and MongoDB from the files up, then Redis, Cassandra and vector search, side by side, and the query and concurrency traps.