← Back to team overview

percona-discussion team mailing list archive

[Bug 330354] Re: "Buffer pool size, bytes" may be insufficient a little

 

** Changed in: percona-xtradb
   Importance: Undecided => Low

** Changed in: percona-patches
   Importance: Undecided => Low

-- 
"Buffer pool size, bytes" may be insufficient a little
https://bugs.launchpad.net/bugs/330354
You received this bug notification because you are a member of Percona
developers, which is the registrant for Percona patches.

Status in Patches for MySQL by Percona: New
Status in Percona XtraDB Storage Engine for MySQL: New

Bug description:
In the output of "show innodb status",

....
----------------------
BUFFER POOL AND MEMORY
----------------------
....
Buffer pool size        1310719
Buffer pool size, bytes 21474820096   <---(!)

This is just a capacity of data. It is not allocated memory for Buffer pool exactly.

(In buf0buf.c: buf_print_io())

(ulong) size * UNIV_PAGE_SIZE    /* just a capacity of data */

(ulong) size * (UNIV_PAGE_SIZE + (sizeof *block))    /* allocated memory for buf_pool */



References