Skip to content

Databases

A comprehensive course on databases - from relational fundamentals and SQL through MySQL administration, PostgreSQL internals, NoSQL systems, and production operations. These guides take you from "I know I need a database" to understanding storage engines, query optimization, replication topologies, and recovery procedures well enough to architect, tune, and operate database systems in production.

Each guide is self-contained, but the order below follows a natural learning path. Basic Linux CLI familiarity is assumed throughout.


Guides

Foundations

1 Start Here
Database Fundamentals
Beginner 35 min

Core database concepts including the relational model, ACID properties, CAP theorem, and a decision framework for choosing between RDBMS and NoSQL systems.

2
SQL Essentials
Beginner 40 min

The standard language for relational databases. Covers DDL, DML, JOINs, aggregations, subqueries, and transaction control.

3
Database Design & Modeling
Intermediate 40 min

Turning requirements into schema with ER diagrams, normalization through Boyce-Codd, index theory, and constraint enforcement.

MySQL & MariaDB

4
MySQL Installation & Configuration
Intermediate 35 min

Installing MySQL, configuring my.cnf, choosing storage engines, sizing the buffer pool, and hardening for production.

5
MySQL Administration
Intermediate 40 min

Day-to-day MySQL management with the mysql CLI, user and privilege system, log types, and table maintenance.

6
MySQL Performance & Optimization
Advanced 45 min

Finding and fixing slow queries with EXPLAIN, index strategies, buffer pool tuning, and slow query log analysis.

7
MySQL Replication & High Availability
Advanced 40 min

Binary log replication, GTID topologies, Group Replication, InnoDB Cluster, and ProxySQL connection routing.

PostgreSQL

8
PostgreSQL Fundamentals
Intermediate 35 min

Installation, psql CLI, postgresql.conf tuning, pg_hba.conf authentication, and MVCC snapshot isolation.

9
PostgreSQL Administration
Intermediate 40 min

Roles and privileges, VACUUM and autovacuum tuning, pg_stat monitoring views, extensions, and WAL management.

10
PostgreSQL Advanced Features
Advanced 45 min

Recursive CTEs, window functions, JSONB with GIN indexing, table partitioning, full-text search, and PgBouncer.

NoSQL

11
NoSQL Concepts & Architecture
Intermediate 30 min

Document, key-value, wide-column, and graph databases. CAP theorem, consistency models, and polyglot persistence.

12
MongoDB
Intermediate 40 min

The document model, CRUD operations, aggregation pipelines, indexing, replica sets, and sharding fundamentals.

13
Redis
Intermediate 35 min

In-memory data structures, caching patterns, pub/sub, Lua scripting, persistence with RDB and AOF, and Sentinel/Cluster.

Operations

14
Backup & Recovery Strategies
Intermediate 35 min

Logical vs physical backups, mysqldump, pg_dump, Percona XtraBackup, and point-in-time recovery.

15
Database Security
Intermediate 35 min

Authentication methods, TLS/SSL configuration, SQL injection prevention, audit logging, and privilege hardening.

16
Scaling & Architecture Patterns
Advanced 40 min

Read replicas, connection pooling, sharding strategies, and microservices data patterns including CQRS.

17
InnoDB Recovery with PDRT
Advanced 35 min

Last-resort data recovery using the Percona Data Recovery Tool, InnoDB file architecture, and first-response triage.

Comments