Erlang 术语存储 (ETS) 存储在哪里?

Where is Erlang Term Storage (ETS) stored?

嗨,我正在学习 Erlang。

我读自 http://learnyousomeerlang.com/ets

Erlang has something called ETS (Erlang Term Storage) tables. ETS tables are an efficient in-memory database included with the Erlang virtual machine. [...]

我的问题是:存储在 ETS 表中的 Erlang 术语数据 - 它们存储在哪里?它们是否暂时存储在我的计算机内存中?如果我重新启动我的应用程序,它们会消失吗?

  • ETS 基于 RAM,当所有者进程终止时将消失。
  • DETS 是基于磁盘的 ETS 版本。作为 "disk-only" 他们很慢。
  • 要了解更高级的用法,您应该查看 Mnesia,标准的 Erlang DBMS。

The documentation 对这三个选项进行了一些基本比较。