[erlang-questions] Mnesia table replication

Chandru chandrashekhar.mullaparthi@REDACTED
Mon Nov 17 12:12:42 CET 2008


Hi Dan,

2008/11/17 <Dana.RUBINO@REDACTED>

>  Hi all,
>
> Is it possible to have two nodes with each node containing a RAM copy AND
> and DISK copy?
>
> I am thinking a command such as:
>
> mnesia:create_table(xyz, [Attrs,
>                                         {disc_copies, [nodeA, nodeB]},
>                                         {ram_copies, [nodeA, nodeB]}
>                                       ]).
>
> Would this work?
>

There is no need to do that. A copy of disc_copies table is also stored in
RAM.


> Also, is there a way to verify which tables are being accessed i.e. through
> tv?
>

I don't think so. Out of curiosity, why would you want to do that?

cheers
Chandru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081117/e815772e/attachment.htm>


More information about the erlang-questions mailing list