SQL_NO_CACHE

http://dev.mysql.com/doc/refman/5.7/en/query-cache-in-select.html

MySQL 5.7 Reference Manual  /  ...  /  Query Cache SELECT Options

9.10.3.2 Query Cache SELECT Options

Two query cache-related options may be specified in SELECT statements:

  • SQL_CACHE

    The query result is cached if it is cacheable and the value of the query_cache_type system variable is ON or DEMAND.

  • SQL_NO_CACHE

    The server does not use the query cache. It neither checks the query cache to see whether the result is already cached, nor does it cache the query result.

Examples:

SELECT SQL_CACHE id, name FROM customer;
SELECT SQL_NO_CACHE id, name FROM customer;
上一篇:html-有趣的标签-会移动的文字


下一篇:"//./root/CIMV2" because of error 0x80041003. Events cannot be delivered through this filter until the problem is corrected.