How to view explain plan for a DB2 Stored Procedure in IBM DataStudio?
-
23-06-2021 - |
Domanda
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.
Soluzione
Found the answer, using db2expln executable from the command window, I was able to generate the execution plan for the stored procedures.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow