mnesia Questions

2

Solved

I am interacting with a Remote Server. This Remote Server is in a different Time Zone. Part of the Authentication requires me to produce the: "The number of seconds since January 1, 1970 00:00:00...
Janijania asked 26/1, 2012 at 10:39

2

Solved

I have a 5 processes that insert/update the same 3 records in a mnesia table. Each of these processes does its insert/updates within a single transaction. I have 5 other process that read these v...
Caritacaritas asked 8/11, 2011 at 16:42

1

Solved

So, I was having all kinds of trouble with CRUD operations on sets of records in one transaction. It lead me to post 2 questions here, Trouble and MoreTrouble. However, I think that both those issu...
Deste asked 11/11, 2011 at 20:0

3

Solved

HOW I WISH I HAD PHRASED MY QUESTION TO BEGIN WITH Take a table with 26 keys, a-z and let them have integer values. Create a process, Ouch, that does two things over and over again In one trans...
Louisiana asked 30/10, 2011 at 2:5

0

Following the solutions to the question i asked recently about mnesia fragmentation, I still have a number of challenges. Consider the following scenario (The question I am asking is based on what ...
Errecart asked 9/10, 2011 at 11:26

5

Solved

Testing the Javascript Implementation of MD5 here: http://www.webtoolkit.info/javascript-md5.html gives the following output: MD5("muzaaya") = "00e081abefbbbf72b2d5258196a9b6d0" Going to my erl...
Frech asked 25/7, 2011 at 15:10

1

Solved

We are using Mnesia as a primary Database for a very large system. Mnesia Fragmented Tables have behaved so well over the testing period. System has got about 15 tables, each replicated across 2 si...
Multicellular asked 17/8, 2011 at 8:58

1

Solved

I've seen in a lot of documents that Mnesia has been open sourced by Ericsson, but straightforward googling didn't help me to find the repository with the code... Is Mnesia still open-source at al...
Messaline asked 23/5, 2011 at 10:30

1

When I receive such message, like this: ** WARNING ** Mnesia is overloaded: {dump_log, write_threshold} what is approach to known which table is being used intensively? What kind of debugging do...
Bianca asked 8/1, 2011 at 10:49

2

Solved

In my Quest to understanding Mnesia, I still struggle with thinking in relational terms. So I will put my struggles up here and ask for the best way to solve them. one-to-many-relations Say I hav...
Grave asked 6/11, 2010 at 13:41

4

Solved

I am thinking of developing a web search engine using Erlang, Mnesia & Yaws. Is it possible to make a powerful and the fastest web search engine using these software? What will it need to accom...
Crib asked 12/10, 2008 at 18:17

1

Solved

I am running two erlang nodes with a replicated mnesia database. Whenever I tried to start one of them while mnesia IS NOT Running on the other one, mnesia:wait_for_tables(?TABS,?TIMEOUT), would ha...
Lafountain asked 26/8, 2010 at 8:36

1

Solved

I have some big tables with disc_only_copies type. Now I need change short node name to long but cannot do it with RAM limitation... Can I use backup/restore database partly (table by table)?
Taite asked 14/9, 2010 at 12:55

3

I am trying to have a function that ensures the table I need is already created and if not to create it. Here's the sample: ensure_table_exists(Table, MnesiaTables, Nodes) -> case lists:member(...
Outlet asked 10/9, 2010 at 13:41

4

Solved

I have a table in mnesia and I need to update individual fields in the records in it. According to Erlang : Mnesia : Updating a single field value in a row if I do something like: update_a(Tab, Ke...
Minnie asked 1/12, 2009 at 10:29

1

Solved

What is the best practice to accessing a single running mnesia node from another Erlang shell to only view data in the tables? I tried opening two shells and pointing them to the same mnesia direc...
Botulism asked 26/6, 2010 at 5:52

3

Solved

I have an mnesia table with fields say f1, f2, f3. Now if I were to select all the rows with the field value as V1, I would use mnesia:select and match specifications or a simple mnesia:match_objec...
Garotte asked 26/5, 2010 at 5:57

1

Solved

I try to compare Mnesia with more traditional databases. As I understand it tables in Mnesia can be located to (see Memory consumption in Mnesia): ram_copies - tables are stored in ets, so no du...
Capitulate asked 7/4, 2010 at 22:21

3

Solved

What DBMS do you use with Erlang ? and Why ?
Nereidanereids asked 12/3, 2010 at 11:1

2

Solved

Is there a way to do local writes and and global reads ( without replication ) using mnesia. Eg: node A writes to its local DB and node B reads from node A's DB. Node B does not have any data of i...
Pound asked 4/3, 2010 at 10:4

3

Our Mnesia DB is running slowly and we think it should be somewhat faster. So we need to profile it and work out what is happening. There are a number of options that suggest themselves: run f...
Mongolism asked 4/12, 2009 at 22:54

2

Solved

How do I specify a working directory for mnesia without resorting to passing the "dir" parameter on the command-line? In other words, can I specify a "working directory" for mnesia just before cal...
Koerner asked 3/12, 2009 at 19:53

2

Solved

I have an mnesia table with three fields, i, a and b, created using the record -record(rec, {i, a,b}). Now I insert a row into the table as: mnesia:transaction( fun() -> mnesia:write("T", #r...
Idiophone asked 30/11, 2009 at 16:52

2

Solved

I am building a website using erlang, mnesia, and webmachine. Most of the documentation I have read praises the virtues of having referentially transparent functions. The problem is, all database ...
Historied asked 20/11, 2009 at 17:35

2

Solved

Is there a way to use records directly in erl? No matter what I try, it always says it canno find the record. I am trying to do mnesia transactions and I cannot go too far without my records. Any h...
Caltrop asked 6/9, 2009 at 17:35

© 2022 - 2024 — McMap. All rights reserved.