If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
We are running DB2 EEE V7.2 FP6 on AIX 5.1 on 2 servers with 3 nodes.
We are trying to find out when a query will use table scans and or indexes to get it's result set back. Is there a way to see the access path taken by the query using native DB2 utilities? If so how?
1) Visual Explain
Explain output is in graphical format. USe Command Centre.
2) db2expln
Explains the contents of a package. Issued from OS command line
3) dynexpln
Explains dynamic statements. The input to the command is a set of SQL Statements.
4) db2exfmt
Formats the contents of the EXPLAIN Tables ... Text 'Equivalent' of visual explain ...
Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.