Platform Analytics 7 Dataflow

Daily License Consumption datamart

Main ETL XML file

licenseConsumptionDaily.xml

Output CSV files

licenseConsumptionDaily.csv

Record sample

DATE,WEEKDAY,COREHOUR,SERVER,VENDOR,FEATURE,USERNAME,HOSTNAME,USEDMINUTES,LICENSECOST

"2005-11-03",5,0.0,"/home/gzhou/license/license2.lic","lsf_ld0","myjob0","user0","test",390.9667,0

"2005-11-04",6,0.0,"/home/gzhou/license/license2.lic","lsf_ld0","myjob0","user0","test",960,0

Column description

The Hourly License Consumption datamart get its information from the wi_licenseconsumptmartdaily 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_licenseconsumptmartdaily table, and the format is "YYYY-MM-DD".
WEEKDAY
This is the weekday number from the localized time_stamp column in the wi_licenseconsumptmartdaily table, where "1" is Sunday, "2" is Monday, etc.
COREHOUR
The source is the core_hour in the wi_licenseconsumptmartdaily 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).
SERVER
The source is lic_server_name in the wi_licservercode table, which is based on lic_server_code in the wi_licenseconsumptmartdaily table.
VENDOR
The source is lic_vendor_name in the wi_licvendorcode table, which is based on lic_vendor_code in the wi_licenseconsumptmartdaily 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_licenseconsumptmartdaily 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_licenseconsumptmartdaily table.
HOSTNAME
The source is host_name in the wi_hostcode table, which is based on host_code in the wi_licenseconsumptmartdaily table.
USEDMINUTES
The source is the used_minutes column from the wi_licenseconsumptmartdaily 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.