Servers & Networks · Systems & Data Engineering

Databases & Storage in Production

43 short lessons with interactive exercises. You start from zero and move from beginner to advanced.

  • 43 lessons
  • 3 levels
  • Arabic & English
  • Start free

What you will learn

  • Run PostgreSQL, its connections, transactions and indexes safely in production
  • Diagnose slow queries, locks and connection limits, and use pooling
  • Design a suitable cache, file storage, backups and restores
  • Scale the data layer with replication, partitioning and sharding while understanding consistency trade-offs

About this course

A complete, concept-focused course on running databases, caching and storage with good performance and reliability in production. It starts with the database's role in the architecture, the database server, PostgreSQL in production, connections and connection pooling, transactions, indexes, query performance, locks, and the types of storage (local, block and object), plus Redis and caching. Then it moves on to slow queries, the idea behind EXPLAIN, index selection, connection limits, pooling in practice, cache patterns (cache-aside), cache invalidation and TTL, sessions and queues in Redis, backup and restore, managed versus self-hosted, and storing files outside the database. It ends with database bottlenecks, replication, primary/replica setups, read replicas, failover, high availability, point-in-time recovery, backup retention, partitioning and sharding, consistency trade-offs, Redis high availability, cache stampedes, database scaling strategy, and designing a large data layer. A theory course with no runnable code, full of comparisons, varied analogies and production examples.

Skills

  • Databases
  • PostgreSQL
  • Storage
  • Performance

Lessons

Every lesson is short, and the exercises after it lock in what you learned.

Beginner level

14 lessons
  1. The Database's Role in Architecture
  2. Database Server
  3. PostgreSQL in Production
  4. Database Connections
  5. Connection Pooling
  6. Transactions
  7. Indexes
  8. Query Performance
  9. Locks
  10. Local Storage
  11. Block Storage
  12. Object Storage
  13. Redis
  14. Caching

Intermediate level

14 lessons
  1. Slow Queries
  2. The Query Execution Plan (EXPLAIN)
  3. Index Selection
  4. Connection Limits
  5. Connection Pooling in Practice
  6. The Cache-Aside Pattern
  7. Cache Invalidation
  8. Redis TTL
  9. Sessions in Redis
  10. Queues with Redis
  11. Database Backups
  12. Restore
  13. Managed vs. Self-Hosted Database
  14. File Storage Outside the Database

Advanced level

15 lessons
  1. Database Bottlenecks
  2. Replication
  3. Primary and Replica
  4. Read Replicas
  5. Failover
  6. High Availability
  7. Point-in-Time Recovery
  8. Backup Retention
  9. Partitioning
  10. Sharding
  11. Consistency Trade-offs
  12. Redis High Availability
  13. Cache Stampede
  14. Database Scaling Strategy
  15. Designing a Large Data Layer

Start your first lesson today

Get the Lammah app and pick “Databases & Storage in Production” from the courses. Each lesson takes a few minutes, and you can start free.

Learn tech skills easily, for freeGet the app