Table 9-5. Sqlsa Structure Fields - HP NonStop SQL/MP Programming Manual

For c
Table of Contents

Advertisement

Error and Status Reporting
Table 9-5. SQLSA Structure Fields (page 1 of 2)
Field Name
eye_catcher
version
dml
num_tables
master_executor_elapsed_
time
total_esp_cpu_time
total_sortprog_cpu_time
stats
table_name
records_accessed
records_used
disc_reads
messages
message_bytes
waits
escalations
sqlsa_reserved
vsbb_write
vsbb_flushed
prepare
HP NonStop SQL/MP Programming Manual for C—429847-008
Description
Identification field. Set eye_catcher to
SQLSA_EYE_CATCHER.
Current product version of SQLSA. (Subsequent
NonStop SQL/MP PVUs can change this value.)
Structure for the return of statistics after the execution
of a DML statement.
Number of tables accessed by a DML statement;
maximum is 16.
CPU time in microseconds used by the master
Executor process. Applies only to a version 330 or
later SQLSA structure.
Total CPU time in microseconds used by all Executor
Server Processes (ESPs). Applies only to a version
330 or later SQLSA structure.
Total CPU time in microseconds used by all
SORTPROG processes. Applies only to a version 330
or later SQLSA structure.
Array containing num_tables valid entries, one for
each table accessed.
Guardian internal file name of the table accessed.
Number of records accessed in the corresponding
table.
Number of records altered or returned.
Number of disk reads and writes.
Number of messages sent to the disk process.
Number of bytes sent in all the messages sent to the
disk process.
Number of lock waits or time outs.
Number of times record locks are escalated to file
locks.
Reserved.
True (-1) if a VSBB write was used. Otherwise, false
(0).
True (-1) if the VSBB buffer was flushed. Otherwise,
false (0).
Structure for the return of statistics for a PREPARE
statement. Applies only to dynamic SQL statements.
A program can use this information to allocate the
buffers required to describe the prepared statement.
9-17
Using the SQLSA Structure

Advertisement

Table of Contents
loading

Table of Contents