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)

Answers were Sorted based on User's Feedback



what is the steps followed in EXPLAIN Process or EXPLAIN command. (Explain is for identifying the ..

Answer / bob

Small Correction: With explain(Yes) option, Access path or optimizer's strategy/information will be stored in package_owner.plan_table

Is This Answer Correct ?    6 Yes 0 No

what is the steps followed in EXPLAIN Process or EXPLAIN command. (Explain is for identifying the ..

Answer / 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

what is the steps followed in EXPLAIN Process or EXPLAIN command. (Explain is for identifying the ..

Answer / sdexcellent@yahoo.co.in

EXPLAIN is used to display the access path as determined by
the optimizer for a SQL statement.
It can be used in SPUFI (for single SQL statement ) or in
BIND step (for embedded SQL ).
plan table should be created under your authid.if its there
then only EXPLAIN can be used in SPUFI.
Output of EXPLAIN can be stored in userid.plantable
in spufi u ve to write the query with ?
select billtn,lpic from xxxx where lpic > ?

Is This Answer Correct ?    1 Yes 0 No

what is the steps followed in EXPLAIN Process or EXPLAIN command. (Explain is for identifying the ..

Answer / krishna

In bind parameter if you give like
EXPLAIN(YES)

This will store the acess path in SYSIBM.SYSPLAN table,
it will not do any optimization.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More DB2 Interview Questions

What is rct?

0 Answers  


Where to download IBM DB2 Certification Dumps for the below: C2090-311 : IBM DB2 10.5 DBA for LUW Upgrade from DB2 10.1 C2090-312 : IBM DB2 11 DBA for z/OS C2090-313 : DB2 11 Application Developer for z/OS C2090-317 : DB2 11 System Administrator for z/OS C2090-541 : DB2 9.7 DBA for Linux UNIX and Windows C2090-543 : DB2 9.7 Application Development C2090-544 : DB2 9.7 Advanced DBA for LUW C2090-545 : DB2 9.7 SQL Procedure Developer C2090-546 : DB2 9.7 Database Administrator for Linux UNIX or Windows Upgrade C2090-610 : DB2 10.1 Fundamentals C2090-611 : DB2 10.1 DBA for Linux, UNIX, and Windows C2090-612 : DB2 10 DBA for z/OS C2090-614 : DB2 10.1 Advanced DBA for Linux UNIX and Windows C2090-615 : DB2 10.5 Fundamentals for LUW C2090-617 : DB2 10 System Administrator for z/OS C2090-730 : DB2 9 Family Fundamentals C2090-733 : DB2 9 Application Developer C2090-735 : DB2 9.5 SQL Procedure Developer C2090-737 : DB2 9 System Administrator for z/OS Exam

1 Answers   Mphasis,


How to take backup of table in db2?

0 Answers  


wht steps we need will coding cobol and db2 pgm ?

6 Answers   CGI,


What is the difference between group by and order by?

2 Answers   IBM, TCS,






Say CUST Table contains records like: CUSTNO CUSTNAME CUSTLOC 100 ABC SSS 200 XYZ 300 PQR 400 MNO WWW 500 CVV ------------- ------------- Now write a query to retrieve all records with CUSTLOC no data.

3 Answers   IBM,


Where would you find information about the type of database authority held by the user?

2 Answers  


What is bind package and plan in db2?

0 Answers  


List out the data types available.

0 Answers  


What is copy pending and check pending in db2?

0 Answers  


What is cursor stability in db2?

0 Answers  


Q3. How will you fetch duplicate values from a DB2 table?

2 Answers   RBS,


Categories