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

Which path has been selected by optimizer


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

New User


Joined: 04 Dec 2005
Posts: 45
Location: pune

PostPosted: Thu Jan 19, 2006 2:58 pm
Reply with quote

i want to know which path has been selected by optimizer and list of the remaining paths please tell me the query.

thanx in advance.
regard..
manjinder
Back to top
View user's profile Send private message
futuredba

New User


Joined: 08 Jan 2006
Posts: 22
Location: Delhi

PostPosted: Fri Jan 20, 2006 7:26 pm
Reply with quote

Hi manjinder,

While binding ur dbrm, one should specify explain = yes. After that, look out in ur plan_table, it will show u the path taken by optimizer.

we can tell some other paths that optimiser can choose(obviously, only if we modify the query) but i dont know whether one can get some list which will show all the paths that can be taken by optimizer.

regards,
futuredba
Back to top
View user's profile Send private message
saranya_sn

New User


Joined: 03 Jul 2005
Posts: 12
Location: India

PostPosted: Tue Jan 24, 2006 4:12 am
Reply with quote

Can some one tell me for the pakage how to look for the optimiser path
Back to top
View user's profile Send private message
ragshere

New User


Joined: 20 Dec 2004
Posts: 70

PostPosted: Sun Jan 29, 2006 4:53 pm
Reply with quote

Hi,
you can get the accesspath chosen by optimizer for a query through PLAN_TABLE.
But all the possible paths will not be saved anywhere.
possible paths will be calculated by optimizer internally during BIND and select most optimum path and saves it.

Thanks
Rags
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 SET PATH in View DDL DB2 2
No new posts Easy way to delete selected members f... IBM Tools 12
No new posts Remove selected duplicate rows from t... DFSORT/ICETOOL 3
No new posts Copy selected columns from 2 input fi... DFSORT/ICETOOL 3
No new posts Reading selected volumes of a multi-v... JCL & VSAM 6
Search our Forums:

Back to Top