Mysql:可恨又可怜Query Cache特性:已死!莫用!

A.1.4.

Does MySQL 5.7 have a Query Cache? Does it work on Server, Instance or Database?

 

Yes. (However, the query cache is deprecated as of MySQL 5.7.20, and is removed in MySQL 8.0.) The query cache operates on the server level, caching complete result sets matched with the original query string. If an exactly identical query is made (which often happens, particularly in web applications), no parsing or execution is necessary; the result is sent directly from the cache. Various tuning options are available. See Section 8.10.3, “The MySQL Query Cache”.

原文地址:https://www.cnblogs.com/jinzhenshui/p/12564999.html