Re: Reverse Index columns
Posted by: Rick James
Date: February 07, 2009 11:53PM

Sorry, for the foreseeable future, MyISAM will always require a complete rebuild of the indexes whenever do any ALTER.

You can cut the time in half by doing the ADD and DROP at the same time:
ALTER TABLE tbl
    ADD INDEX I2(a,c,b),
    DROP INDEX I;

Options: ReplyQuote


Subject
Written By
Posted
February 07, 2009 04:38AM
Re: Reverse Index columns
February 07, 2009 11:53PM
February 08, 2009 06:01AM
February 08, 2009 12:04PM


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.