Announcing explain-running-query - print the execution plan of arunning query - Mailing list pgsql-announce

From Marcin Barczynski
Subject Announcing explain-running-query - print the execution plan of arunning query
Date
Msg-id CAOhG4wdNDQeaSkdW-Zb3FX2Xa1b9b4ZNyaJQUHUUqGigtuU-EA@mail.gmail.com
Whole thread Raw
List pgsql-announce
Starfish Storage has released explain-running-query.py which is a script that prints the execution plan of a running query in PostgreSQL.

It comes in handy when PostgreSQL gets stuck running a query. Without the script, the best one can do is run EXPLAIN with the same query text. Still, the plan doesn't have to be the same as the original, because PostgreSQL relies heavily on table statistics when planning a query and those might have changed since the original query started.

The script is available at https://github.com/StarfishStorage/explain-running-query

-- 
Marcin Barczyński
Starfish Storage: http://starfishstorage.com/

pgsql-announce by date:

Previous
From: Esteban Zimanyi
Date:
Subject: MobilityDB 1.0 beta1 is now released
Next
From: Ilya Kosmodemiansky
Date:
Subject: PG Day Russia 2020 CFP and registration are open