Databases & SQL · PostgreSQL

PostgreSQL Tutorial

SQL ergonomics through EXPLAIN intuition, transactional behaviour, pragmatic schema design.

Sponsored

Lesson outline

  1. 145
    Secure Connections with SSL/TLS

    Learn how to secure PostgreSQL connections with SSL/TLS: understand certificates, enable encryption, and verify server identity.

  2. 146
    Row-Level Security Policies

    Implement row-level security policies in PostgreSQL. Learn how to restrict data access per user with hands-on steps, troubleshooting, and next steps in the tutorial.

  3. 147
    Audit Changes with pgAudit

    Learn to audit changes with pgAudit in PostgreSQL. This tutorial covers configuration, usage, and troubleshooting for effective database auditing.

  4. 148
    Tune Memory Settings

    Learn how to tune PostgreSQL memory settings to boost performance. This lesson covers key parameters, practical configuration steps, and troubleshooting tips for better database efficiency.

  5. 149
    EXPLAIN ANALYZE Query Plans

    Learn to analyze PostgreSQL query plans with EXPLAIN ANALYZE — hands-on steps, troubleshooting, and what's next.

  6. 150
    Zero-Downtime PostgreSQL Upgrade

    Upgrade PostgreSQL with minimal downtime: learn the core concept, step-by-step methods (pg_upgrade, logical replication, blue-green), hands-on walkthrough, options comparison, troubleshooting, and next steps.

  7. 151
    PostgreSQL Logical Replication Sync

    Use logical replication for selective sync in PostgreSQL — learn to replicate specific tables or rows, configure publications and subscriptions, and handle troubleshooting with this hands-on tutorial.

  8. 152
    Switchover and Failover Procedures

    Learn PostgreSQL switchover and failover procedures — hands-on steps, troubleshooting, and what to study next.

  9. 153
    Monitor Replication Lag

    Learn to monitor PostgreSQL replication lag and cluster health with practical queries, key metrics, and troubleshooting tips for proactive database maintenance.

  10. 154
    Build a Multi-Node Cluster with Citus

    Learn to distribute PostgreSQL across nodes using Citus: cluster setup, sharding, and query routing, with hands-on steps and troubleshooting.

  11. 155
    Automate Failover Tests

    Learn to automate failover tests with chaos engineering in this PostgreSQL lesson. Hands-on steps, troubleshooting, and next steps.

    PostgreSQL Tutorial — step-by-step tutorials

    What you will find here

    This track walks through postgresql tutorial in order — each lesson is server-rendered HTML you can read without JavaScript. Follow the outline, then practice in the browser IDE when a lesson links to runnable code.

    Tutorials vs quizzes and code samples

    Tutorials teach in sequence. For quick checks use quizzes. For copy-paste snippets see code samples. For deeper reading browse articles.