---
title: "What is the use of Mnesia in Erlang Programming?"  
description: "What is the use of Mnesia in Erlang Programming?"  
author: "Tarun Kumar"  
published: 2016-03-15  
updated: 2020-09-15  
canonical: https://www.mindstick.com/interview/22999/what-is-the-use-of-mnesia-in-erlang-programming  
category: "erlang"  
tags: ["erlang"]  
reading_time: 2 minutes  

---

# What is the use of Mnesia in Erlang Programming?

In Erlang programming Mnesia is the distributed database which is written in Erlang. Mnesia is mainly used by Erlang that provides simple queries and can be written with *Query List Comprehensions* (qlc). Mnesia is a multiuser distributed DBMS specially made for industrial telecommunications applications written in Erlang.\
In Mnesia database data is organized as a set of tables and each and every table having a name (name should be an atom). Each table is made up of Erlang records and the users will be responsible for the record definitions. And every table also having a set of properties.

## Answers

### Answer by Tarun Kumar

In Erlang programming Mnesia is the distributed database which is written in Erlang. Mnesia is mainly used by Erlang that provides simple queries and can be written with *Query List Comprehensions* (qlc). Mnesia is a multiuser distributed DBMS specially made for industrial telecommunications applications written in Erlang.\
In Mnesia database data is organized as a set of tables and each and every table having a name (name should be an atom). Each table is made up of Erlang records and the users will be responsible for the record definitions. And every table also having a set of properties.


---

Original Source: https://www.mindstick.com/interview/22999/what-is-the-use-of-mnesia-in-erlang-programming

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
