memcache vs mysql cache

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
GeXus
Forum Regular
Posts: 631
Joined: Sat Mar 11, 2006 8:59 am

memcache vs mysql cache

Post by GeXus »

Since mysql caches frequently run queries.. is there an advantage to using memcache?
dancaragea
Forum Newbie
Posts: 10
Joined: Sat Oct 14, 2006 2:03 pm

Post by dancaragea »

Mysql removes the query results from cache just as often. For example if you update a table, all query results for that table are removed from cache.
With memcache you can decide when to remove the cache. Plus you could use memcache for more than query results.
Post Reply