[rabbitmq-discuss] FW: Rabbit Persistence Store Documentation

Adhiraj Sarpeshkar asarpeshkar at amplify.com
Wed May 22 15:08:55 BST 2013


I take it the actual message stores are under msg_store_transient and
msg_store_persistent?   Is that documented somewhere as well (as well as
when each store is used)?  If not, is it worthwhile to add a note
somewhere explaining this?

On 05/22/2013 02:45 AM, Matthias Radestock wrote:
> On 21/05/13 19:21, Adhiraj Sarpeshkar wrote:
>> It took me some digging to find out that Rabbit uses a Mnesia database
>> for storage and that the store for a node is located under
>> /var/lib/rabbitmq/mnesia/rabbit/<node_name>.   Not that this is terribly
>> important information for most people, but maybe it could be featured
>> more prominently in the docs?  Or I might be blind and it's already
>> there--in which case a link would be much appreciated in case I need to
>> revisit this in the future.
>
> See the setting for RABBITMQ_MNESIA_DIR in
> http://www.rabbitmq.com/relocate.html#unix, and the explanation above
> it...
>
> <quote>
> The directory where this RabbitMQ node's Mnesia database files are
> placed. (In addition to Mnesia files this location also contains
> message storage and index files as well as schema and cluster details.)
> </quote>
>
> So note that RabbitMQ isn't actually storing *messages* in mnesia.
> They are written to files under $RABBITMQ_MNESIA_DIR but they are not
> part of the mnesia database.
>
> Matthias.



More information about the rabbitmq-discuss mailing list