411 REFERENCE · Wikibooks
Erlang Programming/Database Programming
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Databases in Erlang
Dictionary
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
ETS
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.
Mnesia
Mnesia is a distributed database that lives in the local file system.
External Databases