Platform Analytics 7 Dataflow

Hourly Job Reserved Resource Consumption datamart

Main ETL XML file

joblicensecost.xml

Output CSV files

joblicensecost.csv

Record sample

FINISHDATE,FINISHHOUR,FINISHWEEKDAY,FINISHCOREHOUR,FINISHSHIFT,CLUSTERNAME,USERNAME,PROJECTNAME,RESOURCENAME,USAGE,COST

"2005-10-31",12,2,1,"Shift 2","LSF62","dazhang","P1","tmp",1001,0

"2005-10-31",11,2,1,"Shift 2","LSF62","dazhang","P2","swp",31486.6667,0

Column description

The Hourly Job Reserved Resource Consumption datamart gets its information from the wi_jobresusagecost table.

The following table describes each column and its source:
Column name
Source and description
CLUSTERNAME
This is the cluster_name in the wi_clustercode table, which is based on the cluster_code column in the wi_jobresusagecost table.
COST
This field returns the following calculation:
res_usage*rate.
where res_usage comes in the wi_jobresusagecost table, and rate comes in the wi_jobresusagerate table, which is based on the cluster_code and resource_code columns in the wi_jobresusagecost table.
FINISHCOREHOUR
The source is the core_hour in the wi_jobresusagecost table. The core_hour is based on the original localized hourly time_stamp. If core_hour is within the range of 9am to 5pm on Monday to Friday, this field returns 1, otherwise, it returns 0.
A value of 1 means that the data in this record is aggregated from the core_hour portion of the day (9am to 5pm, Monday to Friday).
FINISHDATE
This is the date portion of the localized finish_time column in the wi_jobresusagecost table, and the format is "YYYY-MM-DD".

FINISHHOUR
This is the hour portion of the localized finish_time column in the wi_jobresusagecost table.
FINISHSHIFT
This is based on the localized finish_time in the wi_jobmart table. The shifts transformer maps the localized finish_time based on shift mapping and returns the user-defined shift.
FINISHWEEKDAY
This is the weekday number from the localized finish_time column in the wi_jobresusagecost table, where "1" is Sunday, "2" is Monday, etc.
PROJECTNAME
The source is the project_name column in the wi_projectcode table, which is based on the project_code column from wi_jobresusagecost table.
RESOURCENAME
The source is the resource_name in the wi_resourcecode table, which is based on the resource_code column of the wi_jobresusagecost table.
USAGE
The source is the res_usage column in the wi_jobresusagecost table.
USERNAME
The source is the user_name column in the wi_username table, which is based on the user_code column of the wi_jobresusagecost table.