In Sybase, one can view the IO statistics of a query using the follow:
set noexec on
set statistics io on
The allows one to see the total logical IO for a query without actually executing it. Is there an equivalent sort of command for db2?
In Sybase, one can view the IO statistics of a query using the follow:
set noexec on
set statistics io on
The allows one to see the total logical IO for a query without actually executing it. Is there an equivalent sort of command for db2?
The EXPLAIN statement may provide some of what you want (I'm afraid I don't have actual use details), or Visual Explain if you have access to that.