mnesia replication

Chandrashekhar Mullaparthi chandrashekhar.mullaparthi@REDACTED
Tue Aug 9 11:10:06 CEST 2005


On 8 Aug 2005, at 22:09, Serge Aleynikov wrote:

> Folks,
> I have a master mnesia database (disc_copy) and N replicas on 
> different nodes (ram_copies).  Is it possible to postpone mnesia 
> replication from the master node to replicas, make data changes to the 
> master, perform some data validation and cleanup, and then force the 
> replicated nodes to resynch?

I don't know of any way you can do this using mnesia.

> Is this a good approach in terms of avoiding extensive locking 
> overhead in trying to load multiple tables with preserving referential 
> integrity of data accross several tables?

Have you considered using sticky locks? They are quite useful if you 
are only ever going to write to mnesia on one node at a time.


More information about the erlang-questions mailing list