Scalable Database Server, HiRDB Version 8 Command Reference

[Contents][Index][Back][Next]

14.4.3 Record formats of DAT-format files

Tables 14-5 through 14-22 show the record formats of the DAT-format files.

The following notes apply to these tables:

Note
For a HiRDB/Parallel Server, Nos. 73, 74, 79-102, 126, and 127 indicate the total value for all back-end servers.

1 For a HiRDB/Parallel Server, this is the total lock release wait time (including parallel processing) resulting in the transaction.

2 If the pdstbegin command is executed while being connected, or transaction processing is underway, statistical information is collected for the next connection or transaction, not the current connection or transaction.

3 For a HiRDB/Parallel Server, the value is for all back-end servers.

4 This is the total CPU time for all servers in the transaction.

5 If the information is output for each transaction, this is the cumulative CONNECT value.

Table 14-9 Record format of a DAT-format file (SQL statistical information)

No. Field name (title bar) Attribute Maximum length Remarks
1 Host name (HOST) Character 32 [Figure]
2 UAP name (UAP NAME)
3 SQL execution start time (START) 14 Format:
MM/DD/hh:mm:ss
4 No. 3 in microseconds (START (MICRO)) Numeric 6 Value in seconds is not included.
5 SQL execution termination time (END) Character 14 Format:
MM/DD/hh:mm:ss
6 No. 5 in microseconds (END (MICRO)) Numeric 6 Value in seconds is not included.
7 Length of created SQL object (PDATA) 10 In bytes
8 Number of back-end servers that sent SQL object (BES COUNT) [Figure]
9 SQL execution time (SQL EXEC TIME (MICRO)) In microseconds (includes the value in seconds)
10 Number of rows retrieved (FETCH ROW) [Figure]
11 Number of rows inserted (INSERT ROW)
12 Number of rows updated (UPDATE ROW)
13 Number of rows deleted (DELETE ROW)
14 Number of rows created in work table (CREATE LIST)
15 Number of rows deleted from work table (DROP LIST)
16 SQL execution time (SQL EXEC TIME (SEC)) In seconds (value is rounded off)
17 Service name (SERVICE NAME) Character 31 [Figure]
18 Front-end server name (FES NAME) 8
19 Connection number (CONNECT NO) Numeric 10 Serial number assigned to each connection in one front-end server.
20 SQL counter (SQL COUNTER) [Figure]
21 Front-end server process ID (FES PROCESS ID)
22 Operation code (OPERATION CODE)1 Character 4 [Figure]
23 Section number (SECTION NO) Numeric 5
24 SQL type code (SQL TYPE CODE)2 Character 4
25 SQL code (SQLCODE) Numeric 10
26 Server name (SERVER NAME) Character 8
27 Number of times processing requests were issued to the foreign server (FOREIGN REQUEST COUNT) Numeric 10 [Figure]
28 Foreign server processing time (FOREIGN EXEC TIME) In seconds
29 No. 28 in microseconds (FOREIGN EXEC TIME(MICRO)) In microseconds (includes the value in seconds)
30 Number of rows retrieved on the foreign server (FOREIGN FETCH ROW) [Figure]
31 Total comparison count when a hash row partitioning table was searched during hash join, subquery hash execution (HASH COMP COUNT) Numeric 10 [Figure]
32 Total hash row partitioning table search count during hash join, subquery hash execution (HASH HIT COUNT) Numeric 10 [Figure]
33 Number of rows inserted in the foreign server (FOREIGN INSERT ROW) Numeric 10 [Figure]
34 Number of rows updated on the foreign server (FOREIGN UPDATE ROW) Numeric 10 [Figure]
35 Number of rows deleted on the foreign server (FOREIGN DELETE ROW) Numeric 10 [Figure]

Note
Nos. 27-30 and 33-35 are output when the HiRDB External Data Access facility is used. If this facility is not used, 0 or **** is output.

1 See Table 14-10 for the operation codes.

2 See Table 14-11 for the SQL type codes.

Table 14-10 Operation codes

Operation code Corresponding SQL statements
AUI2 DELETE statement (static SQL), INSERT statement (static SQL), UPDATE statement (static SQL), LOCK statement (static SQL), PURGE TABLE statement (static SQL), single-row SELECT statement (static SQL), FREE LOCATOR statement (static SQL)
AUI3 Assignment statement (static SQL)
AUX EXECUTE statement
AUXI EXECUTE IMMEDIATE statement and all definition SQL statements
AUXO EXECUTE statement (INTO specified)
CALL CALL statement
CLOS CLOSE statement
CMIT COMMIT statement
CNCT CONNECT statement
CPRP Commit Prepare*
DESC DESCRIBE statement (OUTPUT specified)
DEST DESCRIBE TYPE statement
DISC DISCONNECT statement, COMMIT statement (RELEASE specified)
DISR ROLLBACK statement (RELEASE specified)
DIST Disconnect + Tran Check*
DSCM Used by system
DSPR Used by system
DSRL Used by system
FETC FETCH statement
GETD GET DIAGNOSTICS
HVAR DESCRIBE statement (INPUT specified)
JARI INSTALL JAR
JARR REPLACE JAR
JARU REMOVE JAR
OPEN OPEN statement (dynamic SQL)
OPN2 OPEN statement (static SQL)
OPNR OPEN statement (dynamic SQL (multiple cursors))
RENV Used by system
RNCN CONNECT statement (TO specified)
RNDS DISCONNECT statement (TO specified)
ROLL ROLLBACK statement
RSDC DESCRIBE statement (OUTPUT, RESULT SET specified)
RSFT FETCH statement (RESULT SET specified)
RSCL CLOSE statement (RESULT SET specified)
SAUH SET SESSION AUTHORIZATION statement
SET PREPARE statement
SINF Used by system
SOPT Used by system
SVLS Used by system
THRE Used by system
THSU Used by system
TRCK Used by system
TRC2 Used by system
TRST Used by system
TSCM Used by system
TSRL Transfer Rollback*
TSPR Transfer Prepare*
ALCR ALLOCATE CURSOR statement
DSET DEALLOCATE PREPARE statement

* Output only when the XA interface is used.

Table 14-11 SQL type codes

No. SQL statement SQL type code (hexadecimal)
1 CREATE TABLE 1038
2 DROP TABLE 103C
3 ALTER TABLE 1040
4 CREATE INDEX 1044
5 DROP INDEX 1048
6 COMMENT ON TABLE 104C
7 COMMENT ON COLUMN 1050
8 CREATE SCHEMA 1054
9 DROP SCHEMA 1058
10 GRANT RDAREA 105C
11 GRANT SCHEMA 1060
12 GRANT ACCESS 1064
13 REVOKE RDAREA 1068
14 REVOKE SCHEMA 106C
15 REVOKE ACCESS 1070
16 CREATE VIEW 1074
17 DROP VIEW 1078
18 GRANT CONNECT 1098
19 GRANT DBA 109C
20 REVOKE CONNECT 10A0
21 REVOKE DBA 10A4
22 CREATE PROCEDURE 10B0
23 DROP PROCEDURE 10B4
24 ALTER PROCEDURE 10B8
25 CREATE TYPE 10C0
26 DROP DATA TYPE 10C4
27 CREATE FUNCTION 10C8
28 DROP FUNCTION 10CC
29 ALTER ROUTINE 10E8
30 LOCK statement 2134
31 SELECT statement 4000, 4900, 4100, 4A04, 4204
32 INSERT statement 4108
33 UPDATE statement 4114
34 DELETE statement 411C
35 ASSIGN LIST statement 4224, 4324
36 DROP LIST statement 422C
37 PURGE TABLE statement 4184
38 CALL PROCEDURE 40BC
39 GET DIAGNOSTICS 40C0
40 Assignment statement 40C4
41 FREE LOCATOR statement 40C8

Table 14-12 Record format of a DAT-format file (global buffer pool statistical information)

No. Field name (title bar) Attribute Maximum length Remarks
1 Host name (HOST) Character 32 [Figure]
2 Server name (SERVER) 8
3 Global buffer name (BUFFER NAME) 16
4 Statistics log acquisition time (LOG GET TIME) 14 Format:
MM/DD/hh:mm when -e sec is omitted; MM/DD/hh:mm:ss when -e sec is specified
5 Number of buffer sectors in global buffer pool (BUFFER COUNT) Numeric 10 [Figure]
6 Number of synchronization point dump pages (SYNC POINT)
7 Maximum number of concurrently requested buffer sectors (BUFFER MAX)
8 Update GETs count (UPDATE GET)
9 Update buffer hits count (UPDATE HIT)
10 Update buffer hit rate (UPDATE HIT RATIO) 3 Percentage
11 Update buffer flushes count (UPDATE FLUSH) 10 [Figure]
12 Reference GETs count (REF GET)
13 Reference buffer hits count (REF HIT)
14 Reference buffer hit rate (REF HIT RATIO) 3 Percentage
15 Reference buffer flushes count (REF FLUSH) 10 [Figure]
16 Real READs count (READ)
17 Input waits count (WAIT READ)
18 Real WRITEs count (WRITE)
19 Output waits count (WAIT WRITE)
20 Buffer lock release waits count (WAIT EXCLUSIVE)
21 Buffer shortages count (BUFFER INSUFFICIENCY)
22 Prefetch input pages count (PRRED)
23 Prefetch hit pages count (PRHIT)
24 Prefetch hit ratio (PRHIT RATIO) 3 Percentage
25 Prefetch execution resources shortage count (PR INSUFFICIENCY) 10 [Figure]
26 Global buffer hit ratio (BUFHIT RATIO) 3 Percentage
27 Current reference buffers count (CUR REF BUFNUM) 10 [Figure]
28 Current update buffers count (CUR UPDATE BUFNUM)
29 Deferred write trigger update buffers count (TRG UPDATE BUFNUM)
30 Synchronization points count (SYNC COUNT)
31 Number of prefetch READ requests (PR READ REQ CNT)
32 Number of READ requests for LOB global buffer (LOB READ REQ CNT)
33 Number of WRITE requests for LOB global buffer (LOB WRITE REQ CNT)
34 Batch input pages count for LOB global buffer (LOB BLK READ PGNUM)
35 Batch output pages count for LOB global buffer (LOB BLK WRITE PGNUM)
36 System-specific information (CACHE BUFFER INSUFFICIENCY)
37 System-specific information (CACHE BUFFER FLUSH MAX)
38 System-specific information (CACHE BUFFER FLUSH AVERAGE)
39 System-specific information (LOCK WAIT CNT) Exponent representation
40 Percentage of lock contention-release wait (LOCK WAIT RATIO) 5 % (up to 1 decimal place)
41 System-specific information (SLEEP EXEC AVERAGE) 10 Exponent representation
42 Percentage rate of spin loop (SPIN EXEC RATIO) 5 % (up to 1 decimal place)
43 Average spin loop count (SPIN EXEC AVERAGE) 10 Exponent representation
44 Buffer pool lock exclusive time during synchronization point processing 10 [Figure]
45 No. 44 in microseconds 6 Value in seconds is not included
46 Number of buffers processed within buffer pool lock exclusive time during synchronization point processing 10 [Figure]
47 Take-over count of database write processing by reference request hit during synchronization point processing
48 Take-over count of database write processing by update request hit during synchronization point processing

Table 14-13 Record format of a DAT-format file (statistical information on HiRDB files for database manipulation)

No. Field name (title bar) Attribute Maximum length Remarks
1 Host name (HOST) Character 32 [Figure]
2 Server name (SERVER) 8
3 HiRDB file name (FILE NAME) 167
4 RDAREA name (RDAREA NAME) 30
5 Statistics log acquisition time (LOG GET TIME) 14 Format:
MM/DD/hh:mm when -e sec is omitted; MM/DD/hh:mm:ss when -e sec is specified
6 Synchronous READs count (SYNC READ) Numeric 10 [Figure]
7 Synchronous WRITEs count (SYNC WRITE)
8 System-specific information (AIO READ)
9 Asynchronous WRITEs count (AIO WRITE)
10 System-specific information (LIST IO)
11 Opens count (OPEN)
12 Closes count (CLOSE)
13 I/O errors count (IO ERROR)

Table 14-14 Record format of a DAT-format file (deferred write processing statistical information)

No. Field name (title bar) Attribute Maximum length Remarks
1 Host name (HOST) Character 32 [Figure]
2 Server name (SERVER) 8
3 Log acquisition time (LOG GET TIME) 11 Format:
MM/DD/hh:mm:ss
4 Cause (CAUSE) 1 Trigger: T
Pre-sync: P
Synchronization point: S
Database synchronization point: D
RDAREA synchronization point: R
5 Pre-sync completion status (STATUS)* Pre-sync completed: P
Complete and terminated: E
6 I/O parallel level (PARALLEL) Numeric 10 [Figure]
7 Total number of pages output (OUT PAGE) Total number of pages output by deferred write processing for each cause
8 WRITE count (DWEXEC) [Figure]
9 Minimum unit value of WRITE (DWMIN) In seconds (rounded off)
10 No. 9 in microseconds (DWMINM) 6 Value in seconds is not included.
11 Maximum unit value of WRITE (DWMAX) 10 In seconds (rounded off)
12 No. 11 in microseconds (DWMAXM) 6 Value in seconds is not included.
13 Average unit value of WRITE (DWAVG) 10 In seconds (rounded off)
14 No. 13 in microseconds (DWAVGM) 6 Value in seconds is not included.
15 Total WRITE time (DWSUM) 10 In seconds (rounded off)
16 No. 15 in microseconds (DWSUMM) 6 Value in seconds is not included.
17 Parallel WRITE time (DWPARA) 10 In seconds (rounded off)
18 No. 17 in microseconds (DWPARAM) 6 Value in seconds is not included.
19 Execution time (DWTOTAL) 10 In seconds (rounded off)
20 No. 17 in microseconds (DWTOTALM) 6 Value in seconds is not included.
21 System-specific information (DWLSNGET) 10 In seconds (rounded off)
22 System-specific information (DWLSNGETM) 6 Value in seconds is not included.
23 System-specific information (DWSYNCLIST) 10 In seconds (rounded off)
24 System-specific information (DWSYNCLISTM) 6 Value in seconds is not included.
25 System-specific information (DWSEMOP) 10 In seconds (rounded off)
26 System-specific information (DWSEMOPM) 6 Value in seconds is not included.

Note
If the WRITE count is fewer than the total number of pages output (OUT PAGE), information is output in the batch mode. When information is output in the batch mode, the unit value of WRITE in Nos. 9 through 14 may be greater than when information is not output in the batch mode.

* This information is displayed when the cause is set to P (pre-sync); otherwise, the null value is displayed.

Table 14-15 Record format of a DAT-format file (SQL static optimization information)

No. Field name (title bar) Attribute Maximum length Remarks
1 Host name (HOST) Character 32 [Figure]
2 UAP name (UAP NAME)
3 Service name (SERVICE NAME) 31
4 Front-end server name (FES NAME) 8
5 Connection number (CONNECT NO) Numeric 10 Serial number assigned to each connection in one front-end server
6 SQL counter (SQL COUNTER) [Figure]
7 Front-end server process ID (FES PROCESS ID)
8 Operation code (OPERATION CODE) Character 4 For the operation codes, see Table 14-10.
9 Section number (SECTION NO) Numeric 5 [Figure]
10 SQL type code (SQL TYPE CODE) Character 4 For SQL type codes, see Table 14-11.
11 Server name (SERVER NAME) 8 [Figure]
12 Syntax analysis start time (PARSE START(S)) 14 Format:
MM/DD/hh:mm:ss
13 No. 12 in microseconds (PARSE START (MICRO)) Numeric 6 Value in seconds is not included.
14 Syntax analysis termination time (PARSE END(S)) Character 14 Format:
MM/DD/hh:mm:ss
15 No. 14 in microseconds (PARSE END (MICRO)) Numeric 6 Value in seconds is not included.
16 Syntax analysis execution time (PARSE EXEC TIME(SEC)) 10 In seconds (value is rounded off)
17 No. 16 in microseconds (PARSE EXEC TIME(MICRO)) Value in seconds is included.
18 Semantic analysis start time (SEMAN START(S)) Character 14 Format:
MM/DD/hh:mm:ss
19 No. 18 in microseconds (SEMAN START(MICRO)) Numeric 6 Value in seconds is not included.
20 Semantic analysis termination time (SEMAN END(S)) Character 14 Format:
MM/DD/hh:mm:ss
21 No. 20 in microseconds (SEMAN END(MICRO)) Numeric 6 Value in seconds is not included.
22 Semantic analysis execution time (SEMAN EXEC TIME(SEC)) 10 In seconds (Value is rounded off.)
23 No. 22 in microseconds (SEMAN EXEC TIME(MICRO)) Value in seconds is included.
24 Optimization start time (OPT START(S)) Character 14 Format:
MM/DD/hh:mm:ss
25 No. 24 in microseconds (OPT START(MICRO)) Numeric 6 Value in seconds is not included.
26 Optimization termination time (OPT END(S)) Character 14 Format:
MM/DD/hh:mm:ss
27 No. 26 in microseconds (OPT END(MICRO)) Numeric 6 Value in seconds is not included.
28 Optimization execution time (OPT EXEC TIME(SEC)) 10 In seconds (value is rounded off)
29 No. 28 in microseconds (OPT EXEC TIME(MICRO)) Value in seconds is included.
30 SQL object generation start time (SQLOBJ GEN START(S)) Character 14 Format:
MM/DD/hh:mm:ss
31 No. 30 in microseconds (SQLOBJ GEN START(MICRO)) Numeric 6 Value in seconds is not included.
32 SQL object generation termination time (SQLOBJ GEN END(S)) Character 14 Format:
MM/DD/hh:mm:ss
33 No. 32 in microseconds (SQLOBJ GEN END(MICRO)) Numeric 6 Value in seconds is not included.
34 SQL object generation execution time (SQLOBJ GEN EXEC TIME(SEC)) 10 In seconds (value is rounded off)
35 No. 34 in microseconds (SQLOBJ GEN EXEC TIME(MICRO)) Value in seconds is included.
36 SQL object registration start time (SQLOBJ ENT START(S)) Character 14 Format:
MM/DD/hh:mm:ss
37 No. 36 in microseconds (SQLOBJ ENT START(MICRO)) Numeric 6 Value in seconds is not included.
38 SQL object registration termination time (SQLOBJ ENT END(S)) Character 14 Format:
MM/DD/hh:mm:ss
39 No. 38 in microseconds (SQLOBJ ENT END(MICRO)) Numeric 6 Value in seconds is not included.
40 SQL object registration execution time (SQLOBJ ENT EXEC TIME(SEC)) 10 In seconds (value is rounded off)
41 No. 40 in microseconds (SQLOBJ ENT EXEC TIME(MICRO)) Value in seconds is included.

Table 14-16 Record format of a DAT-format file (SQL dynamic optimization information)

No. Field name (title bar) Attribute Maximum length Remarks
1 Host name (HOST) Character 32 [Figure]
2 UAP name (UAP NAME)
3 Service name (SERVICE NAME) 31
4 Front-end server name (FES NAME) 8
5 Connection number (CONNECT NO) Numeric 10 Serial number assigned to each connection in one front-end server
6 SQL counter (SQL COUNTER) [Figure]
7 Front-end server process ID (FES PROCESS ID)
8 Operation code (OPERATION CODE) Character 4 For operation codes, see Table 14-10.
9 Section number (SECTION NO) Numeric 5 [Figure]
10 SQL type code (SQL TYPE CODE) Character 4 For SQL type codes, see Table 14-11.
11 Server name (SERVER NAME) 8 [Figure]
12 Dynamic optimization start time (DYNAMIC START) 14 Format:
MM/DD/hh:mm:ss
13 No. 12 in microseconds (START(MICRO)) Numeric 6 Value in seconds is not included.
14 Dynamic optimization termination time (DYNAMIC END) Character 14 Format:
MM/DD/hh:mm:ss
15 No. 14 in microseconds (END(MICRO)) Numeric 6 Value in seconds is not included.
16 Dynamic optimization execution time (DYNAMIC EXEC TIME(SEC)) 10 In seconds
17 No. 16 in microseconds (DYNAMIC EXEC TIME(MICRO)) Value in seconds is included.
18 System-specific information (SUB SECTION COUNT) 5 [Figure]
19 System-specific information (SUB SECTION NO)
20 SQL object type (SQLOBJ KIND) Character 1 F: Front end
H: Foreign table access
J: Sort/join
T: Base table scan
21 Requested servers count (REQ SERVER) Numeric 10 [Figure]
22 Allocated servers count (ALC SERVER)
23 Allocated server name (ALC SERVER NAME) Character 8
24 RDAREA ID (RDAREA ID) Numeric 10

Table 14-17 Record format of a DAT-format file (SQL object execution information)

No. Field name (title bar) Attribute Maximum length Remarks
1 Host name (HOST) Character 32 [Figure]
2 UAP name (UAP NAME)
3 Service name (SERVICE NAME) 31
4 Front-end server name (FES NAME) 8
5 Connection number (CONNECT NO) Numeric 10 Serial number assigned to each connection in one front-end server.
6 SQL counter (SQL COUNTER) [Figure]
7 Front-end server process ID (FES PROCESS ID)
8 Server name (SERVER NAME) Character 8
9 Thread number (THREAD NO) Numeric 5
10 Operation code (OPERATION CODE) Character 4 For operation codes, see Table 14-10.
11 Section number (SECTION NO) Numeric 5 [Figure]
12 System-specific information (SUB SECTION NO)
13 SQL code (SQLCODE) 10
14 SQL object execution start time (SQLOBJ START) Character 14 Format:
MM/DD/hh:mm:ss
15 No. 14 in microseconds (START(MICRO)) Numeric 6 Value in seconds is not included.
16 SQL object execution termination time (SQLOBJ END) Character 14 Format:
MM/DD/hh:mm:ss
17 No. 16 in microseconds (END(MICRO)) Numeric 6 Value in seconds is not included.
18 SQL object execution time (SQLOBJ EXEC TIME(SEC)) 10 In seconds (value is rounded off)
19 No. 18 in microseconds (SQLOBJ EXEC TIME(MICRO)) Value in seconds is included.
20 Number of rows retrieved for SQL object (FETCH ROW) [Figure]
21 Number of rows inserted for SQL object (INSERT ROW)
22 Number of rows updated for SQL object (UPDATE ROW)
23 Number of rows deleted for SQL object (DELETE ROW)
24 Number of work table rows created (CREATE LIST)
25 Number of work table rows deleted (DROP LIST)
26 Send operations count (SEND)
27 Length of send data (SEND DATA SIZE)
28 Receive operations count (RECEIVE)
29 Length of receive data (RECEIVE DATA SIZE)
30 Number of times work tables were created (CREATE TMP LIST)
31 Number of times work tables were deleted (DROP TMP LIST)
32 HiRDB file output operations count (IOS OUTPUT)
33 Buffer input operations count (BUFFER INPUT)
34 SELECT APSL number (SEL APSL NO)
35 SQL object type (SQLOBJ KIND) Character 1 F: Front end
J: Sort/join
T: Base table scan
36 Number of times processing requests were issued to foreign server (FOREIGN REQUEST COUNT) Numeric 10 [Figure]
37 Foreign server processing time (FOREIGN EXEC TIME) In seconds
38 No. 37 in microseconds (FOREIGN EXEC TIME(MICRO)) In microseconds (includes the value in seconds)
39 Number of rows retrieved on the foreign server (FOREIGN FETCH ROW) [Figure]
40 Number of rows inserted in the foreign server (FOREIGN INSERT ROW) [Figure]
41 Number of rows updated on the foreign server (FOREIGN UPDATE ROW) [Figure]
42 Number of rows deleted on the foreign server (FOREIGN DELETE ROW) [Figure]

Note
Nos. 36-42 are output when the HiRDB External Data Access facility is used. If this facility is not used, 0 or **** is output.

Table 14-18 Record format of a DAT-format file (SQL object transfer statistical information)

No. Field name (title bar) Attribute Maximum length Remarks
1 Host name (HOST) Character 32 [Figure]
2 UAP name (UAP NAME)
3 Front-end server name (FES NAME) 8
4 Connection number (CONNECT NO) Numeric 10
5 Front-end server process ID (FES PROCESS ID)
6 Server name (SERVER) Character 8 [Figure]
7 System-specific information (SERVICE KIND) 1 [Figure]
8 Operation code (OPERATION CODE) 4 For operation codes, see Table 14-10.
9 Section number (SECTION NO) Numeric 5 [Figure]
10 System-specific information (SUB SECTION NO)
11 SQL type code (SQL TYPE CODE) Character 4 For SQL type codes, see Table 14-11.
12 SQL code (SQLCODE) Numeric 10 [Figure]
13 Service start time (SERVICE START) Character 14 Format:
MM/DD/hh:mm:ss
14 No. 13 in microseconds (SERVICE START(MICRO)) Numeric 6 Value in seconds is not included.
15 Service termination time (SERVICE END) Character 14 Format:
MM/DD/hh:mm:ss
16 No. 15 in microseconds (SERVICE END(MICRO)) Numeric 6 Value in seconds is not included.
17 Service execution time (SERVICE EXEC TIME(SEC)) 10 In seconds (value is rounded off)
18 No. 17 in microseconds (SERVICE EXEC TIME(MICRO)) Value in seconds is included.
19 SQL object transfer start time (TRANSFER START) Character 14 Format:
MM/DD/hh:mm:ss
20 No. 19 in microseconds (TRANSFER START(MICRO)) Numeric 6 Value in seconds is not included.
21 SQL object transfer end time (TRANSFER END) Character 14 Format:
MM/DD/hh:mm:ss
22 No. 21 in microseconds (TRANSFER END(MICRO)) Numeric 6 Value in seconds is not included.
23 SQL object transfer time (TRANSFER TIME(SEC)) 10 In seconds (value is rounded off)
24 No. 23 in microseconds (TRANSFER TIME(MICRO)) Value in seconds is included.
25 SQL object transfer size (TRANSFER SIZE) 10 In bytes

Notes
  1. If SERVICE KIND is N, P, or R, the utility sets a null value (0 or " ") in items 8 to 11.
  2. The utility sets a null value (0 or " ") in items 19 to 25 in the following cases:
  • The SQL object was found in the SQL object buffer.
  • An error occurred before the SQL object is transferred (the SQL code is a non-zero value).

    Table 14-19 Record format of a DAT-format file (SQL statement statistical information)

    No. Field name (title bar) Attribute Maximum length Remarks
    1 Host name (HOST) Character 32 [Figure]
    2 UAP name (UAP NAME)
    3 Module name (MODULE NAME)
    4 Service name (SERVICE NAME) 31
    5 Front-end server name (FES NAME) 8
    6 Connection number (CONNECT NO) Numeric 10 Serial number assigned to each connection in one front-end server
    7 SQL counter (SQL COUNTER) [Figure]
    8 Front-end server process ID (FES PROCESS ID)
    9 Operation code (OPERATION CODE) Character 4 For operation codes, see Table 14-10.
    10 Section number (SECTION NO) Numeric 5 [Figure]
    11 SQL length (SQL LENGTH) 10
    12 SQL statement (SQL STRING) Character 2M An SQL statement is output a maximum of 30 KB from the beginning.

Note
SQL statement history statistics are output only when the operation code is one of the following: AUXI, OPN2, CALL, AUX2, or SET.

Table 14-20 Record format of a DAT-format file (CONNECT/DISCONNECT statistical information)

No. Field name (title bar) Attribute Maximum length Remarks
1 Host name (HOST) Character 32 [Figure]
2 UAP name (UAP NAME)
3 Connect/disconnect time (CONNECT/DISCONNECT TIME) 14 Format: MM/DD/hh:mm:ss
4 No. 3 in microseconds (CONNECT/DISCONNECT TIME(MICRO)) Numeric 6 Value in seconds is not included.
5 Front-end server process ID (FES PROCESS ID) 10 [Figure]
6 SQL code (SQLCODE)
7 Connect/disconnect status (CONNECT/DISCONNECT STATUS) Character 1 C: CONNECT
D: DISCONNECT
8 Client group ID (CLT GROUP) 1: WS client
2: PC client
3: Mainframe-based client
8: X/Open XA interface
0: Utility
#: Other
blank: None (space: 0[Figure]20)
9 Privilege information (PRIVILEGE) C: CONNECT privilege
D: DBA privilege
blank: None (space: 0[Figure]20)
10 Connect/disconnect type (CONNECT/DISCONNECT KIND) N: Normal (CONNECT/DISCONNECT)
S: set session authorization
I: Internal disconnect
T: Transaction resolution (OLTP only)
11 Authorization identifier (USER NAME) 30 [Figure]
12 Password (PASSWORD) Upon KFPA11560-E error (invalid password)
13 CLT IP address (CLT IP ADDRESS) 15 Format: XXX.XXX.XXX.XXX

Table 14-21 Foreign server operation statistical information

No. Field name (title bar) Attribute Maximum length Remarks
1 Host name (HOST) Character 32 [Figure]
2 Server name (SERVER NAME) 8
3 Foreign server ID (FOREIGN SERVER ID) Numeric 10 [Figure]
4 Foreign server name (FOREIGN SERVER) Character 30
5 DBMS type of the foreign server (DBMS KIND) 1 P: HiRDB
R: XDM/RD
O: Oracle
6 Number of times connection was established (CONNECT COUNT) Numeric 10 [Figure]
7 Number of connection errors (CONNECT ERROR COUNT)
8 Number of connection errors due to number of licenses exceeded (LICENSE OVER COUNT)
9 Commits count (COMMIT COUNT)
10 Rollbacks count (ROLLBACK COUNT)
11 Number of rows retrieved (FETCH ROW)
12 Information used by the system (DBA CONNECT COUNT)
13 Information used by the system (DBA DISCONNECT COUNT)
14 Information used by the system (DBA PREPARE COUNT)
15 Information used by the system (DBA OPEN COUNT)
16 Information used by the system (DBA FETCH COUNT)
17 Information used by the system (DBA CLOSE COUNT)
18 Information used by the system (DBA EXECUTEIMD COUNT)
19 Information used by the system (DBA EXECUTE COUNT)
20 Information used by the system (DBA LOCKTABLE COUNT)
21 Foreign server processing time (FOREIGN EXEC TIME) In seconds
22 No. 21 in microseconds (FOREIGN EXEC TIME(MICRO)) In microseconds (includes the value in seconds)
23 Foreign server processing request count (FOREIGN EXEC COUNT) [Figure]
24 Number of rows inserted in the foreign server (FOREIGN INSERT ROW) [Figure]
25 Number of rows updated on the foreign server (FOREIGN UPDATE ROW) [Figure]
26 Number of rows deleted on the foreign server (FOREIGN DELETE ROW) [Figure]

Table 14-22 Foreign server utilization statistical information

No. Field name (title bar) Attribute Maximum length Remarks
1 Host name (HOST) Character 32 [Figure]
2 UAP name (UAP NAME) 30
3 Service name (SERVICE NAME) 31
4 Front-end server name (FES NAME) 8
5 Connection number (CONNECT NO) Numeric 10 [Figure]
6 SQL counter (SQL COUNTER)
7 Front-end server's process ID (FES PROCESS ID)
8 Back-end server name (BES NAME) Character 8 [Figure]
9 Back-end server's process ID (BES PROCESS ID) Numeric 10 [Figure]
10 Thread number (THREAD ID)
11 Section number (SECTION NO) 5
12 Information used by the system (SUB SECTION NO)
13 Foreign server ID (FOREIGN SERVER ID) 10
14 Foreign server name (FOREIGN SERVER) Character 30 [Figure]
15 SQL type code (SQL TYPE CODE)1 4
16 Array FETCH count on the foreign server (ARRAY FETCH ROW) Numeric 10 [Figure]
17 FETCH count on the foreign server (ARRAY FETCH COUNT)
18 Number of rows retrieved on the foreign server (FETCH ROW)
19 SQL execution start time at the foreign server (EXEC START) Character 14 Format: MM/DD/hh:mm:ss
20 No. 19 in microseconds (START(MICRO)) Numeric 6 Value in seconds is not included.
21 SQL execution end time at the foreign server (EXEC END) Character 14 Format: MM/DD/hh:mm:ss
22 No. 21 in microseconds (END(MICRO)) Numeric 6 Value in seconds is not included.
23 SQL execution time at the foreign server (EXEC TIME(SEC)) 10 In seconds
24 No. 23 in microseconds (EXEC TIME(MICRO)) In microseconds (includes the value in seconds)
25 Foreign server processing request count (EXEC COUNT) [Figure]
26 Number of rows inserted in the foreign server (FOREIGN INSERT ROW) [Figure]
27 Number of rows updated on the foreign server (FOREIGN UPDATE ROW) [Figure]
28 Number of rows deleted on the foreign server (FOREIGN DELETE ROW) [Figure]

1 For details about SQL TYPE CODE, see Table 14-11.