PostgreSQL
PostgreSQL#
This section documents database administration, performance tuning, and schema design for PostgreSQL clusters.
๐ Core Administration#
- Configuration: Tuning
postgresql.conf(shared_buffers, work_mem) for hardware resources. - Maintenance: Vacuum strategies, index bloat management, and analyzing statistics.
- Security: Role-based access control (RBAC), pg_hba.conf rules, and TLS encryption.
๐ Operations & HA#
- Replication: Streaming replication setup, logical replication, and failover management (Patroni/Repmgr).
- Backup/Restore: Point-in-time recovery (PITR) using tools like pgBackRest or Barman.
- Extensions: Management of extensions like PostGIS or pg_stat_statements.
๐ External Resources#
- PostgreSQL Documentation - Official reference manual.
- PGTune - Configuration calculator for hardware sizing.