Free course
PostgreSQL Course
Learn PostgreSQL from installation to production basics: psql, roles, databases, schemas, types, indexes, application pools, migrations, backups, and debugging.
Prerequisites: SQL and Shell Commands
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it. Join my free newsletter and you get this course plus every other book and course I published.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it.
Your progress
of lessons completed.
Course completed.
What you'll learn
Build and operate a small PostgreSQL-backed application with clear roles, reliable migrations, bounded connections, useful indexes, and a restorable backup.
Course contents
Start using PostgreSQL
Install PostgreSQL, connect with psql, and navigate a server confidently.
Roles, databases, and schemas
Understand PostgreSQL organization and grant deliberate access.
Tables and data
Use PostgreSQL types, identity columns, constraints, and transactions.
Queries and performance
Use PostgreSQL query features and inspect plans before adding indexes.
Applications and operations
Connect applications, control pools, migrate safely, restore backups, and debug failures.
- ✓ Connect to PostgreSQL from Node.js
- ✓ Budget connection pools
- ✓ Parameterize PostgreSQL queries
- ✓ Run an application transaction
- ✓ Migrate PostgreSQL safely
- ✓ Back up and restore PostgreSQL
- ✓ Fix a PostgreSQL connection failure
- ✓ Fix “relation does not exist”
- ✓ Choose where PostgreSQL runs
- ✓ Understand MVCC and routine maintenance
- ✓ Build a PostgreSQL notes application
- ✓ Check your understanding: applications and operations