Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 45.2Mb
PDF (A4) - 45.2Mb
PDF (RPM) - 40.9Mb
HTML Download (TGZ) - 10.6Mb
HTML Download (Zip) - 10.6Mb
HTML Download (RPM) - 9.2Mb
Man Pages (TGZ) - 207.8Kb
Man Pages (Zip) - 309.9Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
Excerpts from this Manual

MySQL 8.0 Reference Manual  /  ...  /  The memory_global_by_current_bytes and x$memory_global_by_current_bytes Views The memory_global_by_current_bytes and x$memory_global_by_current_bytes Views

These views summarize memory use, grouped by allocation type (that is, by event). By default, rows are sorted by descending amount of memory used.

The memory_global_by_current_bytes and x$memory_global_by_current_bytes views have these columns:

  • event_name

    The memory event name.

  • current_count

    The total number of occurrences of the event.

  • current_alloc

    The current number of allocated bytes that have not been freed yet for the event.

  • current_avg_alloc

    The current number of allocated bytes per memory block for the event.

  • high_count

    The high-water mark for number of memory blocks allocated for the event.

  • high_alloc

    The high-water mark for number of bytes allocated for the event.

  • high_avg_alloc

    The high-water mark for average number of bytes per memory block allocated for the event.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.