View neo.hp_metrics.odbc_query_stats_v1, Odbc_query_stats_v1 field definitions – HP Neoview Release 2.3 Software User Manual
Page 22
Table 3-1 Comparison of ODBC Query Statistics and Query Runtime Statistics (continued)
Query Runtime Statistics
ODBC Query Statistics
Data is available only for queries monitored by WMS.
(WMS monitors only NON_UNIQUE queries.)
Data is available for all queries, whether unique or
non-unique.
Synchronized with QueryRTS entity in Neoview
Management Dashboard.
Not synchronized with query data in Neoview
Management Dashboard.
VIEW NEO.HP_METRICS.ODBC_QUERY_STATS_V1
This view preserves separate rows for data collected at the start and end of a query. If information
is not available for a field (because the record represents the start of a session and the field is not
populated until the end), the value in that field is NULL. To distinguish easily between start and
end records, you can filter results according to the value of STATEMENT_STATUS.
Character columns use ISO88591 or UCS2 encoding, as appropriate to the Neoview platform
configuration. In the following table:
•
If a data type is given as CHAR or NCHAR, then CHAR applies if the character set is
ISO88591, and NCHAR applies if the character set is UCS2.
•
If a data type is given as VARCHAR or NCHAR VARYING, the VARCHAR applies if the
character set is ISO88591, and NCHAR VARYING applies if the character set is UCS2.
Table 3-2 ODBC_QUERY_STATS_V1 Field Definitions
Description
Data Type
Field Name
Segment number of the NDCS server
that reported the statistics.
INTEGER UNSIGNED
SEGMENT_ID
Processing node number of the NDCS
server that reported the statistics.
INTEGER UNSIGNED
NODE_ID
ANSI SQL timestamp in Local Civil
Time when the statistics were
recorded in the Repository.
TIMESTAMP(6)
QUERY_EVENT_DATETIME
ANSI SQL date in Local Civil Time
when the statistics were recorded in
the Repository.
DATE
QUERY_EVENT_DATE
ANSI SQL time in Local Civil Time
when the statistics were recorded in
the Repository.
TIME(6)
QUERY_EVENT_TIME
ANSI SQL timestamp in Coordinated
Universal Time when the statistics
were recorded in the Repository.
TIMESTAMP(6)
QUERY_EVENT_DATETIME_UTC
ANSI SQL date in Coordinated
Universal Time when the statistics
were recorded in the Repository.
DATE
QUERY_EVENT_DATE_UTC
ANSI SQL time in Coordinated
Universal Time when the statistics
were recorded in the Repository.
TIME(6)
QUERY_EVENT_TIME_UTC
Unique session ID generated by the
NDCS server when the ODBC/JDBC
connection was established.
CHARACTER(108) or
NCHAR(108)
SESSION_ID
Message sequence number generated
by NDCS. Numbering starts at 0 and
is incremented by 1 for each new
record.
SMALLINT UNSIGNED
SEQUENCE_NUM
22
Repository Views