[ZODB-Dev] Re: PartitionedFileStorage
Chris Withers
chrisw at nipltd.com
Thu Apr 24 16:21:36 EDT 2003
Shane Hathaway wrote:
> Ok, it's now in public CVS.
>
> http://cvs.zope.org/Packages/PartitionedFileStorage/
>
> The code automatically deals with varying partition sizes, so you can
> have one partition that's 50 MB and another that's 100MB without any
> surprises. The PARTITIONED_FILE_SIZE parameter only specifies when to
> start a *new* partition.
>
> ...aw, what the heck, I'll help you out a little more. I just made a
> Zope-2_6-branch version of the FileStorage patch also. Use
> FileStorage_py_1_98_2_7.patch for the 2.6 branch.
You're a star :-)
BTW, what happens when you pack a partitioned FileStorage?
> BTW I just discovered another use for this. You can run with partitions
> normally off, then when you want to make a change that you'd like to
> blow away afterward, you can turn on small partitions and do your
> testing. Afterward, you just delete the extra partitions and you're
> back to exactly where you were. I think that's pretty neat.
Very cool :-)
What needs to happen for this to be included in the standard Zope distribution?
cheers,
Chris
More information about the ZODB-Dev
mailing list