Hi David,

Thanks for sharing, I think it would be useful to have CloudStack do the 
cleaning up in a safer way.

I’ve added a ticket on JIRA and I think I can implement this small feature:
https://issues.apache.org/jira/browse/CLOUDSTACK-8151

> On 06-Jan-2015, at 5:01 pm, David Williams <[email protected]> 
> wrote:
>
> Hi Rohit,
>
> Our cloud_usage database dumps are getting large and take quite a while. The 
> cloud_usage database is around 25 GB with more than 86 million rows.
>
> I don't know if there are currently performance issues affecting the 
> application.
>
> Having a global configuration option which causes the application to delete 
> usage related records that are older than a specifed value would be great. An 
> API would be great too.
>
> Thanks,
>
> Dave
>
>      _____________________________________________
>      From: Rohit Yadav [mailto:[email protected]]
>      Sent: Tuesday, January 06, 2015 11:22
>      To: [email protected]
>      Subject: Re: How to reduce the size of the cloud_usage database
>
>
>      Hi David,
>
>      There is no official way to reduce the size of the cloud_usage database
>      as it gets populated from the cloud database.
>
>      Can you share why you want to reduce it? Are you're facing any MySQL
>      performance issues?
>
>      If your DB size is causing problems we could work with you to develop a
>      new (global) configuration option to limit size or an API to limit
>      past/historic data.
>
>      On Tuesday 06 January 2015 03:36 PM, David Williams wrote:
>> Hi all,
>>
>> Is there an "official" procedure on how to reduce the size of the 
>> cloud_usage database?
>>
>> Thanks,
>>
>> Dave
>
>      Regards,
>      Rohit Yadav
>      Software Architect, ShapeBlue
>      M. +91 8826230892 | 
> [email protected]<mailto:[email protected]>
>      Blog: bhaisaab.org | Twitter: @_bhaisaab
>      PS. If you see any footer below, I did not add it :)
>      Find out more about ShapeBlue and our range of CloudStack related 
> services
>
>      IaaS Cloud Design & 
> Build<http://shapeblue.com/iaas-cloud-design-and-build//>
>      CSForge - rapid IaaS deployment framework<http://shapeblue.com/csforge/>
>      CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>      CloudStack Software 
> Engineering<http://shapeblue.com/cloudstack-software-engineering/>
>      CloudStack Infrastructure 
> Support<http://shapeblue.com/cloudstack-infrastructure-support/>
>      CloudStack Bootcamp Training 
> Courses<http://shapeblue.com/cloudstack-training/>
>
>      This email and any attachments to it may be confidential and are 
> intended solely for the use of the individual to whom it is addressed. Any 
> views or opinions expressed are solely those of the author and do not 
> necessarily represent those of Shape Blue Ltd or related companies. If you 
> are not the intended recipient of this email, you must neither take any 
> action based upon its contents, nor copy or show it to anyone. Please contact 
> the sender if you believe you have received this email in error. Shape Blue 
> Ltd is a company incorporated in England & Wales. ShapeBlue Services India 
> LLP is a company incorporated in India and is operated under license from 
> Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated 
> in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty 
> Ltd is a company registered by The Republic of South Africa and is traded 
> under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | [email protected]
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software 
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.

Reply via email to