Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7433591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:41:45+00:00 2026-05-29T09:41:45+00:00

I want to learn a functional language and Mnesia seems killer app enough for

  • 0

I want to learn a functional language and Mnesia seems “killer app” enough for me to learn Erlang. I want some concepts clarified first.

How does Mnesia enforce referential integrity on relations? Old articles say that it is not enforced at the data level. Is it changed now? Or does Erlang and Mnesia provide features that allows us to write provably correct and maintainable code for maintaining referential integrity? Even for transitive relations across n tables?

Does the query language support ad-hoc queries, short of full-text?

What about high-capacity distributed systems? There is a 4GB file limit, right? How can I write 10 (or more) million rows to the database? And will it automatically distribute itself to other nodes, so that it becomes high-availability? This has got to do with fragmentation; I want to know if it is an operational concept I have to worry about everyday.

Can it easily configure so that it does replication across physical locations, like a MySQL master-slave setup?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:41:46+00:00Added an answer on May 29, 2026 at 9:41 am

    it is several questions:

    1. Referential integrity – no, mnesia doesn’t keep referential integrity across tables. Mnesia is k/v storage only but provides you atomic transactions even across tables. So you have to keep referential integrity yourself but mnesia helps you with ability to write transaction as functions and enables also nested transactions. Mnesia keeps referential integrity between table and index at max 😉
    2. Ad-hoc queries – no, it is not work for mnesia but qlc module helps you with this task.
    3. Full-text – no there is not any support for this out of the box. Mnesia ability to write transactions in application language (Erlang) helps you with it but you have to make your own solution.
    4. High-capacity – there are fragmented tables to address bigger data volumes.
    5. High-availability – there is support for this by table replica. (There is also support for replica of table fragments.)
    6. Master-slave – mnesia supports master-master replication out of the box. If you need master-slave replication you have to roll your own solutions with support of transaction log . (See mnesia:subscribe/1 and Mnesia Event Handling.)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to learn some JVM language, but there are so many EDIT :
I want to learn C# because... It seems to be a pretty marketable language
I want to learn some language from Lisp family. It may be CL or
I want to learn a new programming language and develop for the Android platform.
I've been doing some OCaml programming lately to learn the language and to get
I'm writing some C++ codes for fun and practice, to learn more about language
I want to learn how to create truly robust applications in .net - ones
I want to learn how to use Struts 2 and I created a simple
I want to learn the answer for different DB engines but in our case;
I want to learn lLinux Kernel programming. What would be the starting points for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.