Re: Archive Data
Posted by: Rick James
Date: August 14, 2016 06:41PM

If you have a rolling time series, PARTITION BY RANGE into about 20-60 partitions. Each day (or week or whatever), use "transportable tablespaces" to pull the oldest partition off and do something a la archiving. (You have not given enough specifics for me to be more specific.)

Some more details: http://mysql.rjweb.org/doc.php/doc.php/partitionmaint

Options: ReplyQuote


Subject
Written By
Posted
August 05, 2016 01:42AM
August 06, 2016 05:07PM
August 10, 2016 01:51AM
Re: Archive Data
August 14, 2016 06:41PM
August 15, 2016 03:34AM
September 12, 2016 03:22PM
September 14, 2016 07:43PM
August 17, 2016 07:44PM


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.