v5:userguide:memcached
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
v5:userguide:memcached [2017/04/15 18:24] – mnewnham | v5:userguide:memcached [2017/04/18 10:32] – [Using Debug Mode] fix formatting (use code block) dregad | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Memcached Setup ====== | ====== Memcached Setup ====== | ||
+ | |||
<WRAP tip> | <WRAP tip> | ||
- | There are 2 PEAR modules for connecting to a Memcached server, the [[https:// | + | There are 2 PEAR modules for connecting to a [[wp>Memcached]] server: the [[https:// |
- | * Windows support is only available for the Memcache library. | + | * Windows support is only available for the //Memcache// library. |
- | * Memcache should be used in PHP 5.x environments on UNIX platforms. | + | * //Memcache// should be used in PHP 5.x environments on UNIX platforms. |
- | * Memcached should be used in PHP 7.x environments on UNIX platforms. | + | * //Memcached// should be used in PHP 7.x environments on UNIX platforms. |
- | * If both the memcache and memcached | + | * If both libraries are available, |
</ | </ | ||
+ | |||
===== Description ===== | ===== Description ===== | ||
This section describes connecting to an already configured Memcache server. Information about installation and configuration of Memcached servers can be found [[https:// | This section describes connecting to an already configured Memcache server. Information about installation and configuration of Memcached servers can be found [[https:// | ||
Line 52: | Line 54: | ||
</ | </ | ||
===== Using Debug Mode ===== | ===== Using Debug Mode ===== | ||
+ | |||
The size of query results that can be cached by the memcached server is limited by server configuration. The default is quite small. If the query is too large, and [[v5: | The size of query results that can be cached by the memcached server is limited by server configuration. The default is quite small. If the query is too large, and [[v5: | ||
+ | < | ||
+ | 3849805e4e026b9e7c485999a24a95c6 cache failure: Item with such key doesn' | ||
+ | (this is a notice and not an error) | ||
+ | -----< | ||
- | 3849805e4e026b9e7c485999a24a95c6 cache failure: Item with such key doesn' | + | (mysqli): SELECT * FROM employees |
- | | + | |
- | -----< | + | |
- | (mysqli): SELECT * FROM employees | + | ------< |
- | -----< | + | Notice: MemcachePool:: |
- | | + | SERVER_ERROR object too large for cache |
- | SERVER_ERROR object too large for cache | + | (3) in C: |
- | (3) in C: | + | Failed to save data at the memcached server! |
- | Failed to save data at the memcached server! | + | |
- | | + | Cache write error |
- | | + | PHP Notice: |
- | SERVER_ERROR object too large for cache (3) | + | SERVER_ERROR object too large for cache (3) |
- | in C: | + | in C: |
+ | </ | ||
ADOdb currently has no mechanism for splitting large queries into smaller chunks. | ADOdb currently has no mechanism for splitting large queries into smaller chunks. |
v5/userguide/memcached.txt · Last modified: 2022/03/29 18:29 by dregad