๐Ÿ—„๏ธ Database

Where data lives, how itโ€™s modelled, how itโ€™s queried, how it survives failure. The data layer underneath almost every application.

Fundamentals

Relational (SQL)

  • PostgreSQL (todo)
  • MySQL / MariaDB (todo)
  • Microsoft SQL Server (todo)
  • Oracle (todo)
  • SQLite (todo)
  • SQL fundamentals (SELECT, JOIN, GROUP BY) (todo)

NoSQL

  • Document โ€” MongoDB (todo)
  • Key-value โ€” Redis (todo)
  • Wide-column โ€” Cassandra (todo)
  • Graph โ€” Neo4j (todo)

Cloud-managed

  • AWS RDS / Aurora / DynamoDB (todo)
  • Azure SQL / Cosmos DB (todo)

Operations

  • Backup & restore (todo) โ†’ see Backup Fundamentals โ€” RPO and RTO
  • Replication โ€” master/replica, multi-master (todo)
  • Sharding & partitioning (todo)
  • Connection pooling (todo)
  • Query optimisation / EXPLAIN (todo)

Data warehousing / analytics

  • OLTP vs OLAP (todo)
  • Snowflake / BigQuery / Redshift (todo)
  • ETL vs ELT (todo)

All Database notes

TABLE WITHOUT ID file.link AS "Note", type AS "Type", tags AS "Tags"
FROM "08 - Database"
WHERE type != "moc"
SORT file.name ASC