
PostgreSQL DBA Course
Master every critical responsibility of a production PostgreSQL DBA, from installation and security to replication, backup, and query optimization. This course delivers hands-on lab work across real-world scenarios so you build skills you can apply immediately. Whether you're stepping into a DBA role or leveling up an existing one, this is the most complete PostgreSQL administration training available.
What your team will master:
You will learn how to configure and tune PostgreSQL for production workloads, implement role-based access control and row-level security, and set up streaming and logical replication with automated failover. The course covers backup strategies using pg_dump and pg_basebackup, WAL archiving, and point-in-time recovery procedures you will execute end-to-end. You will diagnose slow queries by reading execution plans, analyzing lock contention, and using pg_stat_statements. Routine maintenance topics include autovacuum tuning, bloat management, and transaction ID wraparound prevention. You will also explore partitioning, extensions like PostGIS and TimescaleDB, monitoring with Prometheus and Grafana, and major version upgrade paths.
How your team studies in practice PostgreSQL DBA Course
How your team practices PostgreSQL DBA Course
Professionals from these companies study at Dedika









Course content
8 Chapters • 40 LessonsDuration between 4 and 360 hours (you decide)
Chapter 1HideHide detailsSee detailsPostgreSQL Architecture and Installation
PostgreSQL Architecture and Installation
Lesson 1 • Starting, Stopping, and Reloading the Server
Covers pg_ctl, systemd service management, and signal-based control. Students practice safe server lifecycle operations used in every DBA workflow.
Lesson 2 • Relational Database Core Concepts
Covers RDBMS principles, ACID properties, and how PostgreSQL fits the relational model. Provides the conceptual baseline for all subsequent administration topics.
Lesson 3 • Directory Layout and Key Files
Maps the data directory structure, configuration files, and log locations. Familiarity with file layout is essential for configuration and recovery tasks.
Lesson 4 • PostgreSQL Process and Memory Architecture
Examines postmaster, backend processes, shared buffers, and WAL. Understanding these internals guides tuning and troubleshooting decisions throughout the course.
Lesson 5 • Installing PostgreSQL on Linux
Guides package-based and source installation on Linux systems. Students produce a running, version-verified PostgreSQL instance as the lab environment.
Chapter 2HideHide detailsSee detailsDatabase Objects and SQL Fundamentals
Database Objects and SQL Fundamentals
Lesson 1 • Databases, Schemas, and Tablespaces
Explains the three-level namespace hierarchy and tablespace storage mapping. Proper namespace design prevents object conflicts and supports storage management.
Lesson 2 • Sequences and Identity Columns
Explains sequence objects and the GENERATED AS IDENTITY syntax for surrogate keys. Students configure auto-incrementing columns correctly for production schemas.
Lesson 3 • Views, Materialized Views, and Functions
Introduces read-only and updatable views, materialized view refresh, and basic PL/pgSQL functions. These objects encapsulate logic and simplify application interfaces.
Lesson 4 • Index Types and Usage
Surveys B-tree, Hash, GIN, GiST, and BRIN indexes and their appropriate use cases. Index selection directly affects query performance covered in later chapters.
Lesson 5 • Tables, Data Types, and Constraints
Covers DDL for tables, PostgreSQL-specific data types, and declarative constraints. Correct type and constraint selection enforces data integrity at the storage layer.
Chapter 3HideHide detailsSee detailsUser Management and Access Control
User Management and Access Control
Lesson 1 • Object-Level Privilege Management
Explains GRANT and REVOKE on tables, schemas, sequences, and functions. Students apply the principle of least privilege across a realistic multi-schema database.
Lesson 2 • Roles and Role Attributes
Covers CREATE ROLE, LOGIN, SUPERUSER, and CREATEDB attributes. Role design is the foundation of every privilege and authentication decision in PostgreSQL.
Lesson 3 • Row-Level Security Policies
Introduces RLS policy creation, USING and WITH CHECK clauses, and policy testing. RLS enforces data isolation without requiring application-layer filtering logic.
Lesson 4 • Auditing and Security Hardening
Covers pgaudit extension, connection logging, and hardening parameters. Students produce an audit-ready configuration aligned with common security standards.
Lesson 5 • Authentication Methods in pg_hba.conf
Covers trust, md5, scram-sha-256, peer, and certificate authentication methods. Correct pg_hba.conf configuration is critical for both security and connectivity.
Chapter 4HideHide detailsSee detailsConfiguration and Performance Tuning
Configuration and Performance Tuning
Lesson 1 • Query Planner Cost Parameters
Explains seq_page_cost, random_page_cost, cpu_tuple_cost, and statistics targets. Accurate cost parameters enable the planner to choose optimal execution plans.
Lesson 2 • WAL and Checkpoint Tuning
Covers wal_buffers, checkpoint_completion_target, max_wal_size, and fsync settings. WAL tuning balances write throughput against crash-recovery durability guarantees.
Lesson 3 • Memory Configuration Parameters
Explains shared_buffers, work_mem, maintenance_work_mem, and effective_cache_size. Correct memory allocation is the highest-impact tuning lever for most workloads.
Lesson 4 • OS-Level Tuning for PostgreSQL
Addresses kernel parameters, I/O scheduler selection, NUMA, and transparent huge pages. OS configuration often limits gains achievable through PostgreSQL parameters alone.
Lesson 5 • Connection and Resource Management
Covers max_connections, connection pooling with PgBouncer, and resource groups. Uncontrolled connections exhaust memory and degrade throughput under load.
Chapter 5HideHide detailsSee detailsRoutine Maintenance and VACUUM
Routine Maintenance and VACUUM
Lesson 1 • VACUUM and VACUUM FULL
Covers manual VACUUM, VACUUM FULL, and VACUUM ANALYZE syntax and effects. Students distinguish when each form is appropriate without causing unnecessary locking.
Lesson 2 • MVCC and Table Bloat Mechanics
Explains how MVCC creates dead tuples and page bloat over time. Understanding MVCC is prerequisite to designing effective VACUUM and autovacuum strategies.
Lesson 3 • Transaction ID Wraparound Prevention
Covers XID age monitoring, autovacuum_freeze_max_age, and emergency VACUUM. Wraparound failure causes total database unavailability and must be actively prevented.
Lesson 4 • Index Maintenance and REINDEX
Covers index bloat detection, REINDEX CONCURRENTLY, and pg_stat_user_indexes. Regular index maintenance preserves query performance without requiring table rewrites.
Lesson 5 • Autovacuum Configuration and Tuning
Explains autovacuum_vacuum_scale_factor, cost delay, and per-table storage parameters. Properly tuned autovacuum eliminates most manual maintenance requirements.
Chapter 6HideHide detailsSee detailsBackup, Recovery, and Point-in-Time Restore
Backup, Recovery, and Point-in-Time Restore
Lesson 1 • Logical Backup with pg_dump
Covers pg_dump formats, pg_dumpall, parallel dumps, and selective restore with pg_restore. Logical backups enable object-level recovery and cross-version migration.
Lesson 2 • Physical Backup with pg_basebackup
Explains streaming base backups, checkpoint modes, and WAL inclusion options. Physical backups are the foundation of PITR and standby server provisioning.
Lesson 3 • Point-in-Time Recovery Procedure
Guides restore from base backup, recovery.conf or postgresql.conf parameters, and target specification. Students execute and verify a complete PITR scenario end-to-end.
Lesson 4 • WAL Archiving Configuration
Covers archive_mode, archive_command, and archive_cleanup_command setup. Continuous WAL archiving enables recovery to any point after the base backup.
Lesson 5 • Backup Validation and Retention Policy
Covers pg_verifybackup, restore testing schedules, and WAL retention sizing. Unvalidated backups provide false confidence and must be tested regularly.
Chapter 7HideHide detailsSee detailsReplication and High Availability
Replication and High Availability
Lesson 1 • Failover and Patroni-Based HA
Covers manual promotion, pg_ctl promote, and automated HA with Patroni and etcd. Students simulate a primary failure and verify automatic failover completes correctly.
Lesson 2 • Logical Replication Fundamentals
Explains publications, subscriptions, and row filtering for selective replication. Logical replication supports cross-version upgrades and partial data distribution.
Lesson 3 • Streaming Replication Setup
Covers replication slots, pg_hba.conf replication entries, and primary_conninfo. Students build a working streaming standby from a live primary server.
Lesson 4 • Monitoring Replication Lag
Explains pg_stat_replication, pg_stat_wal_receiver, and LSN-based lag calculation. Lag monitoring is essential for SLA compliance and failover decision-making.
Lesson 5 • Synchronous Replication and Quorum
Covers synchronous_standby_names, FIRST and ANY quorum modes, and durability trade-offs. Synchronous replication eliminates data loss at the cost of write latency.
Chapter 8HideHide detailsSee detailsQuery Optimization and Advanced Diagnostics
Query Optimization and Advanced Diagnostics
Lesson 1 • Statistics and Planner Accuracy
Covers pg_statistic, ANALYZE, extended statistics, and histogram interpretation. Stale or insufficient statistics cause the planner to choose suboptimal execution plans.
Lesson 2 • Join Strategies and Plan Hints
Explains nested loop, hash join, and merge join selection criteria and forcing techniques. Join strategy mismatches are a leading cause of severe query performance regressions.
Lesson 3 • Identifying Slow Queries with pg_stat_statements
Covers pg_stat_statements installation, key columns, and query normalization. Aggregate workload data reveals the highest-impact queries to prioritize for optimization.
Lesson 4 • Reading EXPLAIN and EXPLAIN ANALYZE
Decodes plan nodes, cost estimates, actual rows, and timing output from EXPLAIN. Accurate plan reading is the prerequisite skill for every query optimization technique.
Lesson 5 • Lock Contention and Deadlock Analysis
Explains lock modes, pg_locks, pg_stat_activity, and deadlock log interpretation. Lock contention causes latency spikes and must be diagnosed before tuning queries.
Your valid completion certificate
This course is for you:
Backend developers: ready to take responsibility for the databases powering their applications.
Linux system administrators: expanding their skill set into database infrastructure management.
Junior DBAs: seeking structured depth beyond what on-the-job exposure has provided.
DevOps engineers: needing to manage PostgreSQL clusters alongside their infrastructure automation work.
Career changers: moving from spreadsheet-heavy roles into data engineering or database administration.
Data analysts: wanting to understand the server layer behind the queries they run daily.
Related Courses
FAQs
Who is Dedika?
Is the certificate valid in the Philippines?
Are the courses free?
What is the course workload?
What are the courses like?
How do the courses work?
What is the duration of the courses?
What is the cost or price of the courses?
What is an EAD or online course and how does it work?
PDF Course



















