The WLM_GET_SERVICE_SUPERCLASS_STATS function returns basic statistics for one or more service superclasses.
>>-WLM_GET_SERVICE_SUPERCLASS_STATS--(--service_superclass_name--,--> >--dbpartitionnum--)-------------------------------------------><
The schema is SYSPROC.
EXECUTE privilege on the WLM_GET_SERVICE_SUPERCLASS_STATS function.
SELECT SUBSTR(SERVICE_SUPERCLASS_NAME, 1, 26) SERVICE_SUPERCLASS_NAME,
DBPARTITIONNUM,
LAST_RESET,
CONCURRENT_CONNECTION_TOP CONCURRENT_CONN_TOP
FROM TABLE(WLM_GET_SERVICE_SUPERCLASS_STATS('', -2)) as SCSTATS
SERVICE_SUPERCLASS_NAME DBPARTITIONNUM ...
-------------------------- -------------- ...
SYSDEFAULTSYSTEMCLASS 0 ...
SYSDEFAULTMAINTENANCECLASS 0 ...
SYSDEFAULTUSERCLASS 0 ...
... LAST_RESET CONCURRENT_CONN_TOP
... -------------------------- -------------------
... 2006-09-05-09.38.44.396788 0
... 2006-09-05-09.38.44.396795 0
... 2006-09-05-09.38.44.396796 1
The WLM_GET_SERVICE_SUPERCLASS_STATS table function returns one row of data per service superclass and per partition. The function does not aggregate data across service superclasses (on a partition) or across partitions (for one or more service superclasses). However, you can use SQL queries to aggregate data, as shown in the previous example.
Column name | Data type | Description |
---|---|---|
SERVICE_SUPERCLASS_NAME | VARCHAR(128) | service_superclass_name - Service superclass name monitor element |
DBPARTITIONNUM | SMALLINT | Partition number from which this record was collected. |
LAST_RESET | TIMESTAMP | last_reset - Last Reset Timestamp monitor element |
CONCURRENT_CONNECTION_TOP | INTEGER | concurrent_connection_top - Concurrent connection top monitor element |