ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Finding queue depths

Post new topic  Reply to topic
 Finding queue depths « View previous topic :: View next topic » 
Author Message
Noisette
PostPosted: Tue Dec 18, 2012 6:03 pm    Post subject: Finding queue depths Reply with quote

Novice

Joined: 20 Nov 2012
Posts: 13

Hello,

MQ newbie here.

Are there any tools or an API available to measure the depth of an MQ queue? I'd like to set up a job to regularly poll a number of version 7.5 queues and find out how many messages are in them in order to measure performance of my system.

Thanks in advance for any assistance.
Back to top
View user's profile Send private message
mvic
PostPosted: Tue Dec 18, 2012 8:06 pm    Post subject: Re: Finding queue depths Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Welcome.

If you want to write your own, I guess you'll be expecting to take time to read the MQ manuals. For this subject in 7.5, start here:

"Monitoring and performance" http://pic.dhe.ibm.com/infocenter/wmqv7/v7r5/topic/com.ibm.mq.doc/zn00000_.htm
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Dec 19, 2012 12:30 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Look at PCF messages.

However look through the list of MQ support pacs - there is likely to be something you can use or adapt.

Do you want to keep historical data?

What do you want to happen then the queue depth reach a certain value?

Are you just looking for something to look at?

MO71 can automatic refresh the display at intervals and has a hugely customisable range of displays and filters that can be set up.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Dec 19, 2012 3:26 am    Post subject: Re: Finding queue depths Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Noisette wrote:
I'd like to set up a job to regularly poll a number of version 7.5 queues and find out how many messages are in them in order to measure performance of my system.


I'd have thought you'd be more interested in how many messages your system has processed (enqueue / dequeue rates) rather than how many messages happen to be in a queue at a given point in time.

Consider: Your queue is empty at the start of the business day. One hour in you measure the depth and there are 1000 messages in it. If that queue received 1000 in that hour it's a crisis because the reading app has crashed. If it received 3000 it's an issue, 10,000 it's not so bad & 100,000 it's doing fairly well.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Wed Dec 19, 2012 2:56 pm    Post subject: Re: Finding queue depths Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

Noisette wrote:
Hello,
MQ newbie here.

Are there any tools or an API available to measure the depth of an MQ queue? I'd like to set up a job to regularly poll a number of version 7.5 queues and find out how many messages are in them in order to measure performance of my system.

Thanks in advance for any assistance.

Welcome to the world of MQ. The "MQINQ" API allows a current queue depth to be inquired. The "ideal" state of MQ is that all application queue depths are zero!
What is your requirement to measure performance? Do you want to detect consumer applications that are unable to keep up with the volume of incoming messages? There are many monitoring solutions available for MQ.
_________________
Glenn
Back to top
View user's profile Send private message
Noisette
PostPosted: Thu Dec 20, 2012 12:36 pm    Post subject: Reply with quote

Novice

Joined: 20 Nov 2012
Posts: 13

Thanks to all for your thoughts.

This project involves upgrading MQ from version 6 to 7.5, as well as transporting everything over to a different version of WebLogic. As such, we want to be able to compare performance of the current system and a test version of the new configuration to indicate that there's no degradation.

Whilst I agree that MQ is just a vessel for messages and it's other stuff which is doing the processing, I'm investigating whether it's easier for me to write a wee script to periodically measure the depth of queues to get an idea of performance.
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Dec 20, 2012 2:27 pm    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Noisette wrote:
I'm investigating whether it's easier for me to write a wee script to periodically measure the depth of queues to get an idea of performance.

Supposing you find the queues are, on average, deeper, what would you do? Supposing you find they are less deep, what would you do?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Finding queue depths
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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.