## OMS_HEAP_STATISTICS

### Definition

The system table OMS_HEAP_STATISTICS describes the statuses of allocators used in SAP liveCache technology.

### Structure

OMS_HEAP_STATISTICS

DESCRIPTION | CHAR(40) | Name of the allocator
TOTAL_HEAP_USAGE | FIXED(20) | Currently used memory (bytes)
MAXTOTAL_HEAP_USAGE | FIXED(20) | Maximum used memory (bytes)
RESERVED | FIXED(20) | Memory managed by the allocator (bytes)
ALLOC_CNT | FIXED(20) | Number of memory allocations
FREE_CNT | FIXED(20) | Number of memory releases
SYSTEM_ALLOC_CNT | FIXED(20) | Number of memory reservations in the base allocator
SYSTEM_FREE_CNT | FIXED(20) | Number of memory releases in the base allocator
TOTAL_SPINLOCKS | FIXED(20) | Number of attempts to get the spin lock
COLLISIONS | FIXED(20) | Number of failed attempts to get the spin lock
TOTAL_SPINLOOPS | FIXED(10) | Number of attempts to get the spin lock without prior release of the CPU
TOTAL_YIELDLOOPS | FIXED(10) | Number of attempts to get the spin lock after prior release of the CPU
MAX_SPINLOOPS | FIXED(10) | Maximum number of attempts to get the spin lock without prior release of the CPU
MAX_YIELDLOOPS | FIXED(10) | Maximum number of attempts to get the spin lock after prior release of the CPU
ERROR_CNT | FIXED(10) | Number of errors detected and automatically corrected by the allocator

The OMS_HEAP_STATISTICS system table replaces the OMS_MEMORY_USAGE table, which should no longer be used.

See also:

Database Administration in CCMS: SAP liveCache Technology, Heap Usage, Memory