eG Monitoring
 

Measures reported by MySQLInDbEngTest

The buffer pool is an area in main memory where InnoDB caches table and index data as it is accessed. The buffer pool permits frequently used data to be accessed directly from memory, which speeds up processing. On dedicated servers, up to 80% of physical memory is often assigned to the buffer pool. For efficiency of high-volume read operations, the buffer pool is divided into pages that can potentially hold multiple rows. For efficiency of cache management, the buffer pool is implemented as a linked list of pages; data that is rarely used is aged out of the cache using a variation of the least recently used (LRU) algorithm.

If the size of the buffer pool is inadequate or if the buffer pool is poorly sized, then, more often than not, the requests may not be serviced by the buffer pool. Similarly if too many pages in the buffer pool are held for administrative purpose or are being held for read/write operations, then, InnoDB may not be able to cache the tables and data in the buffer pool. If the required data is not available in the buffer pool, requests may have to be serviced directly from the disk Which may cause severe overheads. To avoid such overheads, it is necessary for the administrators to constantly keep a vigil on the sizing of the buffer pool and the memory allocated to the buffer pool.

To monitors the InnoDB buffer pool, report the amount of memory allocated to the buffer pool, the amount of memory utilized by the buffer pooland to report the statistics that can help administrators analyze the usage of the buffer pool, to provide them with useful pointers to finetune the configuration of the buffer pool eG Enterprise offers the MySQLInDbEngTest.

This test monitors the InnoDB buffer pool and reports the amount of memory allocated to the buffer pool and the amount of memory utilized by the buffer pool. The statistics reported by this test help administrators analyze the usage of the buffer pool, and provides them with useful pointers to finetune the configuration of the buffer pool

Outputs of the test : One set of results for the MySQL server being monitored

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
totalMemoryAllocated Indicates the total amount of memory allocated to the buffer pool. MB  
freeMemoryTotalSize Indicates the amount ofmemory available for use in the pages allocated to the buffer pool. MB A high value is desired for this measure.
usedMemorySize Indicates the amount of memory that is already utilized in the pages allocated to the buffer pool. MB A value close to totalMemoryAllocated measure is an indication that the buffer pool is currently running out of memory.
usedMemoryPercentage Indicates the percentage of memory utilized by the pages allocated to the buffer pool. Percent A low value is desired for this measure.

A value close to 100 indicates that the buffer pool is running out of memory resources.

The value of this measure is calculated as follows:

(usedMemorySize/totalMemoryAllocated)*100

addMemoryAllocated Indicates the amount of memory that is additionally allocated to the buffer pool. MB MySQL database server stores details such as metadata accessed by the users, internal information structure etc in the additional memory allocated to the buffer pool.
dicMemAllocated Indicates the amount of memory allocated for the data dictionary of the InnoDB storage engine. MB  
totalPageSizeInMemory Indicates the total size ofthe buffer pool, in pages. MB The value of this measure is a sum of dataPageSizeInMemory, dirtyPageSizeInMemory and miscPageSizeInMemory measures.
dataPageSizeInMemory Indicates the size of the pages containing data in the buffer pool. MB  
dirtyPageSizeInMemory Indicates the amount of bytes held in the dirty pages available in the buffer pool. MB  
miscPageSizeInMemory Indicates the size of the pages that have been allocated for administrative overhead, such as row locks or the adaptive hash index. MB  
latchedPagesInMemory Indicates the number of latched pages in the buffer pool. Number These are pages currently being read or written, or that cannot be flushed or removed for some other reason.
flushedPageSizeInMemory Indicates the size of pages that were flushed from the buffer pool. MB