Expert insights on database management, performance optimization, and reliability engineering from industry professionals
Decode PostgreSQL wait events to diagnose lock contention, I/O bottlenecks, and CPU pressure in production
How to use pg_stat_statements to identify slow queries, analyze execution stats, and optimize PostgreSQL performance
Five counterintuitive database performance truths every engineer gets wrong — over-indexing costs, N+1 queries, connection pool sizing, replica reads, and EXPLAIN limitations.
Use MySQL Performance Schema to find top queries by total time, detect blocking transactions in real time, audit index usage, and analyze memory allocation.
Master pg_stat_statements for PostgreSQL query analysis. Find top queries by total time, detect plan instability via stddev, identify I/O-heavy queries, and track WAL generation.
Right-size your PostgreSQL connection pool using the (cores*2)+1 formula. PgBouncer configuration, per-user limits, pool saturation monitoring, and transaction mode pitfalls.
Guide the PostgreSQL query planner with enable_xxx settings, pg_hint_plan extension, and extended statistics for correlated columns. Fix bad plans without rewriting queries.
Benchmark MySQL with sysbench OLTP workloads. Covers setup, read/write and read-only suites, interpreting TPS and 95th percentile latency, and comparing before/after changes.
Use pgbench to benchmark PostgreSQL before and after configuration changes. Covers scale factor selection, TPC-B and read-only workloads, custom SQL scripts, and latency percentiles.
Enable and tune PostgreSQL parallel query for analytical workloads. Covers max_parallel_workers settings, PARALLEL SAFE functions, JIT compilation, and execution plan verification.
Connection exhaustion is one of the most common causes of database downtime at scale. Here is how production teams use PgBouncer and ProxySQL to handle 10,000+ concurrent connections.
Diagnose and fix PostgreSQL query plan cache issues. Covers generic vs custom plans, plan_cache_mode setting, DEALLOCATE, statistics targets, and pg_stat_statements variance detection.
Get the latest database insights and expert tips delivered to your inbox.
Subscribe to our RSS feed for instant updates.
RSS Feed