MySQL Forums
Forum List  »  Performance

Re: Each morning some SQLs are very slow
Posted by: Øystein Grøvlen
Date: May 09, 2017 12:13AM

Hi,

Since you mention 5.5 and full text search, I assume you are using MyISAM storage engine for the data. MyISAM relies on the file system for caching, so it may be that other activity on the computer during the night will cause MyISAM files to no longer be cached. Hence, data may have to be read from disk each morning.

If using MyISAM, please consider changing to InnoDB. In MySQL 5.7, InnoDB supports full text search, and should give you better control over how data is cached.

Øystein Grøvlen,
Senior Principal Software Engineer,
MySQL Group, Oracle,
Trondheim, Norway

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Each morning some SQLs are very slow
40
May 09, 2017 12:13AM


Sorry, only registered users may post in this forum.

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.