Expert insights on database management, performance optimization, and reliability engineering from industry professionals
Use PostgreSQL range types (daterange, tstzrange) and exclusion constraints to prevent overlapping bookings and schedules. Includes room booking, multirange types, and GiST index examples.
Configure pgAudit for PostgreSQL SOC2, PCI-DSS, and HIPAA compliance. Covers session vs object auditing, log format, log volume management, and SIEM integration.
Migrate from MySQL to PostgreSQL using pgLoader. Covers schema differences, type casting, application code changes, validation, and zero-downtime migration strategies.
Migrate Oracle to PostgreSQL using ora2pg. Covers NUMBER→NUMERIC, DATE gotchas, PL/SQL→PL/pgSQL conversion, sequences, DUAL, NULL handling, and validation steps.
PostgreSQL WAL retention is a balancing act — too little and standbys fall behind; too much and you risk disk exhaustion. Here's how to configure wal_keep_size and manage replication slots safely.
Configure pgBouncer correctly for your PostgreSQL workload. Compare transaction vs session pooling, size your pool correctly, and monitor pool health in production.
Master PostgreSQL EXPLAIN ANALYZE output: understand node types, cost estimates, actual vs estimated rows, and identify the root cause of slow queries.
Build selective, cross-version PostgreSQL replication with logical replication. Learn publications, subscriptions, conflict handling, and real-world use cases.
Query remote PostgreSQL and MySQL databases from PostgreSQL with Foreign Data Wrappers. Covers postgres_fdw setup, IMPORT FOREIGN SCHEMA, and EXPLAIN pushdown verification.
Survey essential PostgreSQL extensions: pg_stat_statements for query analysis, pg_trgm for fuzzy search, pg_cron for scheduled jobs, pg_buffercache for cache inspection.
PostgreSQL's 5-10MB connection overhead means 500 app servers exhaust your database before a query runs. pgBouncer 2.0 multiplexes thousands of connections into dozens of server connections with improved auth_query and TLS.
Use PostgreSQL CTEs and recursive queries for category trees, graph traversal, and complex aggregations. Covers MATERIALIZED vs NOT MATERIALIZED and cycle prevention.
Get the latest database insights and expert tips delivered to your inbox.
Subscribe to our RSS feed for instant updates.
RSS Feed