[rabbitmq-discuss] FW: Mnesia for RMQ plugin

Mailinglist Recipient real.recipient at hotmail.com
Fri May 30 07:45:52 BST 2014


Hi,
the problem was as you wrote with he default behaviour of create_table/2. As I created them long time ago they were ram only. I added disc_copies property later but it had no meaning since all of them were already created ram only. Thanks a lot.

Regards
Marek

> Date: Thu, 29 May 2014 16:12:33 +0100
> From: simon at rabbitmq.com
> To: rabbitmq-discuss at lists.rabbitmq.com; real.recipient at hotmail.com
> Subject: Re: [rabbitmq-discuss] Mnesia for RMQ plugin
> 
> On 29/05/14 16:03, Mailinglist Recipient wrote:
> > Anyway I did look into those RMQ tables and for example rabbit_vhost got
> > emptied as well although virtual hosts don't need to be declared as
> > durable to be persisted between restarts. The problem is probably
> > somewhere else.
> 
> Yeah, rabbit_vhost is definitely a disc table. Note that not all tables 
> are on disc even on a cluster disc node - rabbit_durable_queue for 
> example is a disc table, but rabbit_queue is always in RAM.
> 
> For your own tables, check that the disc_copies property gets set when 
> adding the table. The default is for the table to be in RAM.
> 
> mnesia:table_info(TableName, disc_copies) will let you check.
> 
> Cheers, Simon
> 
> -- 
> Simon MacMullen
> RabbitMQ, Pivotal
 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140530/4abfc609/attachment.html>


More information about the rabbitmq-discuss mailing list