Tag
Databases series
4 diagram-led guides on Databases series by Abhishek Goyal.
-
GuideNewMembers
Databases for System Design Interviews
How to choose, model and scale the database in a high-level design interview: database families, storage engines, indexes, ACID, isolation levels, consistency, replication, sharding, caching, sagas and outbox, CDC, OLAP, disaster recovery and a decision framework, with diagrams for every core idea.
-
Deep diveNew
Database Indexes in Practice: Clustered vs Secondary, Composite, Covering, and Why Your Index Is Ignored
How real database indexes work in MySQL InnoDB and PostgreSQL: clustered vs heap storage, UUID vs time-ordered primary keys, composite index column order, covering indexes and index-only scans, why the planner ignores an index, and what every index costs on writes, with an interview talk track.
-
Deep diveNewMembers
Transaction Isolation Levels Explained: Dirty Reads, Lost Updates, Write Skew and What Postgres and MySQL Really Do
Every transaction anomaly (dirty read, non-repeatable read, phantom, lost update, write skew) as a two-session timeline, what Read Committed, Repeatable Read and Serializable really mean in PostgreSQL and MySQL InnoDB, and how to fix double booking and overselling with atomic updates, locks, version columns, constraints and retries.
-
Deep diveNewMembers
Sharding a Relational Database: Shard Keys, Routing, IDs, Hot Shards and Resharding
How to shard PostgreSQL or MySQL without regret: when to shard at all, choosing a shard key, range vs hash vs directory sharding, logical shards, query routing with Vitess and proxies, globally unique IDs, cross-shard queries and 2PC, hot tenants and zero-downtime resharding, with real numbers from Notion, Figma, Instagram, Shopify, Slack and Pinterest.
More tags
- Interview prep
- Databases
- Search & storage series
- Elasticsearch
- PostgreSQL
- Career
- Concurrency
- Data structures
- JVM
- Sharding
- Transactions
- Vector search
- Caching
- Performance
- Reliability
- Security
- Api design
- Consistency
- Design patterns
- Java Memory Model
- Linux
- LLMs
- Locking
- Low-level design
- Messaging
- Microservices
- Mysql
- OOP
- Pagination
- RAG
- Replication
- Rest
- Resume
- Roadmap
- Strings
- Synchronization
- All tags