PostgreSQL Administration
PostgreSQL Administration is the work of operating a PostgreSQL server: configuring it, controlling access, maintaining its data, observing it, backing it up, recovering it, and upgrading it. It keeps the database service available and recoverable so applications can use it safely.
itDatabases and data storage | OpenSkills.info
Course pathWalk it in order
Look it upDip in anytime
Go furtherLeaves this page
Don't Panic
Don't Panic - PostgreSQL Administration
PostgreSQL Administration is the subject of this course. PostgreSQL administration is the work around the database, not the SQL inside an application. You run the server, decide who may connect, keep storage healthy, observe what it is doing, and make failure recoverable.
The useful unit of work is a closed loop: clarify the goal and boundaries, gather the inputs the practice requires, make the decision or change, record evidence, and return with owners for the next cycle. Skipping any link leaves teams busy without durable results.
Tooling supports the loop; it does not replace it. Choose tools after the boundary and evidence model are clear. Comparing products without that model produces feature matrices that do not change how the work runs.
Common failure modes include undefined ownership, metrics that count activity instead of outcomes, and irreversible steps taken without a review path. Treat those as design defects in the practice, not as individual heroics to compensate later.
Operators should be able to explain which signals would change a decision this week. If no signal can change the plan, the practice has become ritual. Keep the feedback path short enough that evidence still influences the next cycle.
Name the owners for each stage of the loop before the work scales. Unowned stages become permanent exceptions. Record decisions with enough context that a future operator can tell why a tradeoff was accepted. Prefer fewer, sharper metrics that change behavior over broad dashboards that only describe activity after the fact.
Read the Intro for the core model. Use the Cheatsheet when you need the operating map. Updates tracks official guidance when this course configures an update source; otherwise the practice is settled without a live feed.
Where this skill leads
Relevant careers
See how this topic contributes to broader role-level skill maps.
Sources
- https://www.postgresql.org/about/
Supports
- PostgreSQL identity and the 00-novice.md definition
- Reference link rationale for official PostgreSQL documentation
- https://www.postgresql.org/docs/current/admin.html
Supports
- Scope and organization of PostgreSQL server administration
- 01-intro.md, 02-slides.md, 07-video-script.md, and 06-links.yaml overview
- https://www.postgresql.org/docs/current/runtime-config.html
Supports
- postgresql.conf settings, included files, reload and restart contexts
- Cheatsheet configuration section and related quiz framing
- https://www.postgresql.org/docs/current/client-authentication.html
Supports
- pg_hba.conf matching and authentication behavior
- Intro, slides, cheatsheet, video script, quiz, and link rationale
- https://www.postgresql.org/docs/current/user-manag.html
Supports
- Roles, membership, login attributes, ownership, and SQL privileges
- Intro, slides, cheatsheet, video script, and quiz role content
- https://www.postgresql.org/docs/current/predefined-roles.html
Supports
- pg_monitor and other predefined monitoring roles
- Intro and cheatsheet least-privilege monitoring guidance
- https://www.postgresql.org/docs/current/routine-vacuuming.html
Supports
- MVCC dead row versions, VACUUM, ANALYZE, and autovacuum
- Intro, slides, cheatsheet, video script, quiz, and link rationale
- https://www.postgresql.org/docs/current/backup.html
Supports
- Logical backups, physical base backups, WAL archiving, and point-in-time recovery
- Intro, slides, cheatsheet, video script, quiz, and link rationale
- https://www.postgresql.org/docs/current/app-pgbasebackup.html
Supports
- pg_basebackup scope, standby initialization, and backup progress
- Cheatsheet physical backup commands and related content
- https://www.postgresql.org/docs/current/high-availability.html
Supports
- Physical standby, failover, hot standby, and replication concepts
- Intro, slides, cheatsheet, video script, quiz, and link rationale
- https://www.postgresql.org/docs/current/logical-replication.html
Supports
- Publications, subscriptions, monitoring, restrictions, and security
- Intro, slides, cheatsheet, video script, quiz, and link rationale
- https://www.postgresql.org/docs/current/monitoring.html
Supports
- Statistics views, locks, progress reporting, tracing, and disk usage
- Intro, slides, cheatsheet, video script, quiz, and link rationale
- https://www.postgresql.org/docs/current/monitoring-stats.html
Supports
- pg_stat_activity, pg_stat_database, pg_stat_replication, and progress views
- Cheatsheet monitoring and replication queries
- https://www.postgresql.org/docs/current/pgupgrade.html
Supports
- Major upgrade prerequisites and procedure
- Intro, slides, cheatsheet, video script, quiz, and link rationale
- https://www.postgresql.org/support/versioning/
Supports
- Annual major releases, minor fix releases, and five-year major-version support
- Intro and slides upgrade guidance
- https://github.com/sindresorhus/awesome
Supports
- Discovery path to awesome-postgres
- https://github.com/dhamaniasad/awesome-postgres
Supports
- Selection and categories for every 09-awesome-links.yaml entry
- https://www.pgadmin.org/
Supports
- pgAdmin rationale in 09-awesome-links.yaml
- https://www.pgbouncer.org/
Supports
- PgBouncer rationale in 09-awesome-links.yaml
- https://pgbackrest.org/
Supports
- pgBackRest rationale in 09-awesome-links.yaml
- https://www.pgbadger.org/
Supports
- pgBadger rationale in 09-awesome-links.yaml
- https://patroni.readthedocs.io/
Supports
- Patroni rationale in 09-awesome-links.yaml
- https://github.com/darold/pg_repack
Supports
- pg_repack rationale in 09-awesome-links.yaml
