
Chapter 6. Custom Database Monitor Analysis 223
QVC18
This column describes query statement type. If statement was done as part of dynamic
processing, it is flagged with E for “extended dynamic”, with S for “system wide cache”,
and L for “local prepared statement”.
6.4.11 Query sorting
The 3003 record from the Database Monitor table shows that the database optimizer has
decided to place selected rows into a temporary space and sort them. The presence of a
3003 record does not necessarily indicate poor performance. The optimizer selected a query
sort because it is either cheaper than the alternative indexed methods or it is forced to do so,