Data Stored on Disk-opracowanie

Nasza ocena:

3
Wyświetleń: 392
Komentarze: 0
Notatek.pl

Pobierz ten dokument za darmo

Podgląd dokumentu
Data Stored on Disk-opracowanie - strona 1

Fragment notatki:

Data Stored on Disk, in Memory, or Both
Table innodb_memcache.cache_policies specifies whether to store data written through the
memcached on disk (innodb_only, the default); to store the data in memory only, as in the traditional
memcached (cache-only); or both (caching).
With the caching setting, if memcached cannot find a key in memory, it searches for the value in an
InnoDB table. Values returned from get calls under the caching setting could be out-of-date, if they
were updated on disk in the InnoDB table but not yet expired from the memory cache.
The caching policy can be set independently for get, set (including incr and decr), delete, and
flush operations. For example:
• You might allow get and set operations to query or update a table and the memcached memory
cache at the same time (through the caching setting), while making delete, flush, or both
operate only on the in-memory copy (through the cache_only setting). That way, deleting or
flushing an item just expires it from the cache, and the latest value is returned from the InnoDB table
the next time the item is requested.
... zobacz całą notatkę



Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz