June 2018
Intermediate to advanced
478 pages
10h 52m
English
The following table shows a few additional table functions available in Db2 v11.1 for accessing information such as routines, transaction log usage, and HADR status information:
|
Table Function |
Information Returned |
|
MON_GET_ROUTINE |
Returns the execution metrics for routines in a relational format |
|
MON_GET_TRANSACTION_LOG |
Returns information about the transaction logging subsystem for the currently connected database |
|
MON_GET_HADR |
Returns information about high availability disaster recovery (HADR) monitoring information |
To analyze stored procedure performance, you can execute the following query, which will show the total CPU time consumption in microseconds:
SELECTROUTINE_TYPE, ...
Read now
Unlock full access