16. • Stores the text of a SELECT statement
together with the corresponding result
SQL Query Caching
17. • Stores the text of a SELECT statement
together with the corresponding result
• Faster access time – identical queries are
only processed once
SQL Query Caching
18. • Stores the text of a SELECT statement
together with the corresponding result
• Faster access time – identical queries are
only processed once
• Works for reading intensive apps
• MySQL's query cache destroys the entire
cache for a given table whenever that table
is changed (every 5-10 seconds)
SQL Query Caching
20. • All (or some) of the tables are opened and
put in memory
SQL Table Caching
21. • All (or some) of the tables are opened and
put in memory
• Faster access time – memory is faster than
backing storage
SQL Table Caching
22. • All (or some) of the tables are opened and
put in memory
• Faster access time – memory is faster than
backing storage
• Not an Object Cache – message response
construction involves multiple table
lookups. SQL can’t cache those lookups as a
group (object). RDBMS paradigm.
SQL Table Caching