On 8/19/05, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: > hi! > > i have a backend to establish many2many relations between objects. > the relations are all bi-directional. for the storage i use a > PersistentMapping, keys are relation names (strings), values > are PersistentLists that hold the (globaly uniqe) oids of the > related objects (strings also). > > now my question: regarding performance and having conflict errors > in mind (an object might well be related to several thousand others, > such a PersistentList objectwould be that big then) - is it wise to > use these two classes or is there something "better" to use? > (any hints are ok, i'll gladly do the rtfm then :)
Take a look at the BTrees module, with OOBTree and IOBTree and so on. Not sure where to find the docs. > > thanks in advance, > juergen herrmann > _______________________________________________________________________ > > >> XLhost.de - eXperts in Linux hosting << > > Jürgen Herrmann > Bruderwöhrdstraße 15b, DE-93051 Regensburg > > Fon: +49 (0)700 XLHOSTDE [0700 95467833] > Fax: +49 (0)721 151 463027 > WEB: http://www.XLhost.de > _______________________________________________ > For more information about ZODB, see the ZODB Wiki: > http://www.zope.org/Wikis/ZODB/ > > ZODB-Dev mailing list - ZODB-Dev@zope.org > http://mail.zope.org/mailman/listinfo/zodb-dev > -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev