[Zope] Force a ZODB transaction commit?

Chris Withers chris at simplistix.co.uk
Thu Jul 22 05:00:15 EDT 2004


Roché Compaan wrote:
> I am sure that the catalog is not the culprit here - I regularly index
> 300k objects in one go. Your instance freezing could be due to memory
> consumption, committing a transaction every n records will help keep
> that in check.

ZCatalog does this by default with subtransactions. I'd look at the 
script doing the indexing, along with how much RAM the server has...

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope mailing list