Hi - I'm managing a Zope installation where my documents are imported from a script I wrote. Every time I run the script and it updates the documents, the database gets larger and larger, which I understand. Unfortunately, when I go to compact the database, it actually expands by about 5 Mb. I'm using Zope Version (Zope 2.5.1 (source release, python 2.1, linux2), python 2.1.1, linux2) Python Version 2.1.1 (#1, Jun 10 2002, 11:11:21) [GCC 3.1] Please help, my database is up to 250 Megs, and I only have about 300 html documents in it! Thanks -Court
Courtland Idstrom wrote:
Hi -
I'm managing a Zope installation where my documents are imported from a script I wrote. Every time I run the script and it updates the documents, the database gets larger and larger, which I understand. Unfortunately, when I go to compact the database, it actually expands by about 5 Mb.
Hmmm. How are you compacting your ZODB? cheers, Chris
I'm just doing it from the Zope interface (Control Panel/Database management) Thanks, -Court On Tue, 30 Jul 2002, Chris Withers wrote:
Courtland Idstrom wrote:
Hi -
I'm managing a Zope installation where my documents are imported from a script I wrote. Every time I run the script and it updates the documents, the database gets larger and larger, which I understand. Unfortunately, when I go to compact the database, it actually expands by about 5 Mb.
Hmmm. How are you compacting your ZODB?
cheers,
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Courtland Idstrom wrote:
I'm just doing it from the Zope interface (Control Panel/Database management)
Well, I've enver known a ZODB pack make a DB grow larger. I'd ask on zodb-dev@zope.org where the ZODB gods live... cheers, Chris
Courtland Idstrom writes:
I'm managing a Zope installation where my documents are imported from a script I wrote. Every time I run the script and it updates the documents, the database gets larger and larger, which I understand. Unfortunately, when I go to compact the database, it actually expands by about 5 Mb. I'm using Very strange!
Zope calls compacting "packing". You are sure, you "pack" the database? Does packing succeed without any error indication (exception)? Do you see a "Data.fs.old"?
Zope Version (Zope 2.5.1 (source release, python 2.1, linux2), python 2.1.1, linux2)
Python Version 2.1.1 (#1, Jun 10 2002, 11:11:21) [GCC 3.1] You should upgrade to 2.1.3! (Although it is probably not responsible for *this* problem (but may cause very nasty others))
Dieter
I posted to the zodb list and got an answer. It was a permissions error... It doesn't explain why the database would actually grow though. In any case, I'm down to 10 Megs from 270 now :) Sorry about the terminology for "compacting" -- I was indeed pressing the "pack" button. Thanks, -Court On Wed, 31 Jul 2002, Dieter Maurer wrote:
Courtland Idstrom writes:
I'm managing a Zope installation where my documents are imported from a script I wrote. Every time I run the script and it updates the documents, the database gets larger and larger, which I understand. Unfortunately, when I go to compact the database, it actually expands by about 5 Mb. I'm using Very strange!
Zope calls compacting "packing". You are sure, you "pack" the database?
Does packing succeed without any error indication (exception)? Do you see a "Data.fs.old"?
Zope Version (Zope 2.5.1 (source release, python 2.1, linux2), python 2.1.1, linux2)
Python Version 2.1.1 (#1, Jun 10 2002, 11:11:21) [GCC 3.1] You should upgrade to 2.1.3! (Although it is probably not responsible for *this* problem (but may cause very nasty others))
Dieter
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Chris Withers -
Courtland Idstrom -
Dieter Maurer