stat_rp_hours

The stat_rp_hours table contains general metrics information on running processes on min/max and average for CPU and memory usage, total threads and process start command at the hour resolution level.

Structure

The stat_rp_hours table has the following structure:

TABLE stat_rp_hours( 

 

 

seq_id

INTEGER

NOT NULL,

 

 

cap_date

TIMESTAMP

,

 

 

machine_id

INTEGER

NOT NULL,

 

 

instance_id

INTEGER

,

 

 

process_name

VARCHAR(32)

,

 

 

max_cpu

INTEGER

,

 

 

max_mem

INTEGER

,

 

 

max_threads

INTEGER

,

 

 

avg_cpu

INTEGER

,

 

 

avg_mem

INTEGER

,

 

 

avg_threads

INTEGER

,

 

 

min_cpu

INTEGER

,

 

 

min_mem

INTEGER

,

 

 

min_threads

INTEGER

)

Column

Description

seq_id

Generated sequence number

cap_date

Date and time when these details were captured/recorded

machine_id

Machine ID

instance_id

Instance Number of the Process

process_name

Name of the Process

max_cpu

Maximum CPU usage in the last hour

max_mem

Maximum memory usage in the last hour

max_threads

Maximum threads count in the last hour

avg_cpu

Average CPU usage in the last hour

avg_mem

Average memory usage in the last hour

avg_threads

Average threads count in the last hour

min_cpu

Minimum CPU usage in the last hour

min_mem

Minimum memory usage in the last hour

min_threads

Minimum threads count in the last hour

Primary Key

None

Foreign Keys

The following foreign key is defined for this table.

Key Name

Column(s)

Referenced in Table...

fk_stat_phour_mid

machine_id

node_cluster

Indexes

The following index is defined for this table.

Index Name

Column(s) Indexed

idx_stat_rp_h

cap_date

Table Activity

The stat_rp_hours table contains one record for every hour the server is running and recording data.

Rows are added, updated and deleted in the following situations.

A row is...

When...

added

Rows are added every hour, one per each Running Process.

updated

Never

deleted

After the configured retention period defined by process attribute (value is in days).

METRICS_DATA_HOURS_KEEP