The Mnesia DBMS runs in the same adress space as the application owning the data, yet the application cannot destroy the contents of the data base. This provides for both fast accesses and eecient fault-tolerance, normally connicting requirements. The implementation is based on features in the Erlang programming language, in which Mnesia is embedded.
This report describes a SQL-compiler. The compiler translates the query language SQL to the Erlang programming language and the query language Mnemosyne. Two options are provided for the programmer using the SQL-compiler. SQL statements can either be embedded in Erlang code and compiled together with the Erlang program or compiled at run time when the query… (More)