Mysqlnd Memcache Plugin (Mysqlnd_Memcache) - Oracle 5.0 Reference Manual

Table of Contents

Advertisement

• Motto/theme: Proof of concept
Initial check-in. Essentially a demo of the

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
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
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.
Mysqlnd Memcache plugin (mysqlnd_memcache)
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.
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
Memcache access look at the
operates, for the most part, transparently from a user perspective. The
mysqlnd
plugin API.
mysqlnd query cache
memcache
and
2795
plugin. For direct
memcached
extensions.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Mysql 5.0

Table of Contents