Re: too many database conflicts when using ZODB with int ids and indexes

Jason Madden <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <-6612316001632518648@unknownmsgid>
On Nov 10, 2016, at 8:59 AM, Jim Fulton <[email protected]> wrote:

At ZC, we mitigated this problem by storing persistent ids on objects and
getting rid of the whole persistent key mechanism (which was rather
complicated) and the persistent key -> integer id mapping.  I don't
remember if we ever released this, but looking, it doesn't seem we did.

If your conflicts are in the object -> ids mapping (the internal ``ids``
attribute, I'd consider making a version of the utility that got rid of
this mapping.


Perhaps consider this utility: https://pypi.python.org/pypi/zc.intid

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.