Last modified on 4 May 2009, at 04:28

Erlang Programming/Database Programming

Databases in ErlangEdit

DictionaryEdit

Data can be stored in many ways in Erlang. Each process has a local dictionary that uses put and get.

2> put(hello,world).  
undefined
3> get(hello).
world

ETSEdit

Data can be stored with the ETS (Erlang table storage system) via the ETS library. It creates data at the process level. See Using_Ets.

MnesiaEdit

Mnesia is a distributed database that lives in the local file system.

External DatabasesEdit