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...
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 ...
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...
3
Solved
Some places state 2GB period. Some places state it depends up the number of nodes.
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...
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...
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 ...
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?
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?
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...
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...
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}},
...
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?
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...
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...
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...
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...
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?
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...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.