Platform Analytics 7 Dataflow

Daily Job Reserved Resource Usage datamart

Main ETL XML file

joblicensecostDaily.xml

Output CSV files

joblicensecostDaily.csv

Record sample

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

"2005-10-31", 2, 1.0, "LSF62", "dazhang", "P2", "test_feature_2", 37780.1333, 0

"2005-10-31", 2, 0.0, "LSF62", "dazhang", "P2", "test_feature_1", 60.1167, 0

Column description

The Daily Job Reserved Resource Usage datamart gets its information from the wi_jobresusagecostdaily table.

The following table describes each column and its source:
Column name
Source and description
FINISHDATE
This is the date portion of the localized finish_time column in the wi_jobresusagecostdaily table, and the format is "YYYY-MM-DD".
FINISHWEEKDAY
This is the weekday number from the localized finish_time column in the wi_jobresusagecostdaily table, where "1" is Sunday, "2" is Monday, etc.
FINISHCOREHOUR
The source is the core_hour in the wi_jobresusagecostdaily table. The core_hour is based on the localized 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).
CLUSTERNAME
This is the cluster_name in the wi_clustercode table, which is based on the cluster_code column in the wi_jobresusagecostdaily 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_jobresusagecostdaily table.
PROJECTNAME
The source is the project_name column in the wi_projectcode table, which is based on the project_code column from wi_jobresusagecostdaily table.
RESOURCENAME
The source is the resource_name in the wi_resourcecode table, which is based on the resource_code column of the wi_jobresusagecostdaily table.
USAGE
The source is the res_usage column in the wi_jobresusagecostdaily table.
COST
This field returns the following calculation:
res_usage*rate.
where res_usage comes in the wi_jobresusagecostdaily table, and rate comes in the wi_jobresusagerate table, which is based on the cluster_code and resource_code columns in the wi_jobresusagecostdaily table.