[erlang-questions] Calling mnesia:first/1 and mnesia:last/1 on fragmented tables

Sergiu Cojocaru <>
Fri Sep 15 13:03:45 CEST 2017


Hi,
Is it possible to get the expected first and last records from a fragmented table, using mnesia:first/1 and mnesia:last/1 functions? From my testing, when using these functions with mnesia:activity, the returned records do not correspond to the actually first and last inserted data.
If mnesia:first/1 and mnesia:last/1 do not work, is it possible maybe achieve the desired result using some other functions/technics?
Many thanks,Sergiu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170915/57d896e4/attachment.html>


More information about the erlang-questions mailing list