On Thu, Mar 25, 2010 at 8:46 AM, p23 <[email protected]> wrote: > Hi, > I've 3 server running apache,MySQL and memcached. > i monitor the CPU+Memory usage of MySQL. > it show when i'm using MySQL with memcached (dedicated server), the > cpu usage is very low but the memory quite higher a little bit. It's > not much, but i'm wonder why it goes higher (than MySQL with memcached > disabled) since items are already cached and memcached reside in > dedicated server. I run it many times and it shows the same result. > > MySQL + query cache: > Mem: 45.0 % > Cpu: 19.0 % > > MySQL + memcached: > Mem: 47.0 % > Cpu: 2 %
Using memcached on the same server as mysqld, and with a single instance, is not really usefull. But you have the ability to use memcached on a 2nd server, or on a cluster of server, this is the real advantage of memcached. When you need more memory cache, just add a new server, no need to buy an insanly expensive server with 64 or 128GB of memory :) :) -- Laurent "ker2x" Laborde Sysadmin & DBA at http://www.over-blog.com/ To unsubscribe from this group, send email to memcached+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
