IDLETIME
PROBES
Examples of EXPLAIN Function
•
Display the specified columns in the result table of the EXPLAIN function for the prepared
statement REGION:
>>select seq_num, operator, operator_cost from table (explain (null, 'REG'));
SEQ_NUM
-----------
--- 4 row(s) selected.
>>log;
The example displays only part of the result table of the EXPLAIN function. It first uses the
EXPLAIN function to generate the table and then selects the desired columns.
An estimate of the number of seconds to wait for an event to happen. The estimate
includes the amount of time to open a table or start an ESP process.
The number of times the operator will be executed. Usually, this value is 1, but it
can be greater when you have, for example, an inner scan of a nested-loop join.
OPERATOR
------------------------------
1
FILE_SCAN
2
PARTITION_ACCESS
3
SPLIT_TOP
4
ROOT
OPERATOR_COST
---------------
9.1667249E-003
0.0000000E+000
0.0000000E+000
1.1152706E-006
EXPLAIN Function
341