beautypg.com

Query_runtime_stats_v1 field definitions – HP Neoview Release 2.4 Software User Manual

Page 107

background image

Because statistics are updated as the query executes, you can use this view to monitor running
queries.
With regard to when query statistics will be present, a single row is written per query execution.
Thus, if the same query is executed 3 times, 3 rows will be present. If a query runs for a long time
(that is, longer than the configured data collection interval), the statistics for that query will be
updated at each data collection interval.
When compared with the other available views that provide information for queries, this one
contains many additional fields. Fields available only in this view are marked with asterisks (*)
in the list below.
Note that only queries managed by Neoview Workload Management Services are reflected in
this view. For information about the features and limitations of WMS, see the Neoview Workload
Management Services Guide
.
Also note that query completion statistics are not guaranteed to be present in this view.
The interval for collecting data while a query runs is set in the Dashboard configuration. Contact
your HP Support representative for assistance in changing the configuration.
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 QUERY_RUNTIME_STATS_V1 field definitions is SEGMENT_ID, NODE_ID,
PIN, and SUBMIT_TS.

Table C-7 QUERY_RUNTIME_STATS_V1 Field Definitions

Description

Data Type

Field Name (* means available only in
this view)

ANSI Timestamp indicating when the
query first entered Workload
Management Services.

TIMESTAMP(6) NO DEFAULT

SUBMIT_TS

Segment number of the NDCS
(connectivity) server that reported the
statistics.
This is the segment where the master
executor process which executed the
query was running.

SMALLINT UNSIGNED NO
DEFAULT

SEGMENT_ID

Processing node number of the NDCS
server which reported the statistics.
This is the node where the master
executor process which executed the
query was running.

SMALLINT UNSIGNED NO
DEFAULT

NODE_ID

Process identification number of the
NDCS server which reported the
statistics. This is the node where the
master executor process which
executed the query was running.

SMALLINT UNSIGNED NO
DEFAULT

PIN

Starting priority of the Master Executor
process.

SMALLINT UNSIGNED NO
DEFAULT

START_PRIORITY

Cumulative node utilization
percentage for the Master Executor
process during the elapsed time of this
query.

SMALLINT UNSIGNED NO
DEFAULT

MASTER_BUSY*

Cumulative node utilization
percentage for the busiest Executor
Server Process in the query.

SMALLINT UNSIGNED NO
DEFAULT

NODE_BUSY_FOR_BUSIEST_ESP*

VIEW NEO.HP_METRICS.QUERY_RUNTIME_STATS_V1

107