Configure Monitoring
You can control which monitoring data is collected and also obtain independent access to the underlying SAP HANA monitoring views that power the Monitoring app.
Prerequisites
-
Data Warehouse General (-R------) - To access SAP Datasphere.
-
System Information (-RU-----) - To access the System tool.
Procedure
-
In the side navigation area, click (System) (Configuration) and then select the Monitoring tab.
-
To obtain independent access to the underlying SAP HANA monitoring views that power the Monitor app:
-
Select a space from the drop-down list and click Confirm Selected Space.
-
If you've created the <SAP_ADMIN> space and you want to enable it, click Enable access to SAP Monitoring Content Space. If there isn't any space named <SAP_ADMIN> in your tenant, this is not available for selection.
For more information, see Working with SAP HANA Monitoring Views.
-
-
Analyze individual SQL queries whose execution exceeds one or more thresholds, select Enable Expensive Statement Tracing. Keep the default settings or specify the following parameters to configure and filter the trace details, then save your changes.
Property
Description
Memory Tracing Records
Specify the maximum number of records that are stored in the monitoring tables.
For example, if about 5 days are traced in the expensive statement tables and you don’t want to change the thresholds, you can double the number of records in In-Memory Tracing Records so that about 10 days are traced. Be aware that increasing this number will also increase the used storage.
Default: 30,000
Maximum: 100,000
Threshold CPU Time
Specify the threshold CPU time of statement execution.
When set to 0, all SQL statements are traced.
Default: 0
Threshold Memory
Specify the threshold memory usage of statement execution.
When set to 0, all SQL statements are traced.
Default: 1,024MB
Maximum: 1 GB
Threshold Duration
Specify the threshold execution time.
When set to 0, all SQL statements are traced.
Default: 50000 Microseconds
Trace Parameter Values
In SQL statements, field values may be specified as parameters (using a "?" in the syntax). If these parameter values are not required, then do not select the option to reduce the amount of data traced.
Default: False
If expensive statement tracing is not enabled, then statement information and errors are not traced and you cannot see them in the Monitoring apps (see Reviewing Expensive Statement Logs).
For more information about these parameters, see Expensive Statements Trace in the SAP HANA Cloud, SAP HANA Database Administration Guide.
-
To analyze individual SAP HANA multi-dimensional services (MDS) queries, select Enable MDS Information Tracing and save.
Property
Description
MDS Tracing Records
Specify the maximum number of records that are stored for MDS requests in the monitoring tables.
You can increase this number in order to trace more data in the Monitoring apps.
Default (max): 100,000
If the tracing is enabled, you can view information on MDS queries when clicking More in the column Statement Details of the Statement Logs tab in the Monitoring apps (see Reviewing Expensive Statement Logs).
-
To trace elastic compute node data, select Enable Elastic Compute Node Data Tracing and save.
-
If the tracing is disabled, only the statements of currently running nodes are displayed in the Monitoring apps. If a node is stopped, its information is deleted.
-
If the tracing is enabled and a node is started and stopped more than once, only the information about the previous run is displayed. The information is kept for 10 days or is deleted if more than 100 individual elastic compute nodes have run.
-
