The world’s favorite open-source database, beyond the SQL. Learn JSONB and rich types, index strategies, EXPLAIN, MVCC and vacuum, and day-two operations — and remember it with spaced repetition.
PostgreSQL is the database the industry keeps converging on — fully open source, famously reliable, and rich enough to replace a document store, a queue and a search engine for many workloads. Generic SQL gets you querying; knowing how Postgres actually works is what gets you fast queries and calm on-call shifts.
That knowledge has a shape: choosing the right data types (JSONB vs JSON, arrays, ranges, UUID), backing queries with the right index kind (B-tree by default; GIN for JSONB and full-text; BRIN for huge append-only tables), reading EXPLAIN ANALYZE instead of guessing, and understanding MVCC — why readers never block writers, where dead tuples come from, and what vacuum really does.
This track assumes basic SQL fluency (the SQL Basics track is the natural prerequisite) and covers the Postgres-specific layer in five modules, with spaced repetition making the details stick — exactly the ones that surface in backend interviews and 2 a.m. incident calls.
Each module is a set of flashcards — 80 in total. Answer, review, and watch your knowledge grow from seed to full bloom.
JSONB, arrays, enums, ranges, UUID, and choosing the right column types
16 cardsB-tree, GIN, GiST and BRIN, partial and covering indexes, and when they pay off
16 cardsEXPLAIN and ANALYZE, scan types, planner statistics, and autovacuum in practice
16 cardsRow versions, snapshots, isolation levels, VACUUM, locking, and bloat
16 cardsRoles and privileges, extensions, backups, connection pooling, and daily operations
16 cardsA taste of the real flashcards. Pick an answer, then reveal the explanation.
What is the key difference between JSON and JSONB?
What is a partial index?
Do plain SELECT readers block writers in PostgreSQL?
Why does SELECT count(*) on a big PostgreSQL table take so long?
Each card is one practical concept with multiple options. Pick what you think is right.
See the correct option plus a clear explanation, and a link to deeper docs when one is available.
A spaced-repetition engine (SM-2 or FSRS) resurfaces each card just before you would forget it.
Postgres tops developer-survey rankings year after year. It is the database you are most likely to meet in your next job.
EXPLAIN ANALYZE plus planner statistics turn "the query is slow" from a mystery into a diagnosis.
Knowing when GIN, BRIN or a partial index beats a plain B-tree is the difference between milliseconds and minutes.
MVCC, vacuum, isolation levels and JSONB are perennial favorites in backend and data engineering interviews.
Yes — this track assumes you can write basic queries with joins and aggregation. The SQL Basics track covers exactly that prerequisite and links back here when you are ready.
The concepts — MVCC, index types, EXPLAIN, vacuum, roles — are stable across modern versions, so the track is not tied to a specific release. Anything version-sensitive is phrased to hold for currently supported versions.
Yes, completely free. No registration or credit card is required, and all your progress is stored locally in your browser.
The Operations & Ecosystem module covers the day-two essentials — roles and privileges, extensions, pg_dump vs pg_basebackup, and why connection pooling matters. Deep HA and replication setups are beyond its scope.
Plant your first seed today. Ten minutes a day is all it takes to grow real, lasting PostgreSQL depth.