mnesia Questions

4

Solved

I am setting up a rabbitmq cluster and ran into an issue during the one step in the process. Its straight out of the rabbitmq clustering guide. root@celery:~# rabbitmqctl status Status of node cel...
Sentry asked 4/8, 2011 at 21:17

5

I have a debian box running tasks with celery and rabbitmq for about a year. Recently I noticed tasks were not being processed so I logged into the system and noticed that celery could not connect ...
Mingy asked 6/8, 2014 at 14:3

2

Solved

WARNING: the background info is pretty long. Skip to the bottom if you think you need the question before the background info. Appreciate the time this is gonna take! I've been all over the web (r...
Msg asked 14/4, 2012 at 14:38

3

Solved

Some places state 2GB period. Some places state it depends up the number of nodes.
Mathi asked 7/1, 2009 at 18:39

2

Solved

I ma new in erlang and I need to do some operations for all records I get from mnesia database. Result = mnesia:dirty_read(mydatabase, {key1, key2}), case Result of [] -> ?DEBUG("No such re...
Biparty asked 7/3, 2016 at 16:56

2

I want to access Mnesia database of ejabberd server, But i don't know how to read,write and update the data, Is there a way by which i can do this. Can i change Database to MySQL rather than Mnesi...
Ludovick asked 8/4, 2015 at 13:10

3

I sometimes get mnesia overloaded error message while using primarily async_dirty queries and ram_copies tables. So to understand what is going on I want to get more information about mnesia state ...
Etra asked 19/3, 2014 at 10:29

2

I have an erlang application currently running on four nodes with a replicated mnesia db that stores minimal data regarding connected clients. The mnesia replication has been working seamlessly in ...
Allergen asked 13/11, 2013 at 4:53

1

Solved

I am trying use Elixir to write program to access mnesia. I run iex shell in amazon linux. I tried to connect another node using Node.connect(:'[email protected]') which return true, then ...
Obstetrics asked 15/4, 2015 at 5:31

2

Solved

I'm digging into ejabberd but I can't find a way to inspect its Mnesia tables. Is there something like the MySQL shell to inspect tables?
Ultravirus asked 27/7, 2010 at 13:3

1

ets:select vs mnesia:select Which is better to use.And also in case of insertion and deletion which one of these two we should use.I am working on ejabberd.Any pointers?
Intergrade asked 13/2, 2015 at 6:1

4

Solved

I tried this code snippet: print_next(Current) -> case mnesia:dirty_next(muppet, Current) of '$end_of_table' -> io:format("~n", []), ok; Next -> [Muppet] = mnesia:dirty_read({muppet...
Candelabra asked 14/10, 2011 at 6:14

3

Solved

I have a server application made in Erlang. In it I have an mnesia table that store some information on photos. In the spirit of "everything is a process" I decided to wrap that table in a gen_ser...
Arrowood asked 17/9, 2009 at 8:28

1

I have a bad node (it doesn't exist) in the mnesia cluster data when I get: > mnesia:system_info(db_nodes) [bad@node, ...] How do I remove it from the cluster? I tried: > mnesia:del_tabl...
Ferraro asked 13/9, 2010 at 16:7

1

Solved

Few questions about RabbitMQ v3.1.5 clustering. I have a cluster with 2 nodes, rabbitmq.config is like this on both nodes: [ {rabbit, [ {cluster_nodes, {['rabbit@rmq01', 'rabbit@rmq02'], ram}}, ...
Cryptozoite asked 9/1, 2014 at 10:54

1

For example, I saved {id, name} in mnesia and want to update to {id, name, age}, do I have to call transform_table every time I change schema?
Lenwood asked 14/4, 2013 at 10:51

2

Does it replicate all the data to every node or does it store data fragments on each node and then fetches every needed fragment from different node at runtime? Or how does this work? Does c...
Talavera asked 28/3, 2013 at 1:53

2

Solved

I have already asked a question regarding a simple fault-tolerant soft real-time web application for a pizza delivery shop. I have gotten really nice comments and answers there, but I disagree i...
Truant asked 21/8, 2012 at 19:12

1

Solved

I have a complete mnesia ram_copies-only database but I am experiencing problems adding a disk_copy table to a node. At the moment I do: Create all my ram_copy tables/nodes Start mnesia on the di...
Rodrickrodrigez asked 15/11, 2012 at 13:38

1

What is the difference between a series of mnesia:dirty_ commands executed within a function passed to mnesia:async_dirty() and those very same transactions executed "raw"? I.e., is there any diff...
Electroform asked 9/11, 2012 at 20:49

1

Solved

I am still trying to deeply understand what one can do with Mnesia, and answers to these two questions would greatly help. 1) What happens if one process does an atomic transaction with respect to...
Masurium asked 8/11, 2012 at 22:5

4

Solved

I have a group of erlang nodes that are replicating their data through Mnesia's "extra_db_nodes"... I need to upgrade hardware and software so I have to detach some nodes as I make my way from node...
Nugent asked 4/5, 2009 at 12:42

2

Solved

How can I in constant time (or closest possible) find the maximum or minimum value on an indexed column in an Mnesia table?
Uranous asked 4/9, 2012 at 14:45

1

Solved

I create a table whose name is NOT the same as its record name. Here below is the code snippet %% ---- record definition -------------------------------- -record(object,{key,value}). %% ---- create...
Dysphasia asked 16/5, 2012 at 15:30

2

Solved

I want to create an mnesia schema and table in my code after the system starts, so I need to detect weather the mnesia schema and table have been created. If not, I want to create them. Is this a g...
Banking asked 8/2, 2012 at 1:59

© 2022 - 2024 — McMap. All rights reserved.