Mnesia Load
Ulf Wiger (AL/EAB)
ulf.wiger@REDACTED
Thu Jan 5 10:37:01 CET 2006
Thinus Pollard wrote:
>
> As you can see, it takes just over 11 minutes for it to load
> completely.
>
> A mnesia:dump_to_textfile() is about 116Mb in size.
Are you sure? Summing the 'memory' info items below
gives me 52 million words, or 208 megabytes.
11 minutes is still a lot. When playing with a 64-bit
machine, I was able to load 5 million records from disk
in about 27 seconds. That was one table occupying about
686 MB of RAM.
Do you have a thread pool enabled? (+A 255, for example)
/Uffe
[...]
> afm_connect : with 1 records occupying 364 words of mem
> afm_eft_hdr : with 1305 records occupying 96958 words of mem
> afm_adm_hdr : with 148 records occupying 11618 words of mem
> afm_eft_trl : with 1293 records occupying 98860 words of mem
> afm_adm_trl : with 98 records occupying 5895 words of mem
> afm_hdr : with 1355 records occupying 131865 words of mem
> afm_fti : with 21 records occupying 2196 words of mem
> afm_bin : with 67902 records occupying 17970584 words of mem
> afm_eft_det : with 101184 records occupying 22059861 words of mem
> afm_adm_det : with 80319 records occupying 11627724 words of mem
> schema : with 12 records occupying 1859 words of mem
> fsn_state : with 1 records occupying 304 words of mem
More information about the erlang-questions
mailing list