what is the steps followed in EXPLAIN Process or EXPLAIN
command. (Explain is for identifying the optimized access
path but how or what is the steps for doing the EXPLAIN)

Answer Posted / sachin borase

Optimized access path means:
When we are runnign any query database make the
path to db2 for fetching the required data called as
optimized acess path.for creating optimized access path
db2 uses db2 catlg.

expalain?

if put EXPLAIN(yes) then optimized path will sotred
whatever query you written in the program in the
table owner.plan_table

How to acess:

if you acess the owner.plan_table
it will have the below imp coloumns.
1.program name
2.latest timestamp
3.indexused
4.and more details

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is db2 bind process?

931


Define check constraint.

833


What is scrollable cursor in db2?

789


How to connect to db2 database from windows command line?

787


Which component is responsible for db2 startup and shutdown?

806


How to resolve deadlock issue

18987


What is a dbrm in db2?

743


What is an instance database?

804


What is meant by union and union all?

776


Name the various locking levels available?

819


How can you do the explain of a dynamic sql statement?

818


Are view updateable?

809


What is ibm db2 used for?

819


What is the use of value function?

835


Why do we need reorg in db2?

733