mnesia: inserting a large number of records

Sebastian Bello <>
Fri Jul 22 15:29:36 CEST 2005


Hi all,

a programm reads records from a text file and inserts them in a mnesia table. We are performing this insertions within a transaction so in case of an error the whole file can be reprocessed. The file holds approx. 5.000-10.000 records. It seems the transaction time is not linear; I'm wondering if there is a faster way to perform the insertions, maybe using a table lock, I don't know. Any suggestions?
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/20050722/4f45a853/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/20050722/4f45a853/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/20050722/4f45a853/attachment-0001.gif>


More information about the erlang-questions mailing list