Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

MySQL NDB Cluster API Developer Guide  /  ...  /  Ndb::get_eventbuffer_free_percent()

2.3.16.11 Ndb::get_eventbuffer_free_percent()

Description.  Gets ndb_eventbuffer_free_percent—that is, the percentage of event buffer memory that should be available before buffering resumes, once ndb_eventbuffer_max_alloc has been reached. This value is calculated as used * 100 / ndb_eventbuffer_max_alloc, where used is the amount of event buffer memory actually used, in bytes.

This method was added in NDB 7.4.3.

Signature. 

unsigned get_eventbuffer_free_percent
    (
      void
    )

Parameters.  The percentage (pct) of event buffer memory that must be present. Valid range is 1 to 99 inclusive.

Return value.  None.