RESOURCE_METRICS
The RESOURCE_METRICS table contains the dynamic resource data as sampled from the host. The resource type is Host and the resource name is the name of the host.
Column name | Data type | Null (Y or N) | Key (PK or FK) | Comment |
---|---|---|---|---|
ATTRIBUTE_NAME | VARCHAR(256) | N | PK | The name of the resource attributes. The following metrics are collected:
|
CLUSTER_NAME | VARCHAR(128) | N | PK | The name of the cluster. |
RESOURCE_NAME | VARCHAR(128) | N | PK | The resource name. For resource_type="Host", this is the name of the host. |
RESOURCE_TYPE | VARCHAR(128) | N | Not applicable | The resource type. This table only logs host-related dynamic resource attributes. Therefore, this field is always "Host". |
TIME_STAMP_GMT | NUMERIC(13) | N | Not applicable | The record sample time in the GMT time zone. This is the number of milliseconds from midnight, 1 January, 1970. |
ATTRIBUTE_TYPE | VARCHAR(128) | N | Not applicable | The attribute value data type: "String" or "Numeric". |
TIME_STAMP | TIMESTAMP | N | PK | The record sample time in the local cluster time zone. This is based on the time of the host running the data loader. |
ATTRIBUTE_VALUE_NUM | NUMERIC(14,4) | Y | Not applicable | The numeric attribute value. |
ATTRIBUTE_VALUE_STR | VARCHAR(4000) | Y | Not applicable | The attribute value converted into a string. Numeric data types are not converted. |
INSERT_SEQ | BIGINT | N | Not applicable | The order of sequence in which this record is inserted into the table. This field is auto-incremented whenever a new record is inserted into the table. |