[erlang-questions] Mnesia 25MB database takes 15min to load!!!

Roberto Aloi roberto.aloi@REDACTED
Thu Oct 8 13:12:34 CEST 2009


Hi Allan,

you might want to have a look to this thread on Trapexit:
http://www.trapexit.org/forum/viewtopic.php?p=44433

Regards,

Roberto Aloi
Erlang Training and Consulting Ltd.
http://www.erlang-consulting.com
http://aloiroberto.wordpress.com

Allan Merolla wrote:
> Hello All,
>
> I am currently using mnesia to store simple records consisting of {ID,Time,Value}. The purpose of the database is simple. High availability of large amounts of "simple data". I have inserted 500 thousand records and the DCD is 24mb. When I do a mnesia:stop() and start() it takes over 10min just to load the test data. I originally had planned to have this fragmented and have at least 200mb per fragment but at 10min load for 25mb the whole idea seems impossible now as it would take over 2hours to start a node. I find it hard to believe this is by design? Can anyone tell me what I am doing wrong?
>
> Thanks in advance folks.
>
> Cheers,
> Allan
>
>
>
>   



More information about the erlang-questions mailing list