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
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.
Take this course offline
Subscribe to my newsletter to get every free book and course in PDF and EPUB format.
Get the downloadsCourse 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