Platform Analytics 7 Dataflow

Previous Topic Next Topic Index

WI_LICUTILFEATUREMART_HIST table

This describes the wi_licutilfeaturemart_hist table and how each column of data arises from the flexlm_license_usage table.

The wi_licutilfeaturemart_hist get its data from the flexlm_license_usage table. The records from the flexlm_license_usage table are first aggregated for the same period with the grouping of "Feature", "Vendor", "Server", "TimeDiff" and "Interval Period" . The "LIC_USAGE" is summed together and the maximum of "LIC_TOTAL" is found. Then, we aggregate again for the same interval with the grouping of "Feature", "Vendor", "TIMEDIFF", "Interval Period" and the "Value" and "Total" from the previous aggregation are summed. Then, we aggregate for the hour with the grouping of "Feature", "Vendor", "Timediff" and "RANKNAME" . The sum of the "INTERVAL_DURATION" is added up as "DURATION". The number of records aggregated is counted as "OCCURRENCE". The result is then record into this table.

This is the column description of each data column of WI_LICUTILFEATUREMART_HIST and how each column is filled with data.

Column Name

Description

Key

TIME_STAMP

This is in GMT and is always end in the hour such as 02:00:00. This marks the time that this record is aggregated. For example, 02:00:00 means that all the records between 02:00:00 and 02:59:00 are aggregated into this record.

Primary key

LIC_FEATURE_CODE

This comes from the "LIC_FEATURE_NAME" field in the flexlm_license_usage table. Once we get the license feature, we then look it up in the wi_licfeaturecode table to see if we have already has a record of it in there. If we do, then we'll get the code back, otherwise, we will insert it into the wi_licfeaturecode table and generate the code. The code itself is a positive integer and each new code is equal to the maximum of the existing code+1.

Primary key

LIC_VENDOR_CODE

This comes from the "LIC_VENDOR_NAME" field in the flexlm_license_usage table. Once we get the license vendor, we then look it up in the wi_licvendorcode table to see if we have already has a record of it in there. If we do, then we'll get the code back, otherwise, we will insert it into the wi_licvendorcode table and generate the code. The code itself is a positive integer and each new code is equal to the maximum of the existing code+1.

Primary key

LOCAL_SERVERTIME

This comes from the "Time_stamp" in this table. This is transformed into local server time.

 

RANK_TYPE

This is the rank type for License Usage By Server Histogram Cube , such as ‘ util' and ‘usage'.

 

RANK_NAME

This is the rank category string, it is configured in the rank mapping file.

 

RANK_OCCURRENCE

This is used to indicate the measure occur times in the given rank.

 

RANK_DURATION

This is used to indicate the measure keep duration in the given rank, it can be calculated by RANK_OCCURRENCE * INTERVAL_PERIOD.

 

INSERT_SEQ

This is a system generated sequence number. For each new record inserted, a unique sequence number is being assigned to this column.

 

Previous Topic Next Topic Index