Re: too many database conflicts when using ZODB with int ids and indexes
Jim Fulton <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb |
|---|---|
| Message-ID | <CAPDm-FhS70yBMUzUwVM5oVXT7ZCR9GC0HH2ZMipuf+pjRc3EFw@mail.gmail.com> |
On Thu, Nov 10, 2016 at 10:03 AM, Jason Madden <[email protected] > wrote: > > 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 > That's it. :) Thanks. I looked on github and didn't find it. Dang I wonder if was in the old ZC svn repo. :/ Jim -- Jim Fulton http://jimfulton.info -- 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.