Should I sacrifice my innodb_buufer_pool _size/RAM to make space for query_cache_size ?

前端 未结 2 471
后悔当初
后悔当初 2021-01-24 02:48

I have a 16GB dedicated Mysql server database.My innodb_buffer_pool_size is set to around 11GB ,i am implementing query cache in my system ,which has a size of 80mb. From where

2条回答
  •  醉话见心
    2021-01-24 03:13

    NO. The Query cache runs out of steam after perhaps 80MB -- it spends more an more time pruning entries.

    I would suggest that over 90% of production systems do (or should) turn off the QC completely.

    Keep in mind that every write to a table purges all entries in the QC for that table.

    11G on a 16GB dedicated server is a good number for innodb_buffer_pool_size.

提交回复
热议问题