This describes the wi_licubyusergrpmartdaily table and how each column of data arises from the WI_LICUSAGEBYUSERGRPMART table.
The wi_licubyusergrpmartdaily get its data from the WI_LICUSAGEBYUSERGRPMART table. For each record, we found the usergroup where the "User" belongs to through a mapping file where the user has defined. Then, the records from the data file are first aggregated for the same period with the grouping of "UserGroup", "Feature", "Vendor", "Server" and "TimeDiff". The "Value" is summed together and the maximum of "Total" is found. The result is then aggregated across all the hosts again for the localized day for the grouping of "UserGroup", "Feature", "Vendor", "Server" and "CoreHour". The sum of the "Value" is added up. The number of records aggregated is counted. The maximum of the "Value" and the "Total" from the interval aggregation are found. The result is then record into this table.
This is the column description of each data column of WI_LICUBYUSERGRPMARTDAILY 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_SERVER_CODE |
This comes from the "LIC_SERVER_CODE" field in the WI_LICUSAGEBYUSERGRPMART table. |
Primary key |
LIC_FEATURE_CODE |
This comes from the "LIC_FEATURE_CODE" field in the WI_LICUSAGEBYUSERGRPMART table. |
Primary key |
LIC_VENDOR_CODE |
This comes from the "LIC_VENDOR_CODE" field in the WI_LICUSAGEBYUSERGRPMART table. |
Primary key |
LIC_SITE_NAME_CODE |
This comes from the "LIC_SITE_NAME_CODE" field in the WI_LIC_SITENAMECODE table. |
Primary key |
USERGRP_CODE |
This comes from the mapping of "USERGRP_CODE" field in the WI_LICUSAGEBYUSERGRPMART table. |
Primary key |
MAX_USAGE |
This is the maximum license usage for the hour for this user group. |
|
SUM_USAGE |
This is the total license usage aggregated for the hour for this user group. |
|
SAMPLING_COUNT |
This is the number of records being aggregated for the hour. |
|
TOTAL_AVAIL |
This is the maximum available license for this server for this hour. |
|
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. |
|