[ZODB-Dev] Passing thought: It would be interesting at the application level to have a measure of database record size

Jim Fulton jim at zope.com
Fri May 14 06:59:14 EDT 2010


On Fri, May 14, 2010 at 4:27 AM, Christian Theune <ct at gocept.com> wrote:
> On 05/12/2010 01:11 PM, Jim Fulton wrote:
>> It occurs to me that it would be useful, at the application level, to
>> have some measure of an object's record size.  This would, for
>> example, be a better basis for OOBucket splits than item count.
>
> I thought we gained such an _p_ attribute as an indicator for the
> size-based cache?

Nope.

I also realized that this wouldn't easily help the bucket split case,
because the size wouldn't be affected by growth since the last database
load or save.

Jim

-- 
Jim Fulton


More information about the ZODB-Dev mailing list