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.

 
Go Back  dBforums > Database Server Software > DB2 > how can I use EXPLAIN tables for query access plan characteristics

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-20-06, 15:24
M_RAS M_RAS is offline
Registered User
 
Join Date: Sep 2003
Location: canada
Posts: 230
how can I use EXPLAIN tables for query access plan characteristics

Hi
I am working with db2v8.2.2 and aix 5.2

recently I encountered with performance issue in production after weekly maintenance (reorg, runstats and bind) it seems to me access plan for some packages has been changed.

I am thinking to query EXPLAIN tables before bind and after bind and retrieve the difference between to access plan. is it possible ? and how can I do that?any help is really appreciated.
Reply With Quote
  #2 (permalink)  
Old 04-21-06, 03:22
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
explain

the plantable would be the best table to look for
access method is indicated - you could check if I (index) is used or table scan ....
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 04-21-06, 08:33
M_RAS M_RAS is offline
Registered User
 
Join Date: Sep 2003
Location: canada
Posts: 230
Quote:
Originally Posted by przytula_guy
the plantable would be the best table to look for
access method is indicated - you could check if I (index) is used or table scan ....
Thank you przytula_guy for your response.

what is "plantable" I searched and I could not find the table, all table I can find is as follow:
EXPLAIN_ARGUMENT
EXPLAIN_INSTANCE
EXPLAIN_OBJECT
EXPLAIN_OPERATOR
EXPLAIN_PREDICATE
EXPLAIN_STATEMENT
EXPLAIN_STREAM
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On