Database performance guides grounded in workload decisions.
Use these guides to frame the evidence and trade-offs behind a production change. Each one ends with the checks to run on your own system.
Use these guides to frame the evidence and trade-offs behind a production change. Each one ends with the checks to run on your own system.
Diagnose blocking, indexing and physical-design problems from production evidence before changing the schema. Related: PostgreSQL performance investigation.
pg_stat_statements to rank, auto_explain to capture the real plan, EXPLAIN ANALYZE to measure, then validate.
Lab-tested · Newworker cut a cold sequential scan by a third; io_uring won on a bitmap scan. How to measure it on your storage.
Lab-testedRank statements by total time, diff snapshots and read buffer and temp signals before changing anything.
Lab-tested · NewAutovacuum ran four times and removed nothing while one session sat idle in transaction. Find the xmin blocker.
Lab-tested · NewRaising work_mem 64 times removed every spill and saved at most 8%. Measure the spill cost before changing memory.
Lab-tested · NewThe real warning and stop error, why VACUUM FREEZE did not help, and the recovery steps that did.
LockingLock modes, advisory locks and deadlocks, plus how to find the session at the head of a blocking chain.
IndexingCompare physical correlation, lossy rechecks and ordered access on the real query.
PartitioningRange, list and hash partitioning; pruning, retention and key constraints before migrating a table.
Physical designMeasure heap locality against rewrite time, disk space and the ACCESS EXCLUSIVE lock.
ArchitectureFDW and Citus approaches, shard keys, rebalancing and cross-shard work.
DiagnosisWhy a plausible query recommendation can still be unsafe without workload context.
Version deadlines on RDS, Aurora and community PostgreSQL, and how to plan an upgrade that does not regress performance. Related: PostgreSQL upgrade readiness.
Inventory, blockers, baseline, rehearsal, cutover and validation for RDS, Aurora and self-managed PG14.
RDS · Aurora · NewBilling from 1 March 2027 per vCPU-hour on every primary, standby and replica. How to list and price yours.
Lab-tested · NewReal PG14 to PG18 output: checksum mismatch, prepared transactions and reg* columns, and what the check misses.
Lab-tested · NewThe check passed with a CDC slot present; after the upgrade it was gone. RDS and Aurora block instead.
RDS · AuroraIn-place versus Blue/Green, and the logical replication limits that invalidate a green environment.
Lab-testedA PG14 to PG17 pg_upgrade lost optimizer statistics and a join went from 222 ms to 904 ms.
RDS · Oct 2026Minor-version deadlines that arrive before the PG14 major-version dates, and how to check your instances.
End of lifeCurrent dates and the upgrade-readiness sequence.
Recall, latency, filtering and memory trade-offs when vector search runs inside PostgreSQL. Related: pgvector performance review.
IVFFlat build overflow in 0.8.6 and earlier. Version checks, who could trigger it, and what the upgrade did to indexes.
Lab-tested · NewWhy HNSW plus a WHERE filter returned 0 of 10 rows, and measured fixes from iterative scans to partial indexes.
IndexingRecall, latency, memory, build cost and filtering trade-offs.
ArchitectureFrom a FastAPI demo to measured recall, tenant filtering and latency.
Concurrency and performance guides beyond PostgreSQL. SQL Server, Snowflake and analytical workloads are covered on their capability pages. Related: All capabilities.
One cached plan read 9 pages for one customer and 900,524 for another. Query Store diagnosis and measured fixes.
Snowflake · NewIdle credits, spills, pruning and queuing from ACCOUNT_USAGE decide which one costs less for your workload.
SQL Server · MSSQLServer.dev ↗Window functions, CTEs, isolation levels, row versioning, temporal tables and change tracking, on Kiran's SQL Server blog.
MongoDBWiredTiger lock modes, versioning, expiring lock fields and transaction retries.
SQL ServerQuery Store, plan regressions, blocking chains and ORM implicit conversions.
SnowflakeQuery history, warehouse sizing, pruning, spills and workload isolation.