Mysqlnd query result cache plugin (
mysqlnd_qc
)
2686
}
}
See Also
Installation
mysqlnd_qc_set_storage_handler
20.7.7.7.3.
mysqlnd_qc_get_cache_info
Copyright 1997-2012 the PHP Documentation Group. [2230]
•
mysqlnd_qc_get_cache_info
Returns information on the current handler, the number of cache entries and cache entries, if
available
Description
array mysqlnd_qc_get_cache_info();
Parameters
This function has no parameters.
Return Values
Returns information on the current handler, the number of cache entries and cache entries, if available.
If and what data will be returned for the cache entries is subject to the active storage handler. Storage
handler are free to return any data. Storage handler are recommended to return at least the data
provided by the default handler, if technically possible.
The scope of the information is the PHP process. Depending on the PHP deployment model a process
may serve one or more web requests.
Values are aggregated for all cache activities on a per storage handler basis. It is not possible to tell
how much queries originating from
mysqli
,
PDO_MySQL
or
mysql
.API calls have contributed to the
aggregated data values. Use
mysqlnd_qc_get_core_stats
to get timing data aggregated for all
storage handlers.
Array of cache information
handler
string
The active storage handler.
All storage handler. Since 1.0.0.
handler_version
string
The version of the active storage handler.
All storage handler. Since 1.0.0.
num_entries
int
The number of cache entries. The value depends on the storage
handler in use.
The default, APC and SQLite storage handler provide the actual
number of cache entries.
The MEMCACHE storage handler always returns
0
. MEMCACHE
does not support counting the number of cache entries.
If a user defined handler is used, the number of entries of the
data
property is reported.
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...