Usage
After associating a MySQL connection with a Memcache connection using
mysqnd_memcache_set the plugin attempts to transparently
replace SQL SELECT
statements by a memcache access. For that purpose the plugin monitors
all SQL statements executed and tries to match the statement string
against In case of the example SQL table, the plugin will use the Memcache interface of the MySQL server to fetch results for a SQL query like SELECT f1, f2, f3 WHERE id = n.
Example #1 Basic example.
<?php The above example will output: array( [f1] => Hello [f2] => World [f3] => ! ) array( [id] => 2 ) |