Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

MySQL NDB Cluster API Developer Guide  /  ...  /  The EventBufferMemoryUsage Structure

2.3.7 The EventBufferMemoryUsage Structure


This section describes the EventBufferMemoryUsage structure.

Parent class.  Ndb

Description.  This structure was added in NDB 7.4.3 for working with event buffer memory usage statistics. It is used as an argument to Ndb::get_event_buffer_memory_usage().

Attributes.  EventBufferMemoryUsage has the attributes shown in the following table:

Table 2.16 EventBufferMemoryUsage structure attributes, with types, initial values, and descriptions

Name Type Initial Value Description
allocated_bytes unsigned none The total event buffer memory allocated, in bytes
used_bytes unsigned none The total memory used, in bytes
usage_percent unsigned none Event buffer memory usage, as a percent (100 * used_bytes / allocated_bytes)