Column name |
Source and description |
DATE |
This is the date portion of the localized time_stamp column in the wi_sharedresourceusage table, and the format is "YYYY-MM-DD". |
HOUR |
This is the hour portion of the localized time_stamp column in the wi_sharedresourceusage table. |
WEEKDAY |
This is the weekday number from the localized time_stamp column in the wi_sharedresourceusage table, where "1" is Sunday, "2" is Monday, etc. |
COREHOUR |
The source is the localized time_stamp in the wi_sharedresourceusage 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_sharedresourceusage table. The shifts transformer maps the localized time_stamp based on shift mapping and returns the user-defined shift. |
CLUSTERNAME |
The source is the wi_clustercode table, as identified by cluster_code. The cluster_code source is the wi_sharedresourceusage table. |
RESOURCENAME |
The source is in the wi_resourceproperties table. The criteria is based on whether the following sets of table names and columns are matched (joined) to one another:
wi_resourcecode table and resource_name column = wi_resourceproperties table and resource_name column
wi_resourcecode table and resource_code column = wi_sharedresourceusage table and resource_code column |
USAGE |
This is a calculated value in the wi_sharedresourceusage table, where sum_value is divided by sampling_counter. The calculation is contingent upon the "INCREASING" column in the wi_resourceproperties table.
If "INCREASING" = "Inc" then the result is calculated as SUM_VALUE / (divided by) SAMPLING_COUNTER.
If "INCREASING" is set to something else, then the result is calculated as totalValue - (minus) SUM_VALUE / (divided by) SAMPLING_COUNTER, provided that the totalValue is greater than SUM_VALUE / SAMPLING_COUNTER. If totalValue is less than that, the result is null. |
FREE |
This is a calculated value in the wi_sharedresourceusage table, where sum_value is divided by sampling_counter. The calculation is contingent upon the "INCREASING" column in the wi_resourceproperties table.
If "INCREASING" = "Inc" then the result is calculated as SUM_VALUE / (divided by) SAMPLING_COUNTER, provided that the totalValue is greater than SUM_VALUE / SAMPLING_COUNTER. If totalValue is less than that, the result is null.
If "Increasing" != "Inc", then the result is calculated as SUM_VALUE divided by SAMPLING_COUNTER. |
TOTALAVAIL |
The source is the total_avail column in the wi_licensetotal table. A pre-checking sets this to null if it is less then zero or null. |
SAMPLINGCOUNTER |
The source is the sampling_counter column in the wi_sharedresourceusage table. |