update : 2015.11.03
php.shukuma.com검색:
|
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 위 예제의 출력: array( [f1] => Hello [f2] => World [f3] => ! ) array( [id] => 2 ) |