What is pganalyze and what is it used for?
pganalyze is a performance monitoring and tuning tool for PostgreSQL databases, used to find slow queries, poor execution plans, missing indexes and VACUUM problems.
It works with a collector that reads statistics and logs from the database and sends them to the service. The documentation lists Amazon RDS and Aurora, Azure Database for PostgreSQL (Flexible Server), Google Cloud SQL and AlloyDB, and Heroku Postgres as officially supported environments, plus instructions for self-managed servers.
The product covers four areas. Query Advisor analyzes EXPLAIN plans in the background and suggests query rewrites. Index Advisor recommends indexes from the whole workload and hands you the CREATE INDEX command. VACUUM Advisor suggests per-table autovacuum tuning. Log Insights turns the Postgres log into structured data.
There is also an Enterprise Server version, which runs behind the customer's firewall, for regulated environments or those without external access.






