[ZODB-Dev] RelStorage recommended maintenance
Shane Hathaway
shane at hathawaymix.org
Fri Jan 21 15:57:45 EST 2011
On 01/21/2011 10:46 AM, Chris Withers wrote:
> I'm wondering what the recommended maintenance for these two types of
> storage are that I use:
>
> - keep-history=true, never want to lose any revisions
>
> My guess is zodbpack with pack-gc as true, but what do I specify for the
> number of days in order to keep all history?
Is 100 years enough? 365.24 * 100 = 36524 ;-)
> - keep-history=false, never want any revisions or unreferenced objects
>
> My guess is zodbpack with pack-gc as true and days as 0?
Sounds right.
> All storages will be in MySQL, are there any duty-cycle or other
> parameters I should tweak from their default values?
As I recommend to everyone, there should be no need to tweak anything
unless you have measurements that tell you the defaults don't fit your site.
> How often do you recommend running zodbpack?
Daily.
Shane
More information about the ZODB-Dev
mailing list