Upcoming purge feature #9365
-
Hello, For the upcoming Purge Expunged Resources feature. Is there a list of database tables that will be impacted as part of this feature. We have had some performance issues due to large number of entries in some of the cloudstack database tables and hoping the purge feature will be the permanent solution. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @mimcdevitt, currently the feature supports purging of only the VirtualMachines and their associated resources. Here is a list of DB tables that will be affected:
I hope I didn't miss any. You may refer this class to check, https://github.com/apache/cloudstack/blob/main/server/src/main/java/org/apache/cloudstack/resource/ResourceCleanupServiceImpl.java Keep in mind the above list contains tables such as volume, snapshots, etc but entries from them will be purged only when the volume is linked to a VM entry that is getting purged. Since DATA volumes when deleted are delinked from the VM their entries do not get purged. |
Beta Was this translation helpful? Give feedback.
Hi @mimcdevitt, currently the feature supports purging of only the VirtualMachines and their associated resources. Here is a list of DB tables that will be affected:
I hope I didn't miss an…