This describes the wi_licenseutilmart table and how each column of data arises from the FLEXLM_LICENSE_USAGE table.
The wi_licenseutilmart 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" and "TimeDiff". The "Value" is summed together and the maximum of "Total" is found. Then, we calculate the interval utilization as "Interval Value" divided by "Interval Total". The result is then aggregated again for the hour for the grouping of "Feature", "Vendor", "Server" and "TimeDiff". The sum of the "Interval Value" is added up. The sum of the "Interval Util" is also added up. The number of records aggregated is counted. The maximum of the "Interval Value" and "Interval Util" are found. Then the sum of the "Interval Total" from the interval aggregation is also found. The result is then record into this table.
This is the column description of each data column of WI_LICENSEUTILMART and how each column is filled with data.
Column Name |
Description |
Key |
This comes from the "LIC_SERVER_NAME" field in the FLEXLM_LICENSE_USAGE table. Once we get the license server, we then look it up in the wi_licservercode 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_licservercode 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. |
||
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. |
||
This comes from the "LIC_VENDOR_NAME" field in the data fileFLEXLM_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. |
||
LIC_SITE_NAME_CODE |
This comes from the "LIC_SITE_NAME_CODE" field in the WI_LIC_SITENAMECODE table. |
Primary key |
|
||
|
||
|
||
|
||
SUM_RESERVATION |
This is the total license reservation
aggregated for the hour. |
|
|
||
|
||
|
||
|
||
|
||
|
||
INSERT_SEQ |
This is a system generated sequence number. For each new record inserted, a unique sequence number is being assigned to this column. |
|