MySQL Forums
Forum List  »  InnoDB

Re: Strange disk usage in mysql datadir (partition)
Posted by: Rick James
Date: November 30, 2013 02:26PM

The swap partition does take care of swapping. But (and this is a big "but"!), swapping really, REALLY, slows down MySQL.

It is better to allocate less memory to MySQL than to depend on swapping. MySQL is designed to do efficient 'caching' of disk I/O with the memory you give it. but MySQL is assumes the cache id immediately available; that is, does not need to be swapped back in.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Strange disk usage in mysql datadir (partition)
932
November 30, 2013 02:26PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.