[ZODB-Dev] FW: standalone windows 1.0rc1 exe
Hannu Krosing
hannu@krosing.net
31 Jan 2002 01:17:54 +0500
On Thu, 2002-01-31 at 03:55, Greg Ward wrote:
> On 30 January 2002, Shane Hathaway said:
> > The one issue I see with PersistentList is that it puts the list in its
> > own database record. Lists are often small, so having a whole database
> > record for every list can be a burden. There isn't an easy way around
> > that in the current ZODB.
>
> A well-founded concern: one of our colleagues recently examined our
> database, and found that ~50,000 of our ~350,000 objects were
> PersistentLists, and the vast majority of them had 0, 1, or 2 elements.
> Too high a price to pay to avoid having to remember "self._p_changed =
> 1" in many places? Hmmm.
An easy calculation will tell you that in monetary units :
if ( (50000*vast_majority_prct*price_of_disk_and_memory_space) >
(salary * time_spent_remembering)
) { price = too_high; }
;)
--------------
Hannu