Mysqlnd query result cache plugin
- 简介
- Quickstart and Examples
- Architecture and Concepts
- Setup
- Caching queries
- Setting the TTL
- Pattern based caching
- Slam defense
- Finding cache candidates
- Measuring cache efficiency
- Beyond TTL: user-defined storage
- 安装/配置
- 预定义常量
- mysqlnd_qc 函数
- mysqlnd_qc_clear_cache — Flush all cache contents
- mysqlnd_qc_get_available_handlers — Returns a list of available storage handler
- mysqlnd_qc_get_cache_info — Returns information on the current handler, the number of cache entries and cache entries, if available
- mysqlnd_qc_get_core_stats — Statistics collected by the core of the query cache
- mysqlnd_qc_get_normalized_query_trace_log — Returns a normalized query trace log for each query inspected by the query cache
- mysqlnd_qc_get_query_trace_log — Returns a backtrace for each query inspected by the query cache
- mysqlnd_qc_set_cache_condition — Set conditions for automatic caching
- mysqlnd_qc_set_is_select — Installs a callback which decides whether a statement is cached
- mysqlnd_qc_set_storage_handler — Change current storage handler
- mysqlnd_qc_set_user_handlers — Sets the callback functions for a user-defined procedural storage handler
- Change History
- PECL/mysqlnd_qc 1.2 series
- PECL/mysqlnd_qc 1.1 series
- PECL/mysqlnd_qc 1.0 series