[ZODB-Dev] Data.fs without content but 1.8GB diskspace

Christian Robottom Reis kiko at async.com.br
Tue Oct 7 10:31:48 EDT 2003


On Tue, Oct 07, 2003 at 10:19:25AM -0400, Jeremy Hylton wrote:
> > 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.

Problem is getting to the information at that point: I added it to the
end of the list because I'm actually doing the calculation when I print
out the *next* transaction (yes, this currently misses the last
transaction size). If you're okay with me buffering the whole
transaction output until we have the next transaction size in our hands,
I'm willing to do the change, but it's not a trivial one anymore. 

"What you say?"

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331



More information about the ZODB-Dev mailing list