Erik Enge writes:
I've just finished adding a somewhat small number of objects: 5000. For every 1000th object, the Data.fs seemed to grow to about 900MB; that's when things started going slow, in a non-linear fashion (this is more a hunch than something I payed much attention to).
I paused the script (fancy Unix-command: "^Z") for every 1000th object, packed the database (which shrunk to 19.5MB! Hmpf.) and restarted the script (again, fancy Unix-command: "fg"). Then I was back to the same speed as I initially had. Are the imported object "CatalogAware"? This would imply that each object's import rewrites part of the catalog indexes and lets your ZODB grow drastically.
The old (pre 2.3.1) catalog implementation was know not to be very storage friendly. If a significant portion of the catalog indexes would be affected by imports, then you would see a quadratic storage increase. The new BTree implementation in 2.3.1 might reduce the problem. Dieter
On Thu, 26 Apr 2001, Dieter Maurer wrote:
Are the imported object "CatalogAware"?
They are.
The old (pre 2.3.1) catalog implementation was know not to be very storage friendly. If a significant portion of the catalog indexes would be affected by imports, then you would see a quadratic storage increase.
I'm using Zope 2.3.1b1 so that shouldn't be a problem?
Erik Enge wrote:
The old (pre 2.3.1) catalog implementation was know not to be very storage friendly. If a significant portion of the catalog indexes would be affected by imports, then you would see a quadratic storage increase.
I'm using Zope 2.3.1b1 so that shouldn't be a problem?
Yes, it will be. I'd go for 2.3.2b2 and make sure you you run the catalog updater. I'm just about to upload a product which will update all the ZCatalogs in a ZODB. cheers, Chris
Erik Enge wrote:
On Fri, 27 Apr 2001, Chris Withers wrote:
Erik Enge wrote:
I'm using Zope 2.3.1b1 so that shouldn't be a problem?
Yes, it will be. [...]
So the "bug" in Zope 2.3.1b1 which makes the ZODB grow dramatically is gone in Zope 2.3.2b2?
Not so much a bug as a complete rewrite of the data structures used by ZCatalog. After the amount of work Chris M and Jim F put in, I don't think they'd be happy having it described as 'just a bug' ;-) cheers, Chris
Erik Enge wrote:
On Fri, 27 Apr 2001, Chris Withers wrote:
Erik Enge wrote:
I'm using Zope 2.3.1b1 so that shouldn't be a problem?
Yes, it will be. [...]
So the "bug" in Zope 2.3.1b1 which makes the ZODB grow dramatically is gone in Zope 2.3.2b2?
Not so much a bug as a complete rewrite of the data structures used by ZCatalog. After the amount of work Chris M and Jim F put in, I don't think they'd be happy having it described as 'just a bug' ;-)
Bug is fine. ;-) Here's a FAQ about it: http://www.zope.org/Members/mcdonc/HowTos/UpgradeToNewCatalog/index_html
participants (4)
-
Chris McDonough -
Chris Withers -
Dieter Maurer -
Erik Enge