[MySQL] Pruning / Off-loading Database #12159
daviftorres
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
@daviftorres , good idea. It has been proposed before but was never implemented. I think this could be as simple as a set of (cron)scripts that do daily/weekly/monthly archiving. Usage is the bigger problem, but this could well be done for a few of the cloud tables as well. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As environments grow, both the number of database transactions and the overall database size increase exponentially.
Some data must remain in the main (hot) database at all times, while other data, useful mainly for historical purposes (investigations, data analysis, etc.), can safely be moved to colder storage to offload the database.
I’m tired of dealing with DBs that grow out of control and teams who just throw CPU and RAM at the problem to buy time. The end of that story always looks like Jurassic Park (lol).
Benefits
Observations
cloud.alertandcloud.usage_eventcurrently have no retention policy.clouddatabase on the hot MySQL host while writing to acloud_usagedatabase on a colder MySQL host.Idea / Proposal
usage_archivedatabase on a colder MySQL host, and also store them in an S3 bucket for DR.Next
I’d love to hear your thoughts and different perspectives.
Beta Was this translation helpful? Give feedback.
All reactions