MySQL Forums
Forum List  »  Newbie

Re: How can I limit table size
Posted by: Rick James
Date: March 24, 2009 09:25PM

Consider MERGE or PARTITION. Add a new subtable each hour (or however often) and drop the oldest subtable. Or get fancier and choose whether to drop 0 or more subtables.

This also provides a much faster way to do the deletes.

Options: ReplyQuote

Written By
March 23, 2009 11:45AM
Re: How can I limit table size
March 24, 2009 09:25PM

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.