Mnesia 25MB database takes 15min to load!!!

Allan Merolla allan.merolla@REDACTED
Thu Oct 8 13:03:43 CEST 2009


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