[erlang-questions] Efficient means of deleting Mnesia entries

T Ty tty.erlang@REDACTED
Thu Oct 24 12:49:31 CEST 2019

Good day,

I have a Mnesia table which is fragmented. I created an index on an
attribute and can efficiently select entries based on my criteria using
match specs and mnesia:select.

With these keys what is an efficient means of deleting this rather large
Mnesia entries ? It is possible I might have 500,000 to 1.5M entries to

Using async_dirty I'm averaging 87s for 500,000 entries on SunOS 5.11 8GB 2
Core, OTP R17.3.

Thanks, tty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20191024/7c120cc9/attachment.htm>

More information about the erlang-questions mailing list