What Haven’t We Talked About?
ETS and DETS tables support a number of operations that we haven’t talked about in this chapter. These operations fall into the following categories:
-
Fetching and deleting objects based on a pattern
-
Converting between ETS and DETS tables and between ETS tables and disk files
-
Finding resource usage for a table
-
Traversing all elements in a table
-
Repairing a broken DETS table
-
Visualizing a table
More information about ETS[23] and DETS[24] is available online.
ETS and DETS tables were designed for efficient low-level in-memory and disk storage of Erlang terms, but this is not the end of the story. For more sophisticated data storage, we need a database.
In the next chapter, we’ll introduce Mnesia, which is a real-time ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access