Mysqlnd query result cache plugin (
mysqlnd_qc
)
2680
bool(true)
query_is_select('SELECT id FROM test WHERE id = 1'): 5
get_hash(5)
find_query_in_cache(1)
add_query_to_cache_if_not_exists(6)
NULL
20.7.7.5. Installing/Configuring
Copyright 1997-2012 the PHP Documentation Group. [2230]
20.7.7.5.1. Requirements
Copyright 1997-2012 the PHP Documentation Group. [2230]
PHP 5.3.3
or a newer version of
PHP
.
PECL/mysqlnd_qc is a mysqlnd plugin. It plugs into the mysqlnd library. To use you this plugin with
a PHP MySQL extension, the extension (
mysqli
,
mysql
, or
PDO_MYSQL
) must enable the mysqlnd
library.
For using the
APC
storage handler with PECL/mysqlnd_qc 1.0
APC 3.1.3p1-beta
or newer. PECL/
mysqlnd_qc 1.2 has been tested with
APC 3.1.13-beta
. The APC storage handler cannot be used
with a shared build. You cannot use the PHP configuration directive
extension
to load the APC and
PECL/mysqlnd_qc extensions if PECL/mysqlnd_qc will use APC as a storage handler. For using the
APC storage handler, you have to statically compile PHP with APC and PECL/mysqlnd_qc support into
PHP.
For using
MEMCACHE
storage handler: Use
libmemcache 0.38
or newer. PECL/mysqlnd_qc 1.2 has
been tested with
libmemcache 1.4.0
.
For using
sqlite
storage handler: Use the
sqlite3
extension that bundled with PHP.
20.7.7.5.2. Installation
Copyright 1997-2012 the PHP Documentation Group. [2230]
This
PECL
extension is not bundled with PHP.
Information for installing this PECL extension may be found in the manual chapter titled
Installation of
PECL extensions
. Additional information such as new releases, downloads, source files, maintainer
information, and a CHANGELOG, can be located here:
http://pecl.php.net/package/mysqlnd_qc
A DLL for this PECL extension is currently unavailable. See also the
building on Windows
section.
20.7.7.5.3. Runtime Configuration
Copyright 1997-2012 the PHP Documentation Group. [2230]
The behaviour of these functions is affected by settings in
php.ini
.
Table 20.73. mysqlnd_qc Configure Options
Name
Default
Changeable
Changelog
mysqlnd_qc.enable_qc
1
PHP_INI_SYSTEM
mysqlnd_qc.ttl
30
PHP_INI_ALL
mysqlnd_qc.cache_by_default
0
PHP_INI_ALL
mysqlnd_qc.cache_no_table
0
PHP_INI_ALL
mysqlnd_qc.use_request_time
0
PHP_INI_ALL
mysqlnd_qc.time_statistics
1
PHP_INI_ALL
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...