[erlang-questions] HOW TO IMPROVE THE PERFORMANCE OF DETS

chamila piyasena <>
Thu Dec 21 10:46:15 CET 2006


Hi again,

Is there any way to make dets faster , or can any one say how to implement
indexing over dets

thanx

Chamila

On 12/20/06, Christian S <> wrote:
>
> On 12/20/06, chamila piyasena <> wrote:
> > Hi,
> >
> > I'm a new member to the Erlang  community as well as to Erlang and I'm
> still
> > a student.  I have problems in  Dets  .
> > how can I improve the data retrieval(minimize the time) from dets files?
> Is
> > there a way to use indexing ?
> > Or should I use other database like Mnesia.
>
> When you ask if you should use indexing it sounds like you are seeking
> through the dets file on a "column" other than the primary key? A.k.a
> "tablescan".
>
> If that is so, then yes you should keep an index on the secondary key.
> Dets does not have such a feature, you need to build it, mnesia has it
> though.
>
>
> Hint: Be less vague and you can probably get better help.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20061221/17b3a2d6/attachment.html>


More information about the erlang-questions mailing list