89268

89268



Adapting Database Best Practices to memcached Applications

The most direct way to cache MySQL data is to use a 2-column table, where the first column is a

primary key. Because of the uniqueness requirements for memcached keys, make surę your database

schema makes appropriate use of primary keys and unique constraints.

If you combine multiple column values into a single memcached item value, choose data types to

make it easy to parse the value back into its components, for example by using a separator character between numeric values.

The queries that map most easily to memcached lookups are those with a single WHERE clause, using

an = or IN operator. For complicated WHERE clauses, or those using operators such as <, >, BETWEEN,

or LIKE, memcached does not provide a simple or efficient way to scan through or filter the keys

or associated values, so typically you perform those operations as SQL queries on

the underlying

database.



Wyszukiwarka

Podobne podstrony:
Step Five rSTEP FIVEV.A. !nterview Best Practices » Create a checklist for the above steps. You can
skanowanie0050 (9) disadvantages, and to work out the most effective way of their use in class, As.
IB 8 Sailor Suit School Uniform Battles The most suitable way to comprehend these battle scenes is t
41980 Sandland?1 Cover Best Of BANZAI!Best Ot BANZAI! In Sandland the most important thing is water.
5 10 4 e conditions of an effective argumentationeneticia? tirst impresston Lii The most effective w
oak sih9 21 The most outstanding technical characteristic of these swords is the "pattern-weld
Windows Vista Ultimate Overview: Windows Vista Ultimate is the most comprehensive edition of Windows
posed program of long-run stabilization, thus denying in the most convicing way rumours about »funda
200 Zeszyty Naukowe Wyższej Szkoły Humanitas. Zarządzanie The most important role of each motivation
EPIA 2011 ISBN: 978-989-95618-4-7 To extract the gamę State of a database of played poker, an applic

więcej podobnych podstron