pg_stat_statements: Identifying true YSQL query bottlenecks before tuning
Goal Use YugabyteDB’s PostgreSQL‑compatible pg_stat_statements extension to surface the most expensive YSQL queries and verify whether the cost originates from local computation or distributed storage access before applying any index or flag changes. Constraints Statistics are per‑node, reset on restart, and add measurable overhead bounded by pg_stat_stateme