dets with Mnesia question

Ulf Wiger (TN/EAB) ulf.wiger@REDACTED
Tue Aug 15 13:23:10 CEST 2006

Perhaps one could implement an 'audit' mode where dets
writes space management info to a disk_log file per
dets file.

/Ulf W 

> -----Original Message-----
> From: owner-erlang-questions@REDACTED 
> [mailto:owner-erlang-questions@REDACTED] On Behalf Of Hans Bolinder
> Sent: den 15 augusti 2006 10:22
> To: erlang-questions@REDACTED
> Subject: Re: dets with Mnesia question
> > My question is, would it be possible to shorten the repair time by 
> > modifing the dets startup procedure such that Mnesia could 
> "inform" it 
> > of exactly which records need to be cleaned up and what their real 
> > values should be?
> If the VM crashes the space management information (kept in 
> RAM only) is lost. To recreate it a scan of the whole file is 
> required.
> Best regards,
> Hans Bolinder, Erlang/OTP

More information about the erlang-questions mailing list