Oracle 5.0 Reference Manual page 2816

Table of Contents

Advertisement

20.7.10.1. Key Features
Copyright 1997-2012 the PHP Documentation Group. [2230]
The key features of PECL/mysqlnd_memcache are as follows.
• Possible performance benefits
• Client-side: light-weight protocol.
• Server-side: no SQL parsing, direct access to the storage.
• Please, run your own benchmarks! Actual performance results are highly dependent on setup and
hardware used.
20.7.10.2. Limitations
Copyright 1997-2012 the PHP Documentation Group. [2230]
The initial version is not binary safe. Due to the way the MySQL Memcache plugins works there are
restrictions related to separators.
Prepared statements and asynchronous queries are not supported. Result set meta data support is
limited.
The mapping information for tables accessible via Memcache is not cached in the plugin between
requests but fetched from the MySQL server each time a MySQL connection is associated with a
Memcache connection. See
20.7.10.3. On the name
Copyright 1997-2012 the PHP Documentation Group. [2230]
The shortcut
support of the MySQL Memcache plugins for InnoDB and NDB (MySQL Cluster). The plugin is not
related to the Memcached cache server.
20.7.10.4. Quickstart and Examples
Copyright 1997-2012 the PHP Documentation Group. [2230]
The mysqlnd memcache plugin is easy to use. This quickstart will demo typical use-cases, and provide
practical advice on getting started.
It is strongly recommended to read the reference sections in addition to the quickstart. The quickstart
tries to avoid discussing theoretical concepts and limitations. Instead, it will link to the reference
sections. It is safe to begin with the quickstart. However, before using the plugin in mission critical
environments we urge you to read additionally the background information from the reference sections.
20.7.10.4.1. Setup
Copyright 1997-2012 the PHP Documentation Group. [2230]
The plugin is implemented as a PHP extension. See also the
extension.
Compile or configure the PHP MySQL extension (API) (mysqli, PDO_MYSQL, mysql). That extension
must use the
additional information, refer to the
Then, load this extension into PHP and activate the plugin in the PHP configuration file using the PHP
configuration directive named mysqlnd_memcache.enable.
Mysqlnd Memcache plugin (mysqlnd_memcache)
mysqlnd_memcache_set
stands for
mysqlnd_memcache
mysqlnd
library as because mysqlnd_memcache is a plugin for the mysqlnd library. For
mysqlnd_memcache installation
for details.
mysqlnd memcache
installation instructions
2796
plugin. Memcache refers to
to install this
instructions.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents