Platform Analytics 7 Dataflow
Hourly License Usage Statistics by Feature - Consumption datamart
Main ETL XML file
licenseConsumptionByFeature-sp005.xml
Output CSV files
licenseConsumptionByFeature_sp005.csv
Record sample
DATE,HOUR,WEEKDAY,COREHOUR,SHIFT,SERVER,VENDOR,FEATURE,USERNAME,HOSTNAME,USEDMINUTES,LICENSECOST
"2005-11-07",18,2,0,"Shift 3","server1","lsf_ld0","myjob0","user0","test",60,0
"2005-11-07",18,2,0,"Shift 3","server1","lsf_ld0","myjob0","user1","test",60,0
Column description
The Hourly License Usage by Feature - Consumption datamart get its information from the wi_licenseconsumptmart table.
The following table briefly describes each column and its source:
Column name |
Source and description |
DATE |
This is the date portion of the localized time_stamp column in the wi_licenseconsumptmart table, and the format is "YYYY-MM-DD". |
HOUR |
This is the hour portion of the localized time_stamp column in the wi_licenseconsumptmart table. |
WEEKDAY |
This is the weekday number from the localized time_stamp column in the wi_licenseconsumptmart table, where "1" is Sunday, "2" is Monday, etc. |
COREHOUR |
The source is the localized time_stamp in the wi_licenseconsumptmart 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 time_stamp in the wi_licenseconsumptmart table. The shifts transformer maps the localized time_stamp based on shift mapping and returns the user-defined shift. |
VENDOR |
The source is lic_vendor_name in the wi_licvendorcode table, which is based on lic_vendor_code in the wi_licenseconsumptmart table. The vendor name is mapped, and the mapped value is put into this field. |
FEATURE |
The source is lic_feature_name in the wi_licfeaturecode table, which is based on lic_feature_code in the wi_licenseconsumptmart table. The feature name is mapped, and the mapped value is put into this field. |
USERNAME |
The source is user_name in the wi_usercode table, which is based on user_code in the wi_licenseconsumptmart table. |
HOSTNAME |
The source is host_name in the wi_hostcode table, which is based on host_code in the wi_licenseconsumptmart table. |
USEDMINUTES |
The source is the used_minutes column from the wi_licenseconsumptmart table. |
LICENSECOST |
The license cost is based on the rate * (multiplied by) used_minutes. The rate is user-defined from within the wi_licenserate table. It is obtained by matching lic_feature_code, lic_vendor_code and core_hour, and then using the localized time_stamp to match up with the start time in the wi_licenserate table. The most recent rate is obtained. If the rate is null, then an empty string is returned. |