<div dir="ltr">Dear list,<div>I am starting MNESIA in RAM only mode, with the option [1]:</div><div><br></div><div><font face="monospace, monospace">      -mnesia schema_location ram</font>.</div><div><br></div><div>Every time I start a gen_server, I first ensure to add all the other nodes in the island like so:</div><div><br></div><div><font face="monospace, monospace">      mnesia:change_config(extra_db_nodes, [node() | nodes()]).</font></div><div><br></div><div>I then create the table I need:</div><div><br></div><div><div><font face="monospace, monospace">      mnesia:create_table(cometa_online_devices, [</font></div><div><font face="monospace, monospace">          {type, set},</font></div><div><font face="monospace, monospace">          {ram_copies, [node() | nodes()]},</font></div><div><font face="monospace, monospace">          {attributes, record_info(fields, my_record)},</font></div><div><font face="monospace, monospace">          {index, [#my_record.pid]},</font></div><div><font face="monospace, monospace">          {storage_properties, [{ets, [{read_concurrency, true}]}]}</font></div><div><font face="monospace, monospace">      ])</font></div></div><div><br></div><div>I do so mainly to avoid the hassle of creating a schema. As you can see I only use ram tables.</div><div><br></div><div>My question here is: is this an appropriate use? What kind of problems may I get myself into by not using a disc schema?</div><div><br></div><div>Thank you,</div><div>r.</div><div><br></div><div><br></div><div><br></div><div>[1] <a href="http://www.erlang.org/doc/apps/mnesia/Mnesia_chap5.html#id76396">http://www.erlang.org/doc/apps/mnesia/Mnesia_chap5.html#id76396</a></div></div>