MySQL Forums
Forum List  »  Performance

Re: Index suggestion needed for performance improvement
Posted by: Rick James
Date: October 02, 2015 09:14PM

* Use VARCHAR, not CHAR, unless the string is really fixed length.

* Remove LEFT, it seems to be irrelevant.

* COUNT(*) instead of COUNT(content.record_num) since record_num is NOT NULL

* INDEX(anonymous, uploader)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Index suggestion needed for performance improvement
748
October 02, 2015 09:14PM


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.