[ZODB-Dev] Solved!!! Re: unable to import ZODB: class ConflictError, AttributeError

Malthe Borch mborch at gmail.com
Thu Jun 14 17:11:33 UTC 2012


On 14 June 2012 17:52, Martijn Pieters <mj at zopatista.com> wrote:
> * Store as a tree of persistent objects if parts need changing over
> time. Future commits would be a lot smaller that way. I'd parse out
> the original large dictionary in a separate process, perhaps chunk the
> commits (so build up the structure over several commits).

If you use a BTree, then you can commit savepoints as you go (after a
suitable number of entries):

  transaction.savepoint()

Please report back your findings.

\malthe


More information about the ZODB-Dev mailing list