Mnesia, more questions
Ulf Wiger
ulf@REDACTED
Mon Aug 29 22:27:09 CEST 2005
Den 2005-08-29 14:52:37 skrev tobbe <tobbe@REDACTED>:
>
> I recently read an article on how to setup a secondary MySQL server
> that gets updated from the primary one.
>
> How would one do the same in Mnesia?
> (NB: I don't want the secondary server to be part of schema,
> running in distributed mode, etc)
Perhaps one could make use of mnesia table events?
See
http://erlang.se/doc/doc-5.4.8/lib/mnesia-4.2.2/doc/html/Mnesia_chap5.html#5.7
Another option would perhaps be to use rdbms, which has commit triggers,
but that would require all accesses to go through rdbms. Table events
will work no matter what.
/Uffe
--
Ulf Wiger
More information about the erlang-questions
mailing list