| From: | mahamood hussain <hussain(dot)ieg(at)gmail(dot)com> |
|---|---|
| To: | Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
| Subject: | Seeking Advice: PostgreSQL Performance Troubleshooting Without Third-Party Tools |
| Date: | 2026-04-10 17:48:54 |
| Message-ID: | CAGc_7HnrQaAna-6=jCyN+ZA1MnQ_BqJKZfWcfR8K1wKxunBVQA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Hi Team,
We are currently working on a migration project from DB2 to PostgreSQL.
Post-migration, we’re observing several performance issues such as
long-running queries and occasional instance crashes. It also appears that
some application-side workloads may not be optimized for PostgreSQL.
From a DBA perspective, I’m looking to proactively identify problem
areas—such as:
- Long-running queries
- Jobs/stored procedures consuming high temp space
- Queries resulting in sequential scans due to missing indexes
- Lock waits, deadlocks, and memory-heavy operations
We already have key parameters enabled (pg_stat_statements, pg_buffercache,
etc.), and PostgreSQL is generating logs in .csv format. However, the main
challenge is efficiently analyzing these logs and identifying performance
bottlenecks at scale (databases ranging from ~1TB to 15TB).
We currently don’t have third-party monitoring tools like Datadog, so I’m
looking for *recommendations on free or lightweight tools* and best
practices to:
- Parse and analyze PostgreSQL logs (especially CSV logs)
- Identify top resource-consuming queries and patterns
- Correlate temp usage, memory pressure, and query behavior
- Generate actionable insights for the engineering team
Any suggestions on tools, scripts, or approaches that have worked well in
similar large-scale environments would be greatly appreciated.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ron Johnson | 2026-04-10 18:23:50 | Re: Seeking Advice: PostgreSQL Performance Troubleshooting Without Third-Party Tools |
| Previous Message | Eduar Flow | 2026-04-08 04:34:03 | Re: How to setup Multi-master replication on postgresql 18 |