pg_stat_statements
See every discussion that mentions pg_stat_statements
Brand Details
Type: Product
Description: pg_stat_statements is a PostgreSQL extension that tracks the execution statistics of all SQL statements run on a server, providing details like planning and execution times to identify performance bottlenecks and optimize queries. It requires enabling shared_preload_libraries in postgresql.conf and restarting the server. It offers views (pg_stat_statements, pg_stat_statements_info) and functions (pg_stat_statements_reset, pg_stat_statements) to manage statistics. The number of tracked statements has a default limit (often 5000, configurable).
Website: https://www.postgresql.org/docs/current/pgstatstatements.html
Mention Analytics
Total Mentions: 7
Subreddit Mentions:
Positive Mentions: 6
Negative Mentions: 0
Sign up to filter, search, and track the sentiment of all brand mentions for pg_stat_statements over time.
💬 21 comments
⬆︎ 27 upvotes
Mentioned as the tool uses the feature.
Found in /r/PostgreSQL/Apr 16, 2025
Monitoring
💬 10 comments
⬆︎ 0 upvotes
The comment mentions PostgreSQL.
Found in /r/PostgreSQL/Apr 8, 2025
Postgres monitor
💬 5 comments
⬆︎ 1 upvotes
Suggesting to use pg_stat_statements for monitoring query performance.
Found in /r/PostgreSQL/Aug 9, 2024
Identifying queries creating a large number of temp files
💬 4 comments
⬆︎ 9 upvotes
pg_stat_statements is mentioned as a tool to identify queries creating large numbers of temporary files. EXPLAIN (ANALYZE, BUFFERS) is also recommended for detailed analysis of individual queries.
Found in /r/PostgreSQL/Aug 5, 2024
Tools for analysing queries?
💬 15 comments
⬆︎ 7 upvotes
Mentioned as a built-in PostgreSQL tool for logging query statistics.
Found in /r/PostgreSQL/Apr 25, 2024
Unlock the Power of PostgreSQL Extensions: A Beginner’s Guide
💬 15 comments
⬆︎ 19 upvotes
The user finds this extension indispensable for monitoring database performance.
Found in /r/PostgreSQL/Nov 10, 2023
Top 8 PostgreSQL Extensions
💬 4 comments
⬆︎ 23 upvotes
pg_stat_statements is considered vital for monitoring PostgreSQL servers in production
Found in /r/PostgreSQL/Subscribe to our newsletter!
Stay up to date on how the latest changes in AI might impact your marketing plan.