PostgreSQL Administration

A four-day operational course for teams running PostgreSQL in production. Covers architecture, configuration, roles and authentication, MVCC and autovacuum, write-ahead logging, backup and point-in-time recovery, streaming and logical replication, monitoring, security hardening and major version upgrades. Delivered on PostgreSQL 18 with notes for versions 14 through 17, and every module ends with a lab on a live cluster rather than a walkthrough.

postgresql-administration-training

Intermediate

Databases

4 Days

Databases

databases

Online
On-site
Hybrid

PostgreSQL Administration

A four-day operational course for teams running PostgreSQL in production. Covers architecture, configuration, roles and authentication, MVCC and autovacuum, write-ahead logging, backup and point-in-time recovery, streaming and logical replication, monitoring, security hardening and major version upgrades. Delivered on PostgreSQL 18 with notes for versions 14 through 17, and every module ends with a lab on a live cluster rather than a walkthrough.

Duration:
4 Days
Rating:
4.8/5.0
Level:
Intermediate
1500+ users onboarded

Who will Benefit from this Training?

Training Objectives

Build a high-performing, job-ready tech team.

Personalise your team’s upskilling roadmap and design a befitting, hands-on training program with Uptut

Key training modules

Comprehensive, hands-on modules designed to take you from basics to advanced concepts
Download Curriculum
  • PostgreSQL Architecture and Process Model
    1. Postmaster, backend processes and the background worker set
    2. Shared buffers, WAL buffers and per-backend memory areas
    3. The data directory layout and what each subdirectory holds
    4. Client connection lifecycle and the cost of a connection
    5. PostgreSQL 18 asynchronous I/O and what changed operationally
    6. Hands-on: inspect a running cluster's processes, memory and directories
  • Installation, Initialisation and Cluster Management
    1. Packaged installs, PGDG repositories and containerised deployments
    2. initdb options, locale, encoding and checksums set at creation time
    3. Running multiple clusters and instances on one host
    4. Service management, start and stop modes and controlled shutdown
    5. Directory ownership, permissions and filesystem choices
    6. Hands-on: build a cluster from scratch with checksums and a chosen locale
  • Configuration and Parameter Management
    1. postgresql.conf, include files and ALTER SYSTEM precedence
    2. Parameter contexts: which settings need a reload and which need a restart
    3. Memory parameters: shared_buffers, work_mem, maintenance_work_mem and effective_cache_size
    4. Connection limits, and why a connection pooler is usually required
    5. PgBouncer pooling modes and their application constraints
    6. Hands-on: tune a default install for a defined workload and measure the change
  • Roles, Authentication and Connection Security
    1. Roles, login attributes, role inheritance and group design
    2. pg_hba.conf rule evaluation order and the mistakes that lock people out
    3. scram-sha-256, certificate, LDAP and OAuth authentication methods
    4. Retiring legacy md5 password hashes
    5. TLS configuration, certificate management and enforcing encrypted connections
    6. Hands-on: implement a role hierarchy and a hardened host-based access policy
  • Databases, Schemas and Privilege Management
    1. Databases, schemas, search_path and the public schema defaults
    2. GRANT and REVOKE across tables, columns, functions and sequences
    3. Default privileges for objects created in future
    4. Row level security policies and their operational implications
    5. Auditing effective privileges for a given role
    6. Hands-on: design least-privilege access for application, reporting and admin roles
  • Storage Internals and Space Management
    1. Heap files, pages, tuples and the fill factor
    2. TOAST storage for oversized values and its performance impact
    3. Tablespaces for separating workloads across storage
    4. Measuring table, index and database size accurately
    5. Free space map, visibility map and their role in performance
    6. Hands-on: locate the largest objects in a cluster and account for their space
  • MVCC, Bloat and Autovacuum
    1. Multi-version concurrency control and why deleted rows persist
    2. Dead tuples, table bloat and index bloat and how to measure each
    3. Autovacuum thresholds, scale factors and per-table overrides
    4. Long running transactions and idle-in-transaction sessions as root causes
    5. VACUUM, VACUUM FULL, pg_repack and the availability trade-offs
    6. Hands-on: generate bloat deliberately, diagnose it and reclaim the space
  • Transaction ID Wraparound and Freezing
    1. Transaction ID space, freezing and why wraparound halts a cluster
    2. Monitoring datfrozenxid and age across databases
    3. Aggressive and anti-wraparound vacuum behaviour
    4. Multixact IDs and their separate wraparound risk
    5. Alerting thresholds and the runbook for a cluster approaching the limit
    6. Hands-on: build wraparound monitoring and rehearse the response
  • Indexes and Plan Reading for Administrators
    1. B-tree, GIN, GiST, BRIN and hash indexes and their operational profiles
    2. CREATE INDEX CONCURRENTLY and safe index maintenance in production
    3. Detecting unused, duplicate, bloated and invalid indexes
    4. Reading EXPLAIN ANALYZE output well enough to triage an incident
    5. Statistics, ANALYZE and the effect of stale statistics on plans
    6. Hands-on: audit an index set and rebuild without blocking traffic
  • Write-Ahead Logging, Checkpoints and Durability
    1. How WAL guarantees durability and crash recovery
    2. Checkpoints, their I/O cost and tuning checkpoint behaviour
    3. WAL levels, retention and the causes of runaway WAL growth
    4. synchronous_commit, fsync and the durability versus latency trade-off
    5. Replication slots and the disk risk an inactive slot creates
    6. Hands-on: tune checkpoints and observe the effect on write throughput
  • Backup Strategy, Archiving and Point-in-Time Recovery
    1. Recovery point and recovery time objectives as design inputs
    2. pg_dump and pg_dumpall formats, parallelism and selective restores
    3. pg_restore options for partial and reordered recovery
    4. pg_basebackup for physical backups and its limitations
    5. Backup verification, retention and offsite storage requirements
    6. Hands-on: take and verify both a logical and a physical backup
    7. WAL archiving configuration and archive command reliability
    8. Base backups combined with archived WAL for arbitrary recovery targets
  • Streaming Replication and High Availability
    1. Physical streaming replication setup and standby configuration
    2. Asynchronous, synchronous and quorum commit modes and their cost
    3. Hot standby, read scaling and query conflict handling
    4. Replication lag monitoring and the causes of a falling-behind standby
    5. Failover, promotion and split-brain prevention
    6. Automated cluster management with Patroni or repmgr
    7. Hands-on: build a standby, force a failure and promote it under time pressure
  • Logical Replication and Data Distribution
    1. Publications, subscriptions and selective table replication
    2. Logical decoding and how it differs from physical streaming
    3. Cross-version replication and near-zero-downtime migration patterns
    4. Conflict handling, sequence gaps and DDL limitations
    5. Monitoring subscription lag and recovering a broken subscription
    6. Hands-on: replicate a subset of tables between two clusters on different versions
  • Monitoring, Logging and Diagnostics
    1. pg_stat_activity, pg_stat_database and the statistics views that matter
    2. pg_stat_statements for workload level query analysis
    3. Wait events and separating CPU, I/O, lock and network bound problems
    4. Logging configuration, slow query logging and log_line_prefix
    5. Prometheus exporters, Grafana dashboards and pgBadger reporting
    6. Alert thresholds worth setting and the ones that only cause noise
    7. Hands-on: instrument a cluster and triage an unknown performance incident
  • Security Hardening and Compliance
    1. Network exposure, listen addresses and firewall placement
    2. Encryption at rest options and transparent data encryption alternatives
    3. pgaudit for statement level audit trails
    4. Secret management, password policies and credential rotation
    5. Data masking and anonymisation for non-production environments
    6. Mapping controls to ISO 27001, PCI DSS and regional data protection requirements
    7. Hands-on: harden a cluster against a supplied audit checklist
  • Upgrades, Extensions and Day-Two Operations
    1. Minor version patching and the release cadence to plan around
    2. Major version upgrades with pg_upgrade, including the version 18 improvements
    3. Logical replication as a near-zero-downtime upgrade path
    4. Version support lifecycle and planning off end-of-life releases
    5. Managing extensions: pg_stat_statements, pgcrypto, PostGIS, pgvector and others
    6. Operational differences on RDS, Aurora, Azure Database and Cloud SQL
    7. Hands-on: capstone upgrade of a replicated cluster with a documented rollback plan

Hands-on Experience with Tools

Training Delivery Format

Flexible, comprehensive training designed to fit your schedule and learning preferences
Opt-in Certifications
AWS, Scrum.org, DASA & more
100% Live
on-site/online training
Hands-on
Labs and capstone projects
Lifetime Access
to training material and sessions

How Does Personalised Training Work?

Skill-Gap Assessment

Analysing skill gap and assessing business requirements to craft a unique program

1

Personalisation

Customising curriculum and projects to prepare your team for challenges within your industry

2

Implementation

Supplementing training with consulting support to ensure implementation in real projects

3

Why this course

  • Built around failure, not happy paths: Participants deliberately break clusters and recover them, including a full point-in-time restore and a replica promotion.
  • Autovacuum taught properly: Bloat and transaction ID wraparound cause more PostgreSQL incidents than anything else, and both get a dedicated module.
  • Current on PostgreSQL 18: Includes the asynchronous I/O subsystem, OAuth authentication and upgrade improvements introduced in version 18.
  • Cloud and self-managed: Covers self-hosted clusters alongside the operational differences on RDS, Aurora, Azure Database and Cloud SQL.

Training objectives

  • Explain the PostgreSQL process architecture, memory structures and on-disk layout
  • Install, initialise and configure a cluster for a defined workload
  • Manage roles, authentication methods and object level privileges securely
  • Diagnose and control bloat, long transactions and autovacuum behaviour
  • Prevent transaction ID wraparound before it becomes an outage
  • Design and execute a backup strategy including continuous archiving
  • Perform a point-in-time recovery to a specified timestamp
  • Build streaming replication with failover and understand the trade-offs of synchronous modes
  • Use logical replication for selective distribution and near-zero-downtime upgrades
  • Instrument a cluster and diagnose performance problems from evidence
  • Harden a cluster against the controls your auditors will test
  • Plan and execute a major version upgrade with a rollback path

Who will benefit

  • Database administrators new to PostgreSQL or moving from Oracle, SQL Server or MySQL
  • DevOps, platform and site reliability engineers who operate PostgreSQL
  • Backend engineers responsible for their own database infrastructure
  • Cloud engineers managing RDS, Aurora, Azure Database or Cloud SQL instances
  • Technical leads accountable for database availability and recovery objectives

Lead the Digital Landscape with Cutting-Edge Tech and In-House " Techsperts "

Discover the power of digital transformation with train-to-deliver programs from Uptut's experts. Backed by 70,000+ professionals across the world's leading tech innovators.

Frequently Asked Questions

1. What are the pre-requisites for this training?
Faq PlusFaq Minus

The training does not require you to have prior skills or experience. The curriculum covers basics and progresses towards advanced topics.

2. Will my team get any practical experience with this training?
Faq PlusFaq Minus

With our focus on experiential learning, we have made the training as hands-on as possible with assignments, quizzes and capstone projects, and a lab where trainees will learn by doing tasks live.

3. What is your mode of delivery - online or on-site?
Faq PlusFaq Minus

We conduct both online and on-site training sessions. You can choose any according to the convenience of your team.

4. Will trainees get certified?
Faq PlusFaq Minus

Yes, all trainees will get certificates issued by Uptut under the guidance of industry experts.

5. What do we do if we need further support after the training?
Faq PlusFaq Minus

We have an incredible team of mentors that are available for consultations in case your team needs further assistance. Our experienced team of mentors is ready to guide your team and resolve their queries to utilize the training in the best possible way. Just book a consultation to get support.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.