Explore SAP HANA alerts

Completed

As a first step, check the current SAP HANA alert logs. In SAP HANA Studio, navigate to Administration Console > Alerts > Show: all alerts. This interface shows all SAP HANA alerts for specific values (free physical memory, CPU utilization, etc.) that fall outside of the set minimum and maximum thresholds. By default, checks are auto-refreshed every 15 minutes.

For an alert triggered due to improper threshold setting, a resolution is to reset to the default value or a more reasonable threshold value.

Note

For detailed troubleshooting steps about the following alerts, refer to the SAP HANA 2.0 Troubleshooting and Performance Analysis Guide.

CPU

These alerts listed often indicate CPU resource problems:

  • Host CPU Usage (Alert 5)
  • Most recent savepoint operation (Alert 28)
  • Savepoint duration (Alert 54)

When there is a high CPU consumption on your SAP HANA database from:

  • Alert 5 (Host CPU usage) is raised for current or past CPU usage
  • The displayed CPU usage on the overview screen

The Load graph might show high CPU consumption or high consumption in the past.

An alert triggered due to high CPU utilization could be caused by several events, including, but not limited to: execution of certain transactions, data loading, jobs that aren't responding, long-running SQL statements, and bad query performance (for example, with BW on HANA cubes).

Operating system

One of the most important checks for SAP HANA on Linux is to make sure that Transparent Huge Pages are disabled, see SAP Note #2131662.

You can check if Transparent Huge Pages are enabled through the Linux command: cat /sys/kernel/mm/transparent_hugepage/enabled

  • If always is enclosed in brackets, it means that the Transparent Huge Pages are enabled: [always] madvise never;
  • If never is enclosed in brackets, it means that the Transparent Huge Pages are disabled: always madvise [never]

The Linux command, rpm -qa | grep ulimit should return nothing. If it turns out that ulimit is installed, uninstall it immediately.

Memory

When you observe the amount of memory allocated by the SAP HANA database is higher than expected. These listed alerts indicate issues with high memory usage:

  • Host physical memory usage (Alert 1)
  • Memory usage of name server (Alert 12)
  • Total memory usage of Column Store tables (Alert 40)
  • Memory usage of services (Alert 43)
  • Memory usage of main storage of Column Store tables (Alert 45)
  • Runtime dump files (Alert 46)

Network

Refer to SAP Note #2081065 and perform the network troubleshooting steps in this SAP Note.

  • Analyze round-trip time between server and client. Run the SQL script HANA_Network_Clients.
  • Analyze internode communication. Run the SQL script HANA_Network_Services.
  • Run Linux command ifconfig (the output shows if any packet losses are occurring).
  • Run Linux command tcpdump.

Also, use the open-source IPERF tool (or similar) to measure real application network performance.

SAP Note #2081065 offers SAP HANA network troubleshooting procedures that help you determine the extent to which network latency contributes to performance degradation in an SAP landscape by analyzing the round trip time (RTT) between server, client, and internode communication.

Storage

From an end-user perspective, an application (or the system as a whole) runs sluggishly, is unresponsive, or even seems to stop responding if there are issues with I/O performance. In the Volumes tab in SAP HANA Studio, you can see the attached volumes, and what volumes are used by each service.