Platform Analytics 7 Dataflow

WI_DPR_BYINTERVAL table

The WI_DPR_BYINTERVAL table gets its information from the DPR_BYINTERVAL raw table.
This table is a collection of data taken from the DPR_BYINTERVAL raw table, which is grouped by the ClusterName,HostType, PendreasonType, PendReason, UserName, ProjectName, QueueName, and TimeDiff field values for all the pending reasons sampled at the same time.
The following table describes each column and its source:.
Column Name
Description
Key
CLUSTER_CODE
This comes from the CLUSTER_NAME field in the raw table. Once we get the cluster_name, we then look it up in the WI_DIMENSIONCODE table to see if we have already has a record of it in there. If we do, then we'll get the code back, otherwise, we will insert it into the WI_DIMENSIONCODE table and generate the code. The code itself is a positive integer and each new code is equal to the maximum of the existing sequence+1.
Primary key
TIME_STAMP
This is the time stamp of all the record collections in the next hour, in GMT. For example, 02:00:00 means that all records between 02:00 and 02:59:59 are collected into this record.
Primary key
PROJECT_CODE
This is the project code. The source is the ProjectName field in the DPR_BYINTERVAL raw table.
The project code is obtained by looking up the ProjectName in the wi_projectcode and generating a new code if it doesn't exist.
Primary key
USER_CODE
This is the user code. The source is the UserName field in the DPR_BYINTERVAL raw table.
The user code is obtained by looking up the UserName in the wi_usercode table and generating a new code if it doesn't exist.
Primary key
QUEUE_CODE
This is the queue code. The source is the QueueName field in the DPR_BYINTERVAL raw table.
The queue code is obtained by looking up the QueueName in the wi_queuecode table and generating a new code if it doesn't exist.
Primary key

HOST_TYPE_CODE

This is the host type code. The source is the HOST_TYPE field in the DPR_BYINTERVAL raw table.

The host type code is obtained by looking up the host type in the WI_HOSTTYPECODE and generating a new code if it doesn't exist.

Primary key
REASON_TYPE_CODE
This is the reason type code. The source is the PendReasonType field in the DPR_BYINTERVAL raw table.
The reason type code is obtained by looking up the PendReason type in the wi_dimensioncode and generating a new code if it doesn't exist.
Primary key
REASON_CODE
The source is the PendReason field in the DPR_BYINTERVAL raw table.
The reason code is obtained by looking up the PendReason fields in the wi_dimensioncode table and generating a new code if it doesn't exist.
Primary key
JOB_NUM
The source is the PendReason field in the DPR_BYINTERVAL raw table.
The job number is aggregation of the grouping of the ClusterName, HostType,PendReasonType, PendReason, UserName, ProjectName, QueueName, and TimeDiff for the hour.

PEND_MINUTES
The total time the job was pending, in minutes.
The source is the PendReason field in the DPR_BYINTERVAL raw table..
The pending minutes is aggregation of the grouping of the ClusterName, HostType,PendReasonType, PendReason, UserName, ProjectName, QueueName, and TimeDiff for the hour and converting this value to minutes.

LOCAL_SERVERTIME
This is the localized time stamp from the data file according to the local server.

INSERT_SEQ
This is a unique sequence number generated by the system for each new record inserted.