The Data Transformation Company

Data Architecture, Engineering and Operations for SQL, NoSQL, NewSQL, Cloud Native Data Platforms, Analytics and AI

  • MinervaDB
    • GCC Data Leadership
    • For CTOs
    • For CIOs
    • Essential Remote DBA
  • Engineering
    • Fractional CDO
    • Data Science & AI
    • Cloud FinOps
    • Databricks
    • Snowflake
    • Microsoft Azure
    • AWS
    • Google Cloud
    • AI and Vector Data
    • MySQL
    • PostgreSQL
    • PostgreSQL on Kubernetes
    • SQL Server Consulting
    • MariaDB Consulting
    • MongoDB Consulting
    • Ticketing System
  • Support
    • Enterprise Support
    • 24/7 Emergency DBA
    • PostgreSQL Support
    • MySQL Support
    • MariaDB Support
    • SQL Server Support
    • MongoDB Support
    • NoSQL
    • Kafka Support
    • Cloud Native
    • Analytics & DWH
  • Remote DBA
    • 24*7 Emergency DBA
    • 24/7 Remote DBA Works
    • Performance Optimization
    • PostgreSQL DBA
    • 24/7 MySQL DBA
    • 24/7 MariaDB DBA
    • NoSQL Services
    • MongoDB Services
  • Blog
    • Shiv Iyer Talks
    • MinervaDB Blog
  • Careers
  • Contact
    • MinervaDB Contacts
    • Book an Appointment
    • MinervaDB FAQ
    • MinervaDB Privacy Policy
    • Cookie Policy
  • Facebook
    • Data Ops. Geek
  • Twitter
    • @MinervaDB
    • @ShivIyer
    • @ChistaDATA
  • LinkedIn
    • Shiv Iyer
  • GitHub
    • @ShivIyer
HomePostgreSQL Performance

PostgreSQL Performance

PostgreSQL Support diagram of the query lifecycle from parse to execute with planner inputs, pg_stat_statements instrumentation and a wait event triage table
MinervaDB

Optimizing SQLs in PostgreSQL 18.4: 12 Proven Techniques for Peak Performance

A practical field manual for optimizing SQLs in PostgreSQL 18.4: EXPLAIN with buffers, B-tree skip scans, asynchronous I/O, statistics, join tuning, six animated diagrams and seven premium diagnostic scripts.
[...]
PostgreSQL Replication Lag
PostgreSQL

Troubleshooting PostgreSQL Streaming Replication Lag in Production

PostgreSQL replication lag troubleshooting: measure send, flush and replay lag via pg_stat_replication, isolate the bottleneck stage, and fix it.
[...]
PostgreSQL Index Bloat
Indexing

Detecting and Fixing PostgreSQL Index Bloat with REINDEX CONCURRENTLY

PostgreSQL index bloat: measure it with pgstattuple, understand why B-trees inflate, and rebuild online with REINDEX CONCURRENTLY without downtime.
[...]
PostgreSQL lock contention featured image for the MinervaDB pg_locks deep dive, showing a three-step blocking chain
Database Performance

Resolving PostgreSQL Lock Contention: A pg_locks Deep Dive

PostgreSQL lock contention resolved: read pg_locks correctly, trace blocking chains, fix deadlocks, and design DDL that never queues production.
[...]
PostgreSQL Wait Events
Monitoring

PostgreSQL Wait Event Analysis: Finding Bottlenecks with pg_stat_activity

PostgreSQL wait events explained: sample pg_stat_activity, interpret Lock, LWLock, IO and Client waits, and turn wait profiles into targeted fixes.
[...]
PostgreSQL Autovacuum Tuning
PostgreSQL

Diagnosing Autovacuum Lag and Table Bloat in PostgreSQL Production Systems

PostgreSQL autovacuum tuning for production: diagnose autovacuum lag, measure table bloat, fix per-table thresholds, and prevent wraparound risk.
[...]
PgBouncer performance tuning
Database Performance Tuning

PgBouncer Pool Saturation: Diagnosing Connection Bottlenecks in PostgreSQL

PgBouncer performance tuning for PostgreSQL: diagnose pool saturation with SHOW POOLS, read cl_waiting correctly, size pools, and fix bottlenecks.
[...]
PostgreSQL Slow Query Troubleshooting
PostgreSQL

Troubleshooting Slow PostgreSQL Queries with EXPLAIN ANALYZE and pg_stat_statements

PostgreSQL slow query troubleshooting with EXPLAIN ANALYZE and pg_stat_statements: find, diagnose, and fix slow queries in production, step by step.
[...]
CloudNativePG
Cloud Databases

Setting Sail: Installing CloudNativePG (CNPG) for PostgreSQL on Kubernetes

Running PostgreSQL on Kubernetes used to feel like a daunting challenge reserved for platform engineering teams with deep operational expertise. That reality has changed. With CloudNativePG (CNPG), deploying a production-grade PostgreSQL cluster on Kubernetes is [...]
PostgreSQL 18 Performance
MinervaDB

PostgreSQL 18 Performance Configuration Matrix: New Parameters and MinervaDB Tuning Recommendations

The release of PostgreSQL 18 introduces one of the most consequential rounds of configuration changes the project has shipped in years. For database engineers and site reliability teams, understanding PostgreSQL 18 performance tuning is no [...]

Posts pagination

1 2 … 33 »

Search MinervaDB Blog 🔎

Tell us how we can help!

Loading

★Read this WARNING★

* Everything changes over time – Our blogs/posts and comments changes over time, That’s how it should be! Whatever we comment from MinervaDB Inc. Teams (including Shiv Iyer) and other stakeholders or guest bloggers posted here are never permanent, These things worked for us. But, there is no guarantee they will work for you too, When using the recommendations from ChistaDATA or MinervaDB or MinervaSQL or any other online resources / Google,  You must test the advice before applying them to your production systems, and always invest for a robust Database DR solution, Thank you for understanding. 

Recent Posts ✏

  • Optimizing SQLs in PostgreSQL 18.4: 12 Proven Techniques for Peak Performance
  • Fractional Chief Data Officer: 7 Proven Real-Time Analytics Wins
  • MariaDB 12.3 LTS: Advances and Building Fault-Tolerant MariaDB Infrastructure at Internet Scale
  • Retail Data Analytics: Ultimate 2026 Modern Retail Stack
  • Milvus Observability and Monitoring Infrastructure: Performance, Scalability, and High Availability

☎ Contact Global Sales (24*7)

📞 (844) 588-7287 (USA)

📞 (415) 212-6625 (USA)

 

☎ TOLL FREE PHONE (24*7)

(844) 588-7287 

📌 Our Support Channels (24*7)

✔ Email
✔ IRC
✔ Phone
✔ Ticketing System

🚩 MinervaDB FAX

+1 (209) 314-2364

Corporate Address: California

MinervaDB Inc.
440 N BARRANCA AVE #9718 COVINA,
CA 91723
════════════════════════════════
Email: contact@minervadb.com

Corporate Address: Delaware

MinervaDB Inc.,
PO Box 2093 PHILADELPHIA PIKE #3339
CLAYMONT, DE 19703
════════════════════════════════

Email: contact@minervadb.com

📨 Contact MinervaDB (24*7)

 Email – contact@minervadb.com 

(We are online 24*7)

☛ Contact Shiv Iyer
▬▬▬▬▬▬▬▬▬▬▬▬▬
 Email – shiv@minervadb.com

HOW CAN WE HELP?

We are committed to building Optimal, Scalable, Highly Available, Reliable, Fault-Tolerant and Secured Database Infrastructure Operations for WebScale to our customers globally

📨 Contact MinervaDB Support (24*7)

✔ Support (24*7) – support@minervadb.com

✔ Google Hangouts – support@minervadb.com

(for emergency support and quick response)

💲Flexible Payment

✔ Wire

✔ PayPal

✔ Credit / Debit Cards

✔ Cheque

✔ Cash

★ Discounts ★

Discounts are applicable only for multi-year contracts / long-term engagements, We don’t hire low-quality and cheap rookie consultants to manage your mission-critical Database Systems Infrastructure Operations and so our consulting rates are competitive. Being a virtual corporation (no physical offices anywhere in the world), whatever you pay go directly to our consultant’s fee. It’s impossible for us to offer you low-cost consulting, support and remote DBA services with elite-class team, Thanks for understanding and doing business with MinervaDB.

PostgreSQL is a registered trademark of the PostgreSQL Community Association. ClickHouse is a registered trademark of ClickHouse, Inc. MongoDB is a registered trademark of MongoDB, Inc. Couchbase is a registered trademark of Couchbase, Inc. Redis is a registered trademark of Redis Ltd. Apache Cassandra is a registered trademark of the Apache Software Foundation. Milvus is a registered trademark of Zilliz. MinIO is a registered trademark of MinIO, Inc. Amazon Redshift and Amazon Aurora are registered trademarks of [Amazon.com](http://amazon.com/), Inc. Google Cloud is a registered trademark of Google LLC. Snowflake is a registered trademark of Snowflake Inc. Databricks is a registered trademark of Databricks, Inc. MySQL and InnoDB are registered trademarks of Oracle Corporation. MariaDB is a trademark of MariaDB Corporation Ab. All other trademarks are the property of their respective owners. Copyright © 2010–2026. All Rights Reserved by MinervaDB®.

Table of Contents

×
  • Why PostgreSQL 18 Performance Tuning Matters
  • The PostgreSQL 18 Performance Configuration Matrix
  • Asynchronous I/O: The Headline PostgreSQL 18 Performance Feature
    • Configuring io_method and io_workers
    • effective_io_concurrency and maintenance_io_concurrency
  • Memory Parameters and PostgreSQL 18 Performance
    • shared_buffers
    • work_mem
  • Vacuum and Autovacuum Changes in PostgreSQL 18
    • Eager Freezing with vacuum_max_eager_freeze_failure_rate
    • autovacuum_worker_slots and Dynamic Workers
    • autovacuum_vacuum_max_threshold
  • Query Planner and Parallelism Improvements
    • Self-Join Elimination
    • Parallel Query Tuning
  • Observability: Tuning What You Can Measure
  • A Practical PostgreSQL 18 Tuning Workflow
  • Common PostgreSQL 18 Configuration Mistakes to Avoid
  • Frequently Asked Questions About PostgreSQL 18 Performance
    • Should I enable io_uring immediately after upgrading to PostgreSQL 18?
    • How much should I increase work_mem in PostgreSQL 18?
    • Does PostgreSQL 18 change how autovacuum works?
  • Conclusion: Get PostgreSQL 18 Performance Right from Day One
  • Deep Dive: Sizing the Asynchronous I/O Subsystem for Your Workload
  • Checkpoint, WAL, and Background Writer Interactions
  • Connection Management and Its Effect on Memory Parameters
  • Storage and Filesystem Considerations Under PostgreSQL 18
→ Index