From 85112014bd136055b56e6ec5218f82f74951e0c6 Mon Sep 17 00:00:00 2001 From: Ulf Wiger Date: Wed, 20 Nov 2013 18:21:44 +0100 Subject: Make Mnesia DCD dump behaviour available via configuration Setting the new Mnesia parameter 'dump_disc_copies_at_startup' to 'false' will completely disable the DCD dumping while tables are being loaded. If it is set to 'true' (the default), the same test will now be performed as for normal dumps, i.e., using the 'dc_dump_limit' parameter. Previously, the test performed at load time was different from the one used at runtime, and caused a lot of unnecessary dumping which slowed down the startup. --- lib/mnesia/doc/src/mnesia.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/mnesia/doc/src') diff --git a/lib/mnesia/doc/src/mnesia.xml b/lib/mnesia/doc/src/mnesia.xml index 72e9bd7e8f..842f1641dd 100644 --- a/lib/mnesia/doc/src/mnesia.xml +++ b/lib/mnesia/doc/src/mnesia.xml @@ -3016,6 +3016,12 @@ raise(Name, Amount) -> circumstances, share the same Mnesia directory. The results are totally unpredictable.

+ +

-mnesia dump_disc_copies_at_startup true | false. + If set to false, this disables the dumping of disc_copies + tables during startup while tables are being loaded. The default + is true.

+

-mnesia dump_log_load_regulation true | false. Controls if the log dumps should be performed as fast as -- cgit v1.2.3