/learn/databases
Databases
SQL vs NoSQL, indexing, transactions and query tuning.
Intermediate
Redis Data Structures and What to Use Them For
Redis is more than a key-value cache. Strings, hashes, lists, sets, sorted sets, streams and the probabilistic types, with the use case each one fits.
redisdatabasescachingsystem-designbackendBeginner
SQL vs NoSQL: Choosing the Right Database
A practical comparison of relational and non-relational databases, with guidance on when each model fits a workload.
SQLNoSQLDatabasesArchitecturePostgreSQLAdvanced
Database Indexing Deep Dive: How Indexes Really Work
An explanation of B-tree and other index types, how the planner uses them, and the trade-offs of adding indexes.
IndexingB-TreePerformancePostgreSQLQuery PlannerSQLIntermediate
Transactions, ACID, and Isolation Levels Explained
A grounded look at ACID guarantees, the four SQL isolation levels, and the anomalies each one prevents.
TransactionsACIDIsolation LevelsConcurrencyMVCCSQLIntermediate
Data Modeling: Normalization vs Denormalization
How normal forms reduce redundancy, when denormalization pays off, and how to balance integrity against read performance.
Data ModelingNormalizationSchema DesignDenormalizationSQLAdvanced
Query Optimization and Performance Tuning
A workflow for diagnosing slow queries with EXPLAIN, fixing common bottlenecks, and tuning for sustained performance.
Query OptimizationPerformanceEXPLAINIndexingTuningSQL
WORK WITH ME
Need software, an app or cloud work done?
I build scalable web platforms, mobile apps, AI-driven systems and cloud infrastructure for businesses. Tell me what you're building.