eG Monitoring
 

Measures reported by HanaCtlgMemTest

Memory is a fundamental resource of the SAP HANA database. Understanding how the SAP HANA database requests, uses, and manages this resource is crucial to the understanding of SAP HANA. SAP HANA, across its different processes, reserves a pool of memory before actual use. This pool of allocated memory is preallocated from the operating system over time, up to a predefined global allocation limit, and is then efficiently used by SAP HANA as needed.

SAP HANA preallocates and manages its own memory pool, used for storing in-memory table data, thread stacks, temporary results, and other system data structures. When more memory is required for table growth or temporary computations, the SAP HANA memory manager obtains it from the pool. When the pool can’t satisfy the request, the memory manager increases the pool size by requesting more memory from the operating system, up to a predefined allocation limit.

Memory is a finite resource. Once the allocation limit has been reached and the pool is exhausted, the memory manager only allocates memory for internal operations after first giving up something else. However, it’s still possible that the memory manager needs more memory than is available leading to an out-of-memory failure. This may happen, for example, when too many concurrent transactions use up all memory, or when a complex query performs a cross join on large tables and creates a huge intermediate result that exceeds the available memory. HANA Catalog Memory Test helps administrators in this regard!

This test reports statistics related to the memory allocation and usgae in the target SAP HANA database server and promptly alerts administrators to potential memory contention which helps them to resolve the issue before it starts degrading the server performance.

Outputs of the test: One set of results for the target database server instance being monitored.

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
TotAllocatedMemory Indicates the total amount of memory allocated which is the sum of allocated memory size for fixed and variable part. GB

 

TotalFreeMemory Indicates the total amount of memory available for use on fixed and variable part. GB

A high value is desired for this measure.

TotalUsedMemory Indicates the total amount of memory that is utilized on fixed and variable part. GB

A low value is desired for this measure.

UsedMemoryPercnt Indicated the percentage of memory utilized on fixed and variable part. Percent

Ideally, the value of this measure should be low. A very high value of this measure could indicate excessive memory consumption by the database server. when the used memory percentage nears the allocation limit then the SAP HANA database may run out of memory if it cannot free memory.

AllocatedMemoryForFixed Indicates the amount of allocated memory for fixed part. GB

 

FreeMemoryForFixed Indicates the amount of free memory on the fixed part. GB

 

UsedMemoryForFixed Indicates the amount of memory utilized on the fixed part. GB

 

UsedPercentByFixed Indicates the percentage of memory utilized on the fixed part. Percent

A low value is desired for this measure. A value close to 100% is a cause for concern.

AllocatMemryForVariable Indicates the amount of allocated memory for variable part. GB

 

FreeMemoryForVariable Indicates the amount of free memory on the variable part. GB

 

usedMemryForVariable Indicates the amount of memory utilized on the variable part. GB

 

usedMemryForVariable Indicates the percentage of memory utilized on the variable part. Percent

A low value is desired for this measure. A value close to 100% is a cause for concern.