Custom tables in Mnesia DB and clustering impact

I would like to add custom tables to the Mnesia DB to be used by an authentication plugin. First of all will this work?

My second question is if this will work will these tables be automatically duplicated when we want to do clustering?

Thanks.

Yes, the table will be

Yes, the table will be replicated if you make sure the local version of the table on each node is either ram or disc_copies and not remote.

You can change table copy type with the command:
mnesia:change_table_copy_type(Tab, node(), disc_copies),

You can check the state of each table with command mnesia:info().

... and of course you need to write code to use your new tables.

Thanks

Thanks

Syndicate content