[ZODB-Dev] Data.fs without content but 1.8GB diskspace
Jeremy Hylton
jeremy at zope.com
Tue Oct 7 10:19:25 EDT 2003
On Tue, 2003-10-07 at 10:07, Christian Robottom Reis wrote:
> On Mon, Oct 06, 2003 at 11:20:11AM -0400, Jeremy Hylton wrote:
> > > Would it be approriate to have this sizing information provided by
> > > fsdump.py too?
> >
> > Sure, but it's easy to compute from the current output, so I'm not
> > inclined to do anything about it.
>
> I'm not sure if that was a nudge or an elbow in the gut <0.8 wink>. I've
> changed fsdump slightly to output this information:
>
> Trans #00015 tid=034e7fe55c0ae1f1 time=2003-07-24 03:17:21.572463 offset=286135
> status='p' user= description=
> data #00000 oid=00000000000038c9 class=domain.sorder.SOrder
> data #00001 oid=00000000000038f0 class=IndexedCatalog.BTrees.OOBTree.OOSet
> data #00002 oid=00000000000038f1 class=IndexedCatalog.BTrees.OOBTree.OOSet
> Transaction size: 1549 bytes
>
> Trans #00016 tid=034e7fe55c0ae1f2 time=2003-07-24 03:17:21.572463 offset=287684
> [...]
>
> I've attached the patch for review; the only thing it changes in the
> output (besides the "Transaction size" lines) is a blank line at the
> beginning of the output.
This is a nice start, but I think it would be better to get the size
included in the transaction metadata at the start. Right now you can do
a grep for Trans and get a pretty good summary of the transactions, one
per line.
Jeremy
More information about the ZODB-Dev
mailing list