Platform Analytics 7 Dataflow
Hourly BLD License Usage datamart
Main ETL XML file
wi_bld_license_usageHourly.xml
Output CSV files
bldlicenseusage_byprojectandfeature_hourly.csv
bldlicenseusage_byprojectandfeature_zero_hourly.csv (include dummy points for every combination)
Record sample
bldlicenseusage_byprojectandfeature_hourly.csv
DATE,WEEKDAY,HOUR,COREHOUR,SHIFT,FEATURENAME,PEAKBYFEATURE,AVERAGEBYFEATURE
"2005-08-26",6,5,0,"Shift 1","F1",8.0,6.0
"2005-08-26",6,5,0,"Shift 1","F2",9.0,6.75
bldlicenseusage_byprojectandfeature_zero_hourly.csv
DATE,WEEKDAY,HOUR,COREHOUR,SHIFT,FEATURENAME,PEAKBYFEATURE,AVERAGEBYFEATURE
"2005-08-26",6,5,0,"Shift 1","F1",0.0,0.0
"2005-08-26",6,5,0,"Shift 1","F2",0.0,0.0
Column description
The Hourly BLD License Usage datamart gets its information from the wi_bldinfo table. It also queries the wi_licutilfeaturemart table for the total available licenses.
The following table describes each column and its source:
Column name |
Source and description |
DATE |
This is the date portion of the localized start_time in the wi_bldinfo table, and the format is "YYYY-MM-DD". |
HOUR |
This is the hour portion of the localized start_time in the wi_bldinfo table. |
WEEKDAY |
This is the weekday number from the localized start_time in the wi_bldinfo table, where "1" is Sunday, "2" is Monday, etc. |
COREHOUR |
The source is the localized time_stamp in the wi_bldinfo table. If the time_stamp 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). |
SHIFT |
This is based on the localized start_time in the wi_bldinfo table. The shifts transformer maps the localized start_time based on shift mapping and returns the user-defined shift. |
PROJECTNAME |
The source is the project_name of the wi_projectcode table, which is based on the project_code column in the wi_bldinfo table. |
FEATURENAME |
The source is the lic_feature_name in the wi_licfeaturecode table, which is based on the lic_feature_code column in the wi_bldinfo table. The feature name then undergoes a mapping process, and this field returns the mapped value. |
PEAKBYFEATUREANDPROJECT |
This column depends on the sum_total column in the wi_licutilfeaturemart table. The latest sum_total value for this feature is retrieved from wi_licutilfeaturemart as total_avail.This field returns the maximum value of the following three calculations for the entire hour: SamplingKeyPeak, if total_avail is null or less than 0 total_avail*SampleKeyPeak/SamplingFeaturePeak if total_avail is less than SamplingFeaturePeak SamplingKeyPeak if the above is false where SamplingKeyPeak is the peak of the used_value of this license feature SamplingFeaturePeak is the overall peak of used_value |
AVERAGEBYFEATUREANDPROJECT |
This column depends on the sum_total column in the wi_licutilfeaturemart table. The latest sum_total value for this feature is retrieved from wi_licutilfeaturemart using as total_avail.This field returns the four-hour average of the PEAKBYFEATUREANDPROJECT field in this datamart. |