19.06.2013 Views

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table D-2 PLAN_TABLE contents and brief history<br />

Column Type Content<br />

QUERYNO INTEGER NOT NULL A number intended to identify the<br />

statement being explained.<br />

QBLOCKNO SMALLINT NOT NULL A number that identifies each query<br />

block within a query.<br />

APPLNAME CHAR(8) NOT NULL The name of the application plan <strong>for</strong><br />

the row.<br />

PROGNAME CHAR(8) NOT NULL The name of the program or package<br />

containing the statement being<br />

explained.<br />

PLANNO SMALLINT NOT NULL The number of the step in which the<br />

query indicated in QBLOCKNO was<br />

processed.<br />

METHOD SMALLINT NOT NULL A number (0, 1, 2, 3, or 4) that<br />

indicates the join method used <strong>for</strong> the<br />

step:<br />

0 = First table accessed, continuation<br />

of the previous table.<br />

1= NESTED LOOP JOIN<br />

2= MERGE SCAN JOIN<br />

3 = Sorts needed by ORDER BY,<br />

GROUP BY, SELECT DISTINCT,<br />

UNION,<br />

4= HYBRID JOIN<br />

CREATOR CHAR(8) NOT NULL The creator of the new table accessed<br />

in this step, blank if METHOD is 3.<br />

TNAME CHAR(18) NOT NULL The name of a table, materialized<br />

query table, created or declared<br />

temporary table, materialized view, or<br />

materialized table expression.<br />

TABNO SMALLINT NOT NULL Values are <strong>for</strong> <strong>IBM</strong> use only.<br />

410 <strong>DB2</strong> <strong>UDB</strong> <strong>for</strong> z/<strong>OS</strong> <strong>Version</strong> 8 Per<strong>for</strong>mance <strong>Topics</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!