Package: postgresql-18-pg-stat-plans Source: pg-stat-plans Version: 2.1.0-1.pgdg22.04+1 Architecture: amd64 Maintainer: Debian PostgreSQL Maintainers Installed-Size: 262 Depends: postgresql-18, libc6 (>= 2.14), libzstd1 (>= 1.4.0) Homepage: https://github.com/pganalyze/pg_stat_plans Priority: optional Section: database Filename: pool/main/p/pg-stat-plans/postgresql-18-pg-stat-plans_2.1.0-1.pgdg22.04+1_amd64.deb Size: 91384 SHA512: 53821b7bf1faffc6e085b30abc26e68b78d99becad93ed28b759b51d42c44417e45f19eceee821ff828d334d1d6efaf3c818e634a386aa77ecfc698d729e21b0 SHA256: 132da4f78ec74c016abd199bd2e8b1a83342314e6ad85d7a7376e1b50c82d6ea SHA1: 4605ab718107e2f96ed9519911335bcab32f9dff MD5sum: b824e860746009fe75f3851a841543fb Description: Track per-plan call counts, execution times and EXPLAIN texts in PostgreSQL pg_stat_plans is designed for low overhead tracking of aggregate plan statistics in Postgres, by relying on hashing the plan tree with a plan ID calculation. It aims to help identify plan regressions, and get an example plan for each Postgres query run, slow and fast. Additionally, it allows showing the plan for a currently running query. . Plan texts are stored in shared memory for efficiency reasons (instead of a local file), with support for zstd compression to compress large plan texts. . Plans have the same plan IDs when they have the same "plan shape", which intends to match EXPLAIN (COSTS OFF). This extension is optimized for tracking changes in plan shape, but does not aim to track execution statistics for plans, like auto_explain can do for outliers.