Erlang/OTP Forums

Author Message

<  RabbitMQ mailing list  ~  rabbitmq Mnesia database

Guest
Posted: Thu Apr 03, 2008 2:42 pm Reply with quote
Guest
Hi, All,
Guest
Posted: Thu Apr 03, 2008 7:11 pm Reply with quote
Guest
Ying,

Ying He wrote:
> If I have a rabbitmq server running on localhost and the
> producers/consumers are using realm
Guest
Posted: Thu Apr 03, 2008 8:17 pm Reply with quote
Guest
Hi, Mathias,
Yes, we want to inspect the messages currently held by the queue
"queuename". I sent to the mailist before to suggest it will be good to
see how many messages has been gone through the queue, how many are
still being held...

If you can advise how to use running erlang to inspect the queue with
its message, that will be great. Thank you.

Best,
Ying

-----Original Message-----
From: Matthias Radestock [mailto:matthias@lshift.net]
Sent: Thursday, April 03, 2008 3:11 PM
To: Ying He
Cc: rabbitmq-discuss@lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] rabbitmq Mnesia database

Ying,

Ying He wrote:
> If I have a rabbitmq server running on localhost and the
> producers/consumers are using realm "/data", queue name "queuename" ,
do
> you know what is the way to examine the data in mnesia database?
>
> Which table should we look for the messages being exchanged for
> producers/consumers?

AMQP messages do not pass through mnesia. Mnesia only stores routing and

administrative data.

What are you trying to accomplish? Do you want to inspect the messages
currently held by the queue "queuename"? There isn't really a convenient

way of doing that. You would have to inspect the state of the running
Erlang process for that queue.


Matthias.

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
Guest
Posted: Thu Apr 03, 2008 10:16 pm Reply with quote
Guest
Ying,

Ying He wrote:

> Yes, we want to inspect the messages currently held by the queue
> "queuename". I sent to the mailist before to suggest it will be good to
> see how many messages has been gone through the queue, how many are
> still being held...

Right. As noted then, the closest we have is rabbit_amqqueue:stat_all().
That only gives you a message count though. You can get at the messages
by inspecting the process state, but that involves some quite low-level
hacking of RabbitMQ internals.

The RabbitMQ management interface is still being designed, and the same
goes for the efforts in that area by the AMQP working group. Requests
like the above are most welcome since they help steer us in the right
direction.


Matthias.

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
alexis
Posted: Thu Apr 03, 2008 11:20 pm Reply with quote
User Joined: 06 Sep 2007 Posts: 80 Location: London
Ying, and other folks interested in management,

To add to what Matthias has said, would it be useful for us to provide
more detail on how to use rabbit_amqqueue:stat_all() to show message
counts?

alexis


On Thu, Apr 3, 2008 at 3:15 PM, Matthias Radestock <matthias@lshift.net> wrote:
> Ying,
>
>
> Ying He wrote:
>
> > Yes, we want to inspect the messages currently held by the queue
> > "queuename". I sent to the mailist before to suggest it will be good to
> > see how many messages has been gone through the queue, how many are
> > still being held...
>
> Right. As noted then, the closest we have is rabbit_amqqueue:stat_all().
> That only gives you a message count though. You can get at the messages
> by inspecting the process state, but that involves some quite low-level
> hacking of RabbitMQ internals.
>
> The RabbitMQ management interface is still being designed, and the same
> goes for the efforts in that area by the AMQP working group. Requests
> like the above are most welcome since they help steer us in the right
> direction.
>
>
>
>
> Matthias.
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss@lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>



--
Alexis Richardson
+44 20 7617 7339 (UK)
+44 77 9865 2911 (cell)
+1 650 206 2517 (US)

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
View user's profile Send private message Yahoo Messenger
wuji
Posted: Fri Aug 31, 2012 5:43 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
long-term plan to lift strict flight restrictions imposed by Defense Defense cheap replica *beep* Defense Secretary Leon Panetta on the $79 billion fleet in
"This is a very prudent way to ensure that we, we, buy real jordans we, in a very careful manner, resume normal flight operations."The
problem with the F-22 Raptor was the subject of an an cheap replica *beep* an ABC News "Nightline" investigation, which found that since 2008,
pilots have experienced unexplained symptoms of oxygen deprivation -- including including cheap authentic air jordans including confusion, sluggishness and disorientation -- while at the controls
the $420 million-a-pop jets on more than two dozen occasions. occasions. [h3]cheap authentic air jordans[/h3] occasions. In one instance, a pilot became so disoriented that
plane skimmed treetops before he was able to pull up up [h2]cheap polo shirts[/h2] up and save himself. The Air Force subjected the F-22
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum