MySQL Forums
Forum List  »  Partitioning

Re: Optimum partition for a bigger table
Posted by: Rick James
Date: July 09, 2015 11:36PM

PARTITIONing will _not_ magically improve performance.
Please provide SHOW CREATE TABLE (as it stands now) and some of the slow queries.

While waiting for me to give you specific advice, you could see my thoughts here:
http://mysql.rjweb.org/doc.php/partitionmaint

Often the problem is as simple as adding a composite index such as
INDEX(BusNumber, UpdateTime)
More on indexing here:
http://mysql.rjweb.org/doc.php/index_cookbook_mysql

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Optimum partition for a bigger table
1411
July 09, 2015 11:36PM


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.