MySQL Forums
Forum List  »  MyISAM

Re: myisamchk --sort-index
Posted by: Ron Last
Date: January 16, 2014 02:58AM

Thanks for your reply. Its clear I didn't really give enough information.
The database has many tables, some with 400 columns and 10 indices. The queries are very varied and sometimes include multiple joins. Data is added in batch a year at a time and not deleted unless the import failed, so ID and theYear are presumably are highly correlated.
ID is a primary key, and every table is also indexed on theYear as well.
I have to run myisamchk anyway as I compress the tables so it sounds like I should run it with the option to sort the data on ID.
many thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
3416
January 14, 2014 09:00AM
2210
January 15, 2014 11:41AM
Re: myisamchk --sort-index
2054
January 16, 2014 02:58AM
1913
January 16, 2014 11:15PM


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.