[ZODB-Dev] Indexing and dates/times

Jim Fulton jim at zope.com
Mon Jul 12 12:00:42 EDT 2010


On Mon, Jul 12, 2010 at 11:47 AM, Pedro Ferreira
<jose.pedro.ferreira at cern.ch> wrote:
> Hello all,
>
> I am currently trying to devise a way to index and retrieve some
> millions of objects according to their modification date/time. One of
> the problems I'm facing is that of index "granularity": I'd like to
> provide "to the second" granularity,

will there ever be more than item with the same key?

> but for that I need some structure
> that lets me do that. So, the options I see are:
>  - A timestamp-based

What do you mean by "timestamp"

> BTree index - looks highly inefficient, as there
> will be many entries with only one element (probably almost all of
> them),

I have no idea what you mean by this.

Jim


-- 
Jim Fulton


More information about the ZODB-Dev mailing list