[erlang-questions] Mnesia Erlang OTP Application sharing Schema/tables

Chandru chandrashekhar.mullaparthi@REDACTED
Tue Jan 29 10:03:11 CET 2008


On 29/01/2008, db <masterofquestions@REDACTED> wrote:
> Hello,
>
> if app on ndA or ndB crash and then restared, how do I make the Application
> so that it does not try to recreate the schema/tables. Is there a way to
> check if schema/tables are there, so you don't do any schema/table
> recreation?

You can use the mnesia:system_info and mnesia:table_info functions to
check for existence of tables.

Chandru



More information about the erlang-questions mailing list