![background image](http://html1.mh-extra.com/html/oracle/5-0/5-0_reference-manual_16461962820.webp)
Mysqlnd Memcache plugin (
mysqlnd_memcache
)
2800
20.7.10.7. Mysqlnd_memcache Functions
Copyright 1997-2012 the PHP Documentation Group. [2230]
20.7.10.7.1.
mysqlnd_memcache_get_config
Copyright 1997-2012 the PHP Documentation Group. [2230]
•
mysqlnd_memcache_get_config
Returns information about the plugin configuration
Description
array mysqlnd_memcache_get_config(
mixed connection);
This function returns an array of all mysqlnd_memcache related configuration information that
is attached to the MySQL connection. This includes MySQL, the Memcache object provided via
mysqlnd_memcache_set
, and the table mapping configuration that was automatically collected from
the MySQL Server.
Parameters
connection
A handle to a MySQL Server using one of the MySQL API
extensions for PHP, which are
PDO_MYSQL
,
mysqli
or
ext/mysql
.
Return Values
An array of mysqlnd_memcache configuration information on success, otherwise
FALSE
.
The returned array has these elements:
Table 20.77.
mysqlnd_memcache_get_config
array structure
Array Key
Description
memcached
Instance of Memcached associated to this MySQL
connection by
mysqlnd_memcache_set
. You
can use this to change settings of the memcache
connection, or directly by querying the server on
this connection.
pattern
The PCRE regular expression used to match the
SQL query sent to the server. Queries matching
this pattern will be further analyzed to decide
whether the query can be intercepted and sent
via the memcache interface or whether the query
is sent using the general MySQL protocol to the
server. The pattern is either the default pattern
(
MYSQLND_MEMCACHE_DEFAULT_REGEXP
) or it is
set via
mysqlnd_memcache_set
.
mappings
An associative array with a list of all configured
containers as they were discovered by this
plugin. The key for these elements is the name
of the container in the MySQL configuration. The
value is described below. The contents of this
field is created by querying the MySQL Server
during association to MySQL and a memcache
connection using
mysqlnd_memcache_set
.
mapping_query
An SQL query used during
mysqlnd_memcache_set
to identify the
Содержание 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 ...