beautypg.com

View neo.hp_metrics.odbc_session_stats_v2, Odbc_session_stats_v2 fields – HP Neoview Release 2.4 Software User Manual

Page 36

background image

Table 3-3 ODBC_SESSION_STATS_V1 Field Definitions (continued)

Description

Data Type

Field Name

Name of the Neoview segment
used by the data source.

CHAR(10)

SEGMENT_NAME

Process name of the NDCS
server.

CHAR(18)

PROCESS_NAME

A deprecated internal
representation of a Neoview
role.

CHAR(8)

USER_ID

The name, used at time of
connection, to identify a
Neoview user. One or more
such names can map internally
to the same Neoview role.

CHAR(20)

USER_NAME

VIEW NEO.HP_METRICS.ODBC_SESSION_STATS_V2

The Repository stores a start and end row for each ODBC statement EXECUTE (active or
historical). To access the rows separately, use ODBC_SESSION_STATS_V1. In contrast, the view
ODBC_SESSION_STATS_V2 converts this information so that a single row provides complete
information about the start and the end of a session for COMPLETED session.

You can also use this view to extract UNTERMINATED queries sessions. UNTERMINATED
sessions are sessions that are still active or that terminated abnormally.

This table indicates which fields are present for completed and incomplete sessions. The source
of data fields indicates whether the value is collected at the start of the session or at the end.
Unless indicated here, field descriptions are those provided above for ODBC_SESSION_STATS_V1.

Character columns use ISO88591 or UCS2 encoding, as appropriate to the Neoview platform
configuration. If the platform is UCS2 or SJIS, all character columns are created with CHARACTER
SET UCS2. If the platform is ISO88591, all CHAR columns are created with CHARACTER SET
ISO88591.

The primary key for ODBC_SESSION_STATS_V2 field definition is SEGMENT_ID, NODE_ID,
and SESSION_EVENT_DATETIME_UTC.

Table 3-4 ODBC_SESSION_STATS_V2 Fields

Source and Notes

Data Type

Incomplete Sessions

Complete Sessions

START

CHAR(10)

SEGMENT_NAME

SEGMENT_NAME

START

INTEGER
UNSIGNED

SEGMENT_ID

SEGMENT_ID

START

INTEGER
UNSIGNED

NODE_ID

NODE_ID

START

INTEGER
UNSIGNED

PIN

PIN

END, or NULL for an incomplete
session

SMALLINT
UNSIGNED

START_PRIORITY

START_PRIORITY

START

CHAR(18)

PROCESS_NAME

PROCESS_NAME

START

CHAR(108)

SESSION_ID

SESSION_ID

START

CHAR(8)

USER_ID

USER_ID

START

CHAR(20)

USER_NAME

USER_NAME

START

CHAR(15)

CLIENT_ID

CLIENT_ID

36

Repository Views