Hi again,<br><br>Is there any way to make dets faster , or can any one say how to implement indexing over dets<br><br>thanx<br><br>Chamila<br><br><div><span class="gmail_quote">On 12/20/06, <b class="gmail_sendername">Christian S
</b> <<a href="mailto:chsu79@gmail.com">chsu79@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 12/20/06, chamila piyasena <
<a href="mailto:tchamila@gmail.com">tchamila@gmail.com</a>> wrote:<br>> Hi,<br>><br>> I'm a new member to the Erlang community as well as to Erlang and I'm still<br>> a student. I have problems in Dets .
<br>> how can I improve the data retrieval(minimize the time) from dets files? Is<br>> there a way to use indexing ?<br>> Or should I use other database like Mnesia.<br><br>When you ask if you should use indexing it sounds like you are seeking
<br>through the dets file on a "column" other than the primary key? A.k.a<br>"tablescan".<br><br>If that is so, then yes you should keep an index on the secondary key.<br>Dets does not have such a feature, you need to build it, mnesia has it
<br>though.<br><br><br>Hint: Be less vague and you can probably get better help.<br></blockquote></div><br>