Mnesia foldl without a transaction

Rudolph van Graan rvg@REDACTED
Wed Jul 7 19:21:22 CEST 2004


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