Course details
PostgreSQL
Learn how PostgreSQL works as a system, not just a query language. You will install a server, connect with psql, tune its settings, give people the right access and take backups you can actually restore — all on one small bike-rental database.
Course curriculum
Introduction3 lessons
See what a relational database really is, where it shines and where it struggles, and how PostgreSQL compares with NoSQL stores and with other relational systems.
Object Model4 lessons
Learn the nesting of cluster, database, schema and table, the relational vocabulary behind tables, rows and columns, and how data types, domains, constraints and NULL keep the data honest.
High Level Database Concepts4 lessons
Understand transactions and ACID, how MVCC lets readers and writers work side by side, how the write-ahead log makes commits survive crashes, and how a query travels from text to results.
Installation, Setup and Configuring5 lessons
Install PostgreSQL from packages or Docker, connect and look around with psql, start and stop the server with the right tool, and change settings, logging and statistics without surprises.
Security3 lessons
Give every person and program its own role, open exactly the privileges each one needs, and control who may connect and how they prove it with pg_hba.conf.
Backups and Recovery4 lessons
Make logical backups with pg_dump and pg_dumpall, restore them in the right order with pg_restore, take physical backups with pg_basebackup for point-in-time recovery, and validate that every backup really works.
