Platform Analytics 7 Dataflow

WI_LICENSECONSUMPTMARTDAILY table

This describes the WI_LICENSECONSUMPTMARTDAILY table and how each column of data arises from the WI_LICENSECONSUMPTMART table.
The wi_licenseconsumptmartdaily get its data from the wi_licenseconsumptmart table. The records from the data file are first aggregated for the same period with the grouping of "UserName", "Host", "Feature", "Vendor", "Server", "TimeDiff" and "Interval". The "Value" is summed together and the maximum of "Total" is found.
The records are then being put through the license consumption transformer for the hour. The License Consumption transformer calculates consumption over a period of time. It aggregates values in a field, based on a specific time interval, and calculates one of the following: "starttime": the time stamp for each interval event. The "consumption": a sum of records from the aggregation period and "count": a count of records from the aggregation period. The transformer calculates the license consumption by multiplying the "Value" field with the event time lined up for each interval. The interval comes from the "Interval" fields in the data file. The result is then divided by 60 (so that it is in minute) and added up together. The result is then being aggregated for the localized day by summing the "Consumption" and finding the maximum of the "Count" field. The result is then recorded into this table.
This is the column description of each data column of WI_LICENSECONSUMPTMARTDAILY and how each column is filled with data.
Column Name
Description
Key
TIME_STAMP
This is in GMT and is always end in the day. The record is aggregated in a localized day. After the aggregation, the time_stamp is then transformed back at GMT and stored in this field. Thus, this time_stamp always in the GMT form of the localized day in midnight.
Primary key
LIC_FEATURE_CODE
This comes from the "LIC_FEATURE_CODE" field in the wi_licenseconsumptmart table.
Primary key
LIC_VENDOR_CODE
This comes from the "LIC_VENDOR_CODE" field in the wi_licenseconsumptmart table.
Primary key
LIC_SERVER_CODE
This comes from the "LIC_SERVER_CODE" field in the wi_licenseconsumptmart table.
Primary key
LIC_SITE_NAME_CODE
this comes from the "LIC_SITE_NAME_CODE" field in the WI_LIC_SITENAMECODE table.
Primary key
USER_CODE
This comes from the "USER_CODE" field in the wi_licenseconsumptmart table.
Primary key
HOST_CODE
This comes from the "HOST_CODE" field in the wi_licenseconsumptmart table.
Primary key
USED_MINUTES
This is the total license consumption calculated for this localized day in minutes for this license.

CORE_HOUR
The core hour is resulted from a mapping of the original time_stamp in local time. If the time_stamp is within the range from Monday to Friday, 9am to 5pm, then the core_hour will be 1, otherwise it will be 0.
Primary key
INSERT_SEQ
This is a system generated sequence number. For each new record inserted, a unique sequence number is being assigned to this column.