Mnesia foldl without a transaction

mats cronqvist mats.cronqvist@REDACTED
Wed Jul 7 20:47:55 CEST 2004


   maybe using ets:foldl/3?

   mats

> Hi All,
>
> My question tonight is about iterating over an mnesia table with the  
> lowest possible overhead to the VM. As far as I can see, a  
> mnesia:foldl(...) call runs in a transaction and then blocks all other  
> mnesia calls. How would I get to iterate over an entire table with as  
> little as possible overhead? At the moment my table sits at about 100000  
> records and it takes almost 10s to iterate. Any ideas on how to speeds  
> this up?
>
> Regards,
>
> Rudolph van Graan





More information about the erlang-questions mailing list