Re: not optimizing the table after index is created
Posted by:
Rick James
Date: October 20, 2011 09:30PM
OPTIMIZE is not necessary. Your table is fine.
Other issues...
PRIMARY KEY (`msg_id`),
KEY `indx_msg_id_1` (`msg_id`)
A PRIMARY KEY is a KEY. That is, the "KEY" is redundant, and can be DROPped.
What INDEX did you create? What query was it intended to support? The question is not about the useless OPTIMIZE, but about whether the CREATE INDEX provided something useful.
Subject
Views
Written By
Posted
3053
October 15, 2011 04:04AM
1571
October 16, 2011 11:02AM
1202
October 18, 2011 04:24AM
1060
October 18, 2011 09:31PM
1064
October 20, 2011 12:10AM
Re: not optimizing the table after index is created
1234
October 20, 2011 09:30PM
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.