8 comments

[ 4.0 ms ] story [ 18.8 ms ] thread
A great tool in the SQL Server space that helps with this kind of stuff is SentryOne's plan explorer - https://www.sentryone.com/plan-explorer

No affiliation, just used it for years and loved how it works, especially when comparing cardinality estimations to actuals, index designs, and general performance characteristics.

what Oracle client is being used in the screenshot of an Oracle Explain Plan?
Hi, it's using Oracle's default client sqlplus for extracting data and spool it in flamegraph.pl-friendly format to disk. And then the script runs flamegraph.pl to turn this data into a .svg chart and opens it with your default browser.
Is there something similar for DB2?
I only applied this on Oracle, not too familiar with with DB2, but as long as DB2 has a (text) tool that reports exec plan node level metrics, this can be converted into a flame chart.