[ZODB-Dev] Why DO we use timestamps as transaction ids?

Jim Fulton jim at zope.com
Thu Oct 5 13:58:06 EDT 2006


Dieter Maurer wrote:
> Chris Withers wrote at 2006-10-5 09:52 +0100:
...

>> I'm wondering why we take on those issues rather than just use an 
>> incrementing integer sequence instead?
> 
> With integer keys, you would not be able to pack to something
> like n days before -- as you do not have any time in your
> storage file....

You would still need to track times, but you could manage
this as transaction meta data, rather than using it as an id.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the ZODB-Dev mailing list