Expert insights on database management, performance optimization, and reliability engineering from industry professionals
Use pg_repack to reclaim PostgreSQL table bloat without the exclusive lock of VACUUM FULL. Covers installation, table vs index repack, disk space requirements, and throttling.
When your events table hits 800 million rows, PostgreSQL declarative partitioning becomes essential. Learn range and hash partitioning, automated management with pg_partman, and zero-downtime archival.
Choose jsonb over json for PostgreSQL: GIN indexing, containment operators, path queries, and update operations with || and jsonb_set. Includes performance comparison.
Implement PostgreSQL full-text search with tsvector columns, GIN indexes, and ts_rank scoring. Covers phrase search, weighted fields, and ts_headline snippets.
Implement least-privilege access in PostgreSQL with role hierarchies, ALTER DEFAULT PRIVILEGES, schema separation, and privilege auditing queries.
Configure PostgreSQL TLS with self-signed or CA-signed certificates. Force TLS via pg_hba.conf, set minimum TLS version, and verify server certs from clients.
Implement PostgreSQL Row Level Security for multi-tenant isolation. Covers USING clauses, WITH CHECK policies, tenant context via set_config, and performance indexing.
pgvector 0.8 delivers significant HNSW indexing improvements and new distance functions. Here is what changed and how to take advantage of it in production.
Set up PgBouncer in transaction pooling mode to handle thousands of PostgreSQL connections. Configuration, monitoring with SHOW POOLS, and common pitfalls.
Configure PostgreSQL logical replication for selective table sync and zero-downtime major version upgrades. Covers publications, subscriptions, and replication slot monitoring.
PostgreSQL 17 is one of the most impactful releases in years. Incremental backups, vacuum improvements, logical replication failover slots, and planner enhancements are all production-critical changes.
pg_dump takes 4 hours on your 200GB database. pg_basebackup takes 20 minutes and enables point-in-time recovery to any second. Learn to set up WAL archiving, take base backups, and execute a PITR restore.
Get the latest database insights and expert tips delivered to your inbox.
Subscribe to our RSS feed for instant updates.
RSS Feed