[erlang-questions] Deleting millions of rows in mnesia
Fri Mar 2 00:44:53 CET 2007
I have a mnesia table that collects some data during one month, and then
it should be cleared, in order to collect data for the next month.
The table could be up to 10 million rows.
What is the best way to clear the table?
- delete and recreate the table
I suspect that clear_table/1 could give a bad bump in cpu and memory usage.
More information about the erlang-questions