Sorry for filling your mail boxes,<br>But i just have an idea while practicing some commands over dets database that whether there is a possibility to improve the rate of searching by changing the value <span style="font-weight: bold;">
N</span> in <strong><a name="select/3"><strong><code>select(Name, MatchSpec, N) -></code></strong></a></strong><br><br>is there any possibility?<br>Is there any advantage in using a large value or a small value for that?
<br><br>Thanx<br><br>Chamila <br><br><div><span class="gmail_quote">On 12/21/06, <b class="gmail_sendername">chamila piyasena</b> <<a href="mailto:tchamila@gmail.com">tchamila@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;">
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><span class="sg"><br>Chamila<br><br></span><div><span class="q"><span class="gmail_quote">On 12/20/06,
<b class="gmail_sendername">Christian S
</b> <<a href="mailto:chsu79@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">chsu79@gmail.com</a>> wrote:</span></span><div><span class="e" id="q_10fa4675fbfae4f7_4"><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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></span></div></div><br>
</blockquote></div><br>