Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B0CAE17413 for ; Fri, 23 Jan 2015 13:13:34 +0000 (UTC) Received: (qmail 6220 invoked by uid 500); 23 Jan 2015 13:13:34 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 6190 invoked by uid 500); 23 Jan 2015 13:13:34 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 6181 invoked by uid 500); 23 Jan 2015 13:13:34 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 6178 invoked by uid 99); 23 Jan 2015 13:13:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2015 13:13:34 +0000 Date: Fri, 23 Jan 2015 13:13:34 +0000 (UTC) From: "Rohit Yadav (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8151) Global config and periodic thread to cleanup cloud_usage table MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)