[erlang-questions] Mnesia distributed fragmented table

Eranga Udesh casper2000a@REDACTED
Fri Aug 3 07:55:06 CEST 2007


Hi,

How do I create a fragmented distributed table in multiple Erlang nodes,
where each node will have the full set of fragments, so that even without
other nodes, that node can run in isolation?

For eg. I want to create test_table distributed in 2 Erlang nodes
(node1@REDACTED and node2@REDACTED) and with 20 fragments. I need all 20
fragments in node1@REDACTED, so that even if the node2@REDACTED goes down,
still I can use the full database in node1@REDACTED When both the nodes
are available, any update to test_table in node1@REDACTED will get
reflected in node2@REDACTED and vice versa (distributed).

Thanks,
- Eranga





More information about the erlang-questions mailing list