Is there a way to get the explain plan for a running query as opposed
to having to wait for the query to complete which is the case when
using EXPLAIN.
I know in Oracle there is DBMS_XPLAN and wondering if something
similar in PostgreSQL. We have looked at auto_explain but this
requires a cluster reboot and this is production and we have no
downtime.
This is Aurora PostgreSQL 12.6.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 46:42:34 |
Calls: | 10,395 |
Calls today: | 3 |
Files: | 14,066 |
Messages: | 6,417,273 |
Posted today: | 1 |