SQL/MX 2.x Installation and Management Guide (H06.10+, J06.03+)
Measuring Performance
HP NonStop SQL/MX Installation and Management Guide—544536-007
14-7
Statistics and Reports for NonStop SQL/MX
•
Escalations of locks
•
Deletes
•
Disk reads
•
Lock waits
•
Message activity
•
Reads
•
Records accessed
•
Records used
•
Updates
•
Writes
The FILE report can provide specific data on SQL tables. You can use the FILE report
along with other reports on a specific volume or subvolume.
NonStop SQL/MX does not collect statistics on timeouts or file-busy-time (the time
spent waiting on file I/O activities). In NonStop SQL/MX, there is no file I/O waiting as
there is for NonStop SQL/MP. The SQL/MX interface to the disk process is inherently
nowaited.
For queries that involve multiple SQL tables or compound statements, the statistics
data for the accessed tables might all be added to a single table, depending on
whether the operations are performed by the same Data Access Manager (DAM).
PROCESSH Statistics
SQLPROC and SQLSTMT are useful, but a process could be spending time in user
functions that do not contain SQL statements or in system code or system libraries. To
gather statistics on these, use PROCESSH.
The PROCESSH entity type provides information about the relative execution time of
one or more code ranges within a program. You can measure code ranges by
specifying procedure names and address ranges or by specifying a code-space
category (user code, user library, system code, or system library).
For H-series systems, PROCESSH provides information about all DLLs in system
libraries for DLLs that are named in the ADD PROCESSH statement. This information
includes the percentage of execution time occurring within each named library.
DISKFILE and DISCOPEN Statistics
The DISKFILE and DISCOPEN entities can be useful for database access and load
management. Both entities return ANSI SQL name information.
The DISKFILE entity gathers activity statistics against all partitions of a file object. Use
DISKFILE to determine if data is being evenly distributed across all the partitions in a
database.
You must use DISCOPEN to determine how data is distributed among all partitions of a
FILE. The DISCOPEN entity gathers statistics for partition opens by process. Use










