dbTalk Databases Forums  

Visual Explain -- command line?

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss Visual Explain -- command line? in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Wendy
 
Posts: n/a

Default Visual Explain -- command line? - 11-14-2011 , 09:44 AM






I'm looking to obtain the CPU usage and I/O usage for a query prior to
execution. The output from Visual Explain gives me exactly what I
want, however, I want to be able to do this on the fly (ie. not via
the control center). Suggestions?

Wendy Powley
School of Computing
Queen's University
Kingston, ON

Reply With Quote
  #2  
Old   
Mark A
 
Posts: n/a

Default Re: Visual Explain -- command line? - 11-14-2011 , 09:55 AM






On Mon, 14 Nov 2011 07:44:42 -0800, Wendy wrote:

Quote:
I'm looking to obtain the CPU usage and I/O usage for a query prior to
execution. The output from Visual Explain gives me exactly what I want,
however, I want to be able to do this on the fly (ie. not via the
control center). Suggestions?

Wendy Powley
School of Computing
Queen's University
Kingston, ON
Look at the EXPLAIN SQL statement (SQL Ref Vol 2 manual). After you run the EXLAIN, you will need to
run db2exfmt (Explain table format command in Command Reference manual) to see the output.

Reply With Quote
  #3  
Old   
Wendy
 
Posts: n/a

Default Re: Visual Explain -- command line? - 11-14-2011 , 10:38 AM



Thank you! I see now where the information is in the db2exfmt
output. Thanks so much.

Wendy

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.