Step by step guide to becoming a modern PostgreSQL DB Administrator in 2021
The intent of this guide is to give you an idea about the DBA landscape and to help guide your learning if you are confused. The roadmap is highly opinionated — neither, knowing everything listed in the roadmap, nor the order of items given in the roadmap is required to be followed in order to be a DBA.
Get basic understanding of Postgres key terms and basic RDBMS concepts.
Get practical skills of how to set up and run Postgres to get a working environment for further learning.
docker
.systemd
(start, stop, restart, reload).pg_ctl
, or OS-specific tools (like pg_ctlcluster
).psql
.Get practical skills of how to create and manipulate database objects and how to execute queries using psql
client.
COPY
.Get understanding of the main aspects of how Postgres could be configured. Deep understanding of Postgres internals is not yet necessary here.
Get understanding about basic security concepts and common ways of how to deploy secure configurations.
Get practical skills of how to deploy, extend, maintain and support Postgres installations and 3rd-party Postgres ecosystem software.
pg_dump
, pg_dumpall
, pg_restore
, pg_basebackup
barman
, pgbackrest
, pg_probackup
, WAL-G
pg_upgrade
Pgbouncer
Pgpool-II
, Odyssey
, Pgagroal
Prometheus
, Zabbix
, other favourite monitoring solutionPatroni
Repmgr
, Stolon
, pg_auto_failover
, PAF
Haproxy
, Keepalived
, Consul
, Etcd
Kubernetes
: Simple StatefulSet
setup, HELM
, operatorsGet practical skills, learn automation tools and automate existing routine tasks.
Bash
, Python
, Perl
, etc)Ansible
, Salt
, Chef
, Puppet
Learn theory and get practical skills of how applications should work with Postgres
liquibase
, sqitch
, language-specific toolsSkytools PGQ
Here is important to continuously extend and develop existing knowledge about Postgres.
Get basic understanding about troubleshooting tools and get practical skills of how to detect and resolve problems.
top
(htop
, atop
)sysstat
iotop
pg_stat_activity
pg_stat_statements
pgcenter
- personal recommendationpgBadger
grep
, awk
, sed
, etc.gdb
, strace
, perf-tools
, ebpf
, core dumpsGet understanding and practical skills of how to optimize SQL queries.
Get deeper understanding of Postgres use cases and where Postgres is suitable and where is not.
Greenplum
, Timescaledb
, Citus
, Postgres-XL
, etc.Get involved to Postgres community and contribute to Postgres; be a useful member of Postgres, and the open source community; use personal experience to help other people.
The project is OpenSource, 7th most starred project on GitHub and is visited by hundreds of thousands of developers every month.
A considerable amount of my time is spent doing unpaid community work on things that I hope will help humanity in some way. Your sponsorship helps me continue to produce more open-source and free educational material consumed by hundreds of thousands of developers every month.
Subscribe yourself to get updates, new guides, videos and roadmaps in your inbox.
Free subscription for updates
Support the project by paying as little as 5$ per month