Hierarchy
⤷ BC-DB-DB4 (Application Component) DB2 for AS/400
⤷ STU4 (Package) CCMS / AS/400
Basic Data
Data Element | QQCSO |
Short Description | iSeries: No. of Sorts (Database Monitor) |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | QQDEC150 | |
Data Type | DEC | Counter or amount field with comma and sign |
Length | 15 | |
Decimal Places | 0 | |
Output Length | 19 | |
Value Table |
Further Characteristics
Search Help: Name | ||
Search Help: Parameters | ||
Parameter ID | ||
Default Component name | ||
Change document | ||
No Input History | ||
Basic direction is set to LTR | ||
No BIDI Filtering |
Field Label
Length | Field Label | |
Short | 11 | Sorts |
Medium | 21 | Sorts |
Long | 41 | Sorts |
Heading | 55 | Sorts |
Documentation
Definition
QQCSO is the number of times a statement was implemented using a sort (done by the database optimizer).
If the most expensive execution of a statement was thus implemented, more details (for example the reason for the sort implementation) about the database sort performed are found in the record in table SQ3003_DB4 corresponding to that statement.
Example
The Open SQL statement (with an appropriate internal table declaration for itab) lists all statements (library/SQL package/statement name) which were implemented with a database sort when the most expensive execution occurred, plus the reason code for the database sort performed, :
select b~qqplib b~qqpnam b~qqsnam a~qqrcod
into corrseponding fields of table itab
from SQ3003_DB4 as a
inner join SQ1000_DB4 as b
where a~qqkey = b~qqkey.
History
Last changed by/on | SAP | 20070813 |
SAP Release Created in |