v5:userguide:learn_caching:adodb_coding
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
v5:userguide:learn_caching:adodb_coding [2016/03/29 01:20] – mnewnham | v5:userguide:learn_caching:adodb_coding [2016/03/29 01:22] – mnewnham | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <- v5: | + | <- v5: |
~~NOTOC~~ | ~~NOTOC~~ | ||
====== Using Cached Queries ====== | ====== Using Cached Queries ====== | ||
Line 15: | Line 15: | ||
$sql = ' | $sql = ' | ||
$db-> | $db-> | ||
- | |||
- | |||
- | |||
</ | </ | ||
- | ===== 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: | ||
- | |||
- | |||
- | 3849805e4e026b9e7c485999a24a95c6 cache failure: Item with such key doesn' | ||
- | (this is a notice and not an error) | ||
- | -----< | ||
- | | ||
- | (mysqli): SELECT * FROM employees | ||
- | | ||
- | -----< | ||
- | Notice: MemcachePool:: | ||
- | SERVER_ERROR object too large for cache | ||
- | (3) in C: | ||
- | Failed to save data at the memcached server! | ||
- | | ||
- | Cache write error | ||
- | | ||
- | PHP Notice: | ||
- | SERVER_ERROR object too large for cache (3) | ||
- | in C: | ||
- | | ||
- | ADOdb currently has no mechanism for splitting large queries into smaller chunks. | ||
- | |||
- | {{tag> |
v5/userguide/learn_caching/adodb_coding.txt · Last modified: 2016/03/29 04:56 by mnewnham