How to view explain plan for a DB2 Stored Procedure in IBM DataStudio?
-
23-06-2021 - |
Question
How to view the access plan for the entire SP along with the cost in IBM DataStudio, I am able to view it for a single query but when I do the same for a Stored Procedure it throws an error.
Solution
Found the answer, using db2expln executable from the command window, I was able to generate the execution plan for the stored procedures.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow