Advanced Overview

Build databases that survive failure and scale under load. Replication, sharding, query optimization, encryption, backup, and high availability across MySQL, PostgreSQL, MongoDB, Redis, Cassandra, and Elasticsearch.

Technologies: MySQL 8, PostgreSQL 15, MongoDB, Redis, Cassandra 4, Elasticsearch


πŸš€ Start Here β†’ Lab 01: MySQL Replication


πŸ“‹ Lab Index

#
Lab
DB
Topics

01

MySQL 8

Primary-replica setup, binlog, SHOW REPLICA STATUS

02

PostgreSQL 15

WAL streaming, pg_basebackup, replication slots

03

MySQL 8

Multi-primary, consensus, automatic failover

04

MySQL 8, PostgreSQL

RANGE, LIST, HASH partitioning, partition pruning

05

MySQL 8

Horizontal sharding, consistent hashing, ProxySQL routing

06

MySQL 8

slow_query_log, pt-query-digest, profiling

07

MySQL 8

innodb_buffer_pool_size, page flushing, memory hierarchy

08

MySQL 8

B+tree, MVCC, undo log, redo log, change buffer

09

PostgreSQL 15

WAL files, LSN, MVCC visibility, dead tuples, VACUUM

10

MySQL 8

Read/write splitting, query rules, connection pooling

11

PostgreSQL 15

Transaction/session pooling, SSL, monitoring

12

MySQL 8, PostgreSQL

TDE, binlog encryption, pg_crypto, keyring plugins

13

MySQL 8, PostgreSQL

MySQL audit plugin, pgaudit, compliance logging

14

MySQL 8

binlog-based PITR, mysqlbinlog, restore workflow

15

MongoDB 7

Primary/secondary/arbiter, elections, oplog

16

MongoDB 7

Shard key, mongos, config servers, chunk migration

17

Redis 7

Redis Cluster slots, Sentinel auto-failover

18

Cassandra 4.1

Keyspace, table, CQL, consistency levels, compaction

19

Elasticsearch 8

Inverted index, mappings, query DSL, aggregations

20

Multi-stack

MySQL Group Replication + ProxySQL + Redis Sentinel


πŸ—‚οΈ Learning Path

Replication & HA (Labs 1–5)

Start here for production reliability. Replication is the foundation of every HA architecture.

Performance Tuning (Labs 6–11)

Buffer pool, MVCC internals, slow query analysis β€” the skills that make you a performance expert.

Security & Operations (Labs 12–14)

Encryption, audit logging, and recovery procedures for compliance and production ops.

NoSQL Deep Dive (Labs 15–19)

MongoDB replication/sharding, Redis cluster, Cassandra, and Elasticsearch internals.


πŸ› οΈ Setup

Last updated