IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What is Mean By PLAN_TABLE in EXPLAIN


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mahesh_yellale

New User


Joined: 25 Dec 2006
Posts: 3
Location: pune

PostPosted: Wed Mar 07, 2007 3:27 pm
Reply with quote

What is mean by PLAN_TBLE in EXPALIN
plz help i am so confused
Back to top
View user's profile Send private message
vini_srcna

Active User


Joined: 26 May 2005
Posts: 178
Location: Copenhagen, Denmark

PostPosted: Wed Mar 07, 2007 5:14 pm
Reply with quote

EXPLAIN is a bind parameter. While binding the application plan you might give the option EXPLAIN(YES). Default is EXPLAIN(NO).

If you give YES it would give the explanation about the queries in the DBRM into a separate table called PLAN_TABLE. The user binding the PLAN needs to have their own table. Later one can query the PLAN table to find out the access paths.

How a particular query is executing..? Is it going for INDEX SCAN or TABLESPACE scan. Is index used effectively or not and much more. Over all this is a huge concept. This comes into picture while during the performance tuning for the applications. You can find much more information in the manual.

If you bind the plan with EXPLAIN(YES) and if there is no explain table existing under your ownership then it would through you the -ve error code mostlikely -219 I guess. Hope this helps you..!! Thanks
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts User Remarks in Plan_Table DB2 2
No new posts Can someone explain me this JCL line ... JCL & VSAM 9
No new posts DB2 Explain DB2 3
No new posts can some one explain the below code... JCL & VSAM 3
Search our Forums:

Back to Top