MySQL Forums
Forum List  »  Newbie

Re: Delete taking a long time to complete
Posted by: Greg Hines
Date: April 29, 2010 11:45PM

Rick James Wrote:
-------------------------------------------------------
> Can you explain why there is a rush to get the
> DELETEs done?

300 odd secs is a long time and will require the timeout to be increased. I just would like to decrease this time as much as possible.


> You can DELETE almost instantaneously if you
> PARTITION the data in such a way that ALTER
> PARTITION can lop off the old stuff.

My understanding is that PARTITIONING required unique INDEXES and the 2 columns in the WHERE clause are not unique. So partitioning in out. Yes/No?

Greg

Options: ReplyQuote


Subject
Written By
Posted
Re: Delete taking a long time to complete
April 29, 2010 11:45PM


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.