<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">Mnesia is quite very good but once the entries get to 1m+ in a single table queries take a long time.  I have a few things I have been thinking about regarding mnesia that I really miss.<br><br>1. Map support.  Using maps instead of tuple records, (key and table fields could be set when creating the table).  <br>  Or allowing indexes to be set on a map if its the 3rd element of the record. {mytable, Key, #{index: 1}}<br></div><div dir="ltr" data-setdir="false">2. Get a random key / element.  Right now there is no way to get a random record out a table without a few hacky workarounds that all don't really work at scale.<br>3. Parallel queries, match and selects that readback values take really long on large tables. How about a way to split up the table into chunks and run parallel over it?<br><br></div><div dir="ltr" data-setdir="false">Bonus. Subscription deltas (receiving the delta of changes instead of the entire record on subscription events)<br><br>Anyone else thinking along these lines?</div></div></body></html>