Difference between revisions of "Pg stat statements module"
Jump to navigation
Jump to search
↑ https://www.postgresql.org/docs/current/pgstatstatements.html
m (Welcome moved page Pg stat statements to Pg stat statements module) |
|||
Line 14: | Line 14: | ||
* <code>[[pg_stat]]</code> | * <code>[[pg_stat]]</code> | ||
* [[PostgreSQL list extensions]]: <code>[[\dx]]</code> | * [[PostgreSQL list extensions]]: <code>[[\dx]]</code> | ||
+ | * [[PostgreSQL modules]] | ||
== See also == | == See also == |
Revision as of 09:20, 3 July 2023
SELECT queryid, query from pg_stat_statements where query like 'YOUR_QUERY_GOES_HERE'
CREATE EXTENSION pg_stat_statements;
CREATE EXTENSION IF NOT EXISTS pg_stat_statements WITH SCHEMA public;
ERROR: relation pg_stat_statements does not exist at character 18
Related
See also
pg_stat, pg_stat_activity, pg_stat_statements, pg_stat_replication, pg_stat_io
- PostgreSQL, PostgreSQL extensions,
CREATE EXTENSION
, List extensions (\dx
)
Advertising: