Mysql caches: Difference between revisions
From wikinotes
(Created page with "= The Query Cache = <blockquote> {{ NOTE | Mysql-8+ drops support for the query cache.<br> It is disabled by default starting in MySQL-5.6<br> https://dev.mysql.com/blog-archive/mysql-8-0-retiring-support-for-the-query-cache/ }} Benchmarking is difficult, since MySQL is often configured to use a query cache.<br> This is similar to a key-value store of cacheable-queries, and their result.<br> This interferes with benchmarking, since repeat queries may be much faster to l...") |
|||
(24 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= | There are some general MySQL caches, but increasingly they are engine specific. | ||
{{ TODO | | |||
split up this page per database engine, it's hard to read }} | |||
= Documentation = | |||
<blockquote> | <blockquote> | ||
{ | {| class="wikitable" | ||
|- | |||
| MySQL: Query Cache || https://dev.mysql.com/doc/refman/5.7/en/query-cache.html | |||
https://dev.mysql.com/ | |- | ||
| MyISAM: Key Cache || https://dev.mysql.com/doc/refman/5.7/en/myisam-key-cache.html | |||
|} | |||
</blockquote><!-- Documentation --> | |||
= General = | |||
< | <blockquote> | ||
{| class="wikitable" | |||
|- | |||
| [[mysql query cache]] | |||
|- | |||
| [[mysql os cache]] | |||
|- | |||
|} | |||
</blockquote><!-- General --> | |||
</ | |||
= Engine Specific = | |||
<blockquote> | |||
{| class="wikitable" | |||
|- | |||
| [[mysql innodb caches]] | |||
|- | |||
| [[mysql myisam caches]] | |||
|- | |||
|} | |||
</blockquote><!-- Engine Specific --> | |||
</blockquote><!-- |
Latest revision as of 04:25, 8 September 2022
There are some general MySQL caches, but increasingly they are engine specific.
TODO:
split up this page per database engine, it's hard to read
Documentation
MySQL: Query Cache https://dev.mysql.com/doc/refman/5.7/en/query-cache.html MyISAM: Key Cache https://dev.mysql.com/doc/refman/5.7/en/myisam-key-cache.html
General
mysql query cache mysql os cache
Engine Specific
mysql innodb caches mysql myisam caches