Configuration of HanaExpensStmtTest
This test reports the count of expensive SQL statements and the maximum duration for which such statements ran.
The default parameters associated with this test are as follows:
In order to monitor a SAP HANA database server, a special database user account with Monitoring privileges has to be created in every SAP HANA database instance that requires monitoring. The syntax of the script that is used for user creation is:
create user <username> password <password>
grant monitoring to <username>
A sample script for user creation is:
create user sapegadmin password eGurkha@123;
grant monitoring to sapegadmin;
The name of this user has to be specified in the USER text box.
In the DD RECORDS text box, specify the number of expensive SQL statements for which the detailed analysis is to be reported in the DETAILED DIAGNOSIS section. By default, the value specified in this text box is 10. This indicates that detailed analysis of the top 10 expensive SQL statements executing on the SAP HANA database server will alone be listed in the DETAILED DIAGNOSIS section.
To make diagnosis more efficient and accurate, the eG Enterprise suite embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the DETAILED DIAGNOSIS capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.
The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:
- The eG manager license should allow the detailed diagnosis capability
- Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
When changing the configuration for specific servers, a “*” beside the text box corresponding to the parameter signifies that these values have to be manually configured by the user. The parameter values that require to be configured will typically be prefixed with a *ldquo;$” or contain a series of “*”. A value of "none" in the parameter value indicates that the corresponding parameter value can be changed if required.
|