[ZODB-Dev] packing ZODB

Adam GROSZER agroszer at gmail.com
Thu Mar 31 11:22:52 EDT 2011


Hello,

On Thu, 31 Mar 2011 06:33:30 -0600 you wrote:
>
> On 03/31/2011 05:25 AM, Hanno Schlichting wrote:
>> Hi.
>>
>> On Thu, Mar 31, 2011 at 12:46 PM, Adam GROSZER<agroszer at gmail.com> wrote:
>>> After investigating FileStorage a bit, I found that GC runs on objects,
>>> but pack later by transactions. That means that if there's a bigger-ish
>>> transaction, we can't get rid of it until all of it's objects are GCed
>>> (or superseeded by newer states).
>>>
>>> Is that correct?
>>
>> I think so.
>
> Actually we can remove pieces of the old transaction and that's the way
> both FileStorage and RelStorage already work. RelStorage owes much of
> its success to simply duplicating the functionality of FileStorage and
> ZEO. ;-)

Yup, checked that and it works... You just got to get rid of all 
references ;-)

-- 
Best regards,
  Adam GROSZER
--
Quote of the day:
The proud man counts his newspaper clippings- the humble man his blessings.
- Bishop Fulton J. Sheen


More information about the ZODB-Dev mailing list