Platform Analytics 7 Dataflow

Daily BLD License Usage datamart

Main ETL XML file

wi_bld_license_usage.xml

Output CSV files

bldlicenseusage_byprojectandfeature.csv

bldlicenseusage_byprojectandfeature_zero.csv (include dummy points for every combination)

Record sample

bldlicenseusage_byprojectandfeature.csv

DATE, WEEKDAY, FEATURENAME, PEAKBYFEATURE, AVERAGEBYFEATURE

"2005-08-23", 3, "F1", 8.0, 0.1875

"2005-08-23", 3, "test_feature_1", 6.0, 0.1770

bldlicenseusage_byprojectandfeature_zero.csv

DATE, WEEKDAY, FEATURENAME, PEAKBYFEATURE, AVERAGEBYFEATURE

"2005-08-23", 3, "F1", 0.0, 0.0

"2005-08-23", 3, "test_feature_1", 0.0, 0.0

Column description

The Daily 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".
WEEKDAY
This is the weekday number from the localized start_time in the wi_bldinfo table, where "1" is Sunday, "2" is Monday, etc.
PROJECTNAME
The source is the project_name in 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 lic_feature_code in the wi_bldinfo table. The feature name then undergoes a mapping process so that 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 day:
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-day (96-hour) average of the PEAKBYFEATUREANDPROJECT field in this datamart.