Platform Analytics 7 Dataflow

Hourly License Usage datamart

Main ETL XML file

licenseusagebyuser.xml

Output CSV files

licenseusagebyuser.csv

Record sample

DATE,HOUR,WEEKDAY,COREHOUR,SHIFT,SERVER,VENDOR,FEATURE,USERNAME,SUMUSAGE,MAXUSAGE,TOTALAVAIL,SAMPLINGCOUNT

"2005-11-03",17,5,0,"Shift 3","/home/gzhou/license/license2.lic","lsf_ld0","myjob0","user0",6.0,1.0,100000.0,6.0

"2005-11-03",17,5,0,"Shift 3","/home/gzhou/license/license2.lic","lsf_ld0","myjob0","user2",6.0,1.0,100000.0,6.0

Column description

The Hourly License Usage by User datamart gets its information from the wi_licenseusagebyusermart 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_licenseusagebyusermart table, and the format is "YYYY-MM-DD".
HOUR
This is the hour portion of the localized time_stamp column in the wi_licenseusagebyusermart table.
WEEKDAY
This is the weekday number from the localized time_stamp column in the wi_licenseusagebyusermart table, where "1" is Sunday, "2" is Monday, etc.
COREHOUR
The source is the localized time_stamp in the wi_licenseusagebyusermart 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_licenseusagebyusermart table. The shifts transformer maps the localized time_stamp based on shift mapping and returns the user-defined shift.
SERVER
The source is lic_server_name in the wi_licservercode table, which is based on lic_server_code in the wi_licenseusagebyusermart table.
VENDOR
The source is lic_vendor_name in the wi_licvendorcode table, which is based on lic_vendor_code in the wi_licenseusagebyusermart 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_licenseusagebyusermart 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_licenseusagebyusermart table.
SUMUSAGE
The source is the sum_usage column in the wi_licenseusagebyusermart table.
MAXUSAGE
The source is the max_usage column in the wi_licenseusagebyusermart table.
TOTALAVAIL
The source is the total_avail column in the wi_licenseusagebyusermart table.
SAMPLINGCOUNT
The source is the sampling_count column in the wi_licenseusagebyusermart table.