Marcus
Well-known member
Which data is stored within the pool size, only the data once fetched from mysql (as "xf_post: rows 2,5,233,2353"), or does mysql store the whole "xf_post" table within database? The following statements are from http://dba.stackexchange.com/questions/27328/how-large-should-be-mysql-innodb-buffer-pool-size
However this shows me that less than 1 GB are used from the cache
Code:
SELECT CEILING(Total_InnoDB_Bytes*1.6/POWER(1024,3)) RIBPS FROM(SELECT SUM(data_length+index_length) Total_InnoDB_Bytes
FROM information_schema.tables WHERE engine='InnoDB') A;
However this shows me that less than 1 GB are used from the cache
Code:
SELECT(PagesData*PageSize)/POWER(1024,3) DataGB FROM(SELECT variable_value PagesData
FROM information_schema.global_statusWHERE variable_name='Innodb_buffer_pool_pages_data') A,(SELECT variable_value PageSizeFROM information_schema.global_statusWHERE variable_name='Innodb_page_size') B;