Output from the db2expln command contains additional useful information that cannot be readily classified.
DDL Statement
No
additional explain output is provided for DDL statements. SET Statement
No
additional explain output is provided for SET statements. Distinct Filter #Columns = n
where n is
the number of columns involved in obtaining distinct rows. To retrieve
distinct row values, the rows must first be sorted to eliminate duplicates.
This statement will not appear if the database manager does not have
to explicitly eliminate duplicates, as in the following cases:Hashed partial distinct filter
Positioned Operation
If
the positioned operation is against a federated data source, the statement
becomes: Distributed Positioned Operation
This
statement appears for any SQL statement that uses the WHERE CURRENT
OF syntax. Residual Predicate Application
| #Predicates = n
UNION
Table Constructor
| n-Row(s)
Table constructors can be used for transforming
values in a set into a series of rows that are then passed to subsequent
operations. When a table constructor is prompted for the next row,
the following statement appears: Access Table Constructor
Conditional Evaluation
| Condition #n:
| #Predicates = n
| Action #n:
Conditional evaluation is used to implement
such activities as the CASE statement, or internal mechanisms such
as referential integrity constraints or triggers. If no action is
shown, then only data manipulation operations are processed when the
condition is true. ANY/ALL Subquery
EXISTS Subquery
EXISTS SINGLE Subquery
Establish Row Position
Return Data to Application
| #Columns = n
If the operation was pushed down into
a table access, a completion phase statement appears in the output: Return Data Completion
Call Stored Procedure
| Name = schema.funcname
| Specific Name = specificname
| SQL Access Level = accesslevel
| Language = lang
| Parameter Style = parmstyle
| Expected Result Sets = n
| Fenced Not Deterministic
| Called on NULL Input Disallow Parallel
| Not Federated Not Threadsafe
Free LOB Locators