[erlang-questions] Index Overhead In Mnesia

Hynek Vychodil <>
Wed Jun 11 09:03:36 CEST 2008


On Tue, Jun 10, 2008 at 9:44 PM, Ben Hood <> wrote:

> > I guess it is in the same category as repeated queue scanning for
> selective
> > receive - easy to workaround in most cases, so no major incentive to
> change
> > the behaviour.
>
> So you're saying that one should decompose the duplicates into another
> table that just contains a canonical representation of each unique
> combination and just reference these from the original table?
>
> Ben
>

or don't use index if cardinality of element is far less than cardinality of
table. Index is useless in this case anyway.

-- 
--Hynek (Pichi) Vychodil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080611/9e210aaf/attachment.html>


More information about the erlang-questions mailing list