[ https://issues.apache.org/jira/browse/CLOUDSTACK-8151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14289220#comment-14289220 ]
Rohit Yadav commented on CLOUDSTACK-8151: ----------------------------------------- I thought about it and instead of a thread, I'm planning to add an explicit API to allow removal of older entries. This gives the user/admin much better control. > Global config and periodic thread to cleanup cloud_usage table > -------------------------------------------------------------- > > Key: CLOUDSTACK-8151 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8151 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the > default.) > Affects Versions: 4.5.0, 4.6.0 > Reporter: Rohit Yadav > Assignee: Rohit Yadav > Fix For: 4.6.0 > > > The cloud_usage table can be very big and once the raw data is processed we > can safely remove the rows to reduce database size. There is a KB on this: > http://support.citrix.com/article/CTX139043 > The aim is to create a global config (delete records older than specified no. > of days) and an API (if necessary) to trigger cleaning up of old entries. -- This message was sent by Atlassian JIRA (v6.3.4#6332)