Wishlist: automatic DB pruning
Bug #1835444 reported by
Peter Sabaini
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
High
|
Unassigned |
Bug Description
The maasserver_event table seems to grow unbounded over time.
For long running installations this can be problematic:
a) disk space consumption
b) more cycles needed to keep table + indices updated
Example, we're running an installation since 2017 and the maas event table plus indices use ~6.5Gb. Otoh it seems unlikely that 2 year old machine events would bring much value.
It would be great if MAAS could either do automatic pruning of events older than X days, or provide a script or similar to prune or archive events manually
(cloned from Bug #1830365)
description: | updated |
Changed in maas: | |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: seg |
To post a comment you must log in.
I've found larger environments need maasserver_event to be truncated after a while; loading the Machines page takes longer and longer as the this table grows.