Mnesia foldl without a transaction
Wed Jul 7 20:47:55 CEST 2004
maybe using ets:foldl/3?
> 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?
> Rudolph van Graan
More information about the erlang-questions