Some Bad Practices I've Encountered, and Their Fixes
summary
Covers common PostgreSQL administration failures (untested backups leaving years of WAL files, unsafe VM snapshots that corrupt data, ad hoc packaging, disabled autovacuum) and concrete fixes: automate and test restores, use proven backup tools like barman or pgBackRest, reclaim space with pg_repack, separate replication from backup, and apply regular minor PostgreSQL updates.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 1:26Root cause analysis
- 3:10Installation errors and complexity
- 4:56Untested backups and replication
- 7:46Not Invented Here syndrome
- 10:01Outdated updates and versions
- 13:09Full filesystem and cleanup
- 16:24Autovacuum and performance
- 17:49Replication and high availability
- 20:21Virtualization and data
- 22:08Public schema and modeling
- 25:17Data types and optimization
- 27:45Stored procedures and KISS
- 29:54Large objects and maintenance
- 30:37Identifiers and normalization
- 32:02Portability and engine specifics
- 33:05DBA role and collaboration
- 35:14Consulting experts
- 36:29Q&A
