Mysqlnd Memcache plugin (
mysqlnd_memcache
)
2795
• Motto/theme: Proof of concept
Initial check-in. Essentially a demo of the
mysqlnd
plugin API.
Note
This is the current development series. All features are at an early stage.
Changes may happen at any time without prior notice. Please, do not use this
version in production environments.
The documentation may not reflect all changes yet.
20.7.10. Mysqlnd Memcache plugin (
mysqlnd_memcache
)
Copyright 1997-2012 the PHP Documentation Group. [2230]
The mysqlnd memcache plugin (
mysqlnd_memcache
) is an PHP extension for transparently
translating SQL into requests for the MySQL InnoDB Memcached Daemon Plugin (server plugin). It
includes experimental support for the MySQL Cluster Memcached Daemon. The server plugin provides
access to data stored inside MySQL InnoDB (respectively MySQL Cluster NDB) tables using the
Memcache protocol. This PHP extension, which supports all PHP MySQL extensions that use
mysqlnd
,
will identify tables exported in this way and will translate specific SELECT queries into Memcache
requests.
Figure 20.70. mysqlnd_memcache data flow
Note
This plugin depends on the MySQL InnoDB Memcached Daemon Plugin. It is
not provided to be used with a stand-alone Memcached. For a generic query
cache using Memcached look at the
mysqlnd query cache plugin
. For direct
Memcache access look at the
memcache
and
memcached
extensions.
The MySQL native driver for PHP is a C library that ships together with PHP as of PHP 5.3.0. It serves
as a drop-in replacement for the MySQL Client Library (libmysqlclient). Using mysqlnd has several
advantages: no extra downloads are required because it's bundled with PHP, it's under the PHP
license, there is lower memory consumption in certain cases, and it contains new functionality such as
asynchronous queries.
The
mysqlnd_mmemcache
operates, for the most part, transparently from a user perspective. The
mysqlnd memcache plugin supports all PHP applications, and all MySQL PHP extensions. It does not
change existing APIs. Therefore, it can easily be used with existing PHP applications.
The MySQL Memcache plugins add key-value style access method for data stored in InnoDB resp.
NDB (MySQL Cluster) SQL tables through the Memcache protocol. This type of key-value access if
often faster than using SQL.
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 ...