mnesia query

Sebastian Bello <>
Thu Jul 14 15:49:53 CEST 2005


Hi all,

imagine I have a query which returns a very big number of records, but am interested in just a fixed small number of them. Is there a way to retrieve, let's say, just the first N or just N of them? Not doing, ie getting the whole result, implies a performance penalty other than memory consumption?
Thanks,
    Sebastian-
     Prepaid Expertise - Programmable Switches 
      Powered by Ericsson Licensed Technology
      Sebastián Bello - Engineer - Development Center - IN Switch Solutions Inc.
      Headquarters - Miami-U.S.A. Tel: 1305-3578076 Fax: 1305-7686260
      Development Center - Montevideo - Uruguay Tel/Fax: 5982-7104457
      IN SWITCH EMEA Phone: +33 0 6 0335 9427 - Fax: +33 0 4 93655773 / 
      IN SWITCH ASIA Phone: +92 51 2800397/8- Fax: +92 51 2800399/ 
      e-mail: 

     

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20050714/e1862d88/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1429 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20050714/e1862d88/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logoparafondo.gif
Type: image/gif
Size: 16886 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20050714/e1862d88/attachment-0001.gif>


More information about the erlang-questions mailing list