[erlang-questions] mnesia:dirty_select/3 feature request

Serge Aleynikov saleyn@REDACTED
Thu Jun 5 05:05:21 CEST 2008


Currently there are mnesia:dirty_select/2 and mnesia:select/{3,4} 
functions, but no mnesia:dirty_select/3 with the following signature:

mnesia:dirty_select(Table, MatchSpec, Limit) ->
	{Records, Continuation}

I believe it would be very useful to have this function for cases when a 
user needs to get only a few matching records out of a very large table.

Or perhaps am I missing some other ways to do mnesia selects using fast 
read matching operations with a Limit clause that don't involve 
transactions?

Serge



More information about the erlang-questions mailing list