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 » IBM MQ Installation/Configuration Support » Statistics messages - do they need housekeeping?

Post new topic  Reply to topic
 Statistics messages - do they need housekeeping? « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: Tue Apr 21, 2009 2:36 am    Post subject: Statistics messages - do they need housekeeping? Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

If I enable queue statistics at the QMGR level (to medium) on a fairly low volume queue manager (say 10000 messages per day over 10 queues) - is there a need to housekeep the statistics queue?

What about channel statistics? I am not worried about the performance overhead on the queue manager, but I don't want statistics queues filling up.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 21, 2009 3:08 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Uh... What's the point of enabling statistics if you aren't going to actually collect them?

Stats messages should be consumed by your monitoring tools and the relevant data in them digested and stored however your monitoring tools keep stats history (usually in a database...)
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Apr 21, 2009 4:13 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I was just wondering whether these messages were consumed or just updated on the queue (OK technically get and put a new message).

So are you saying that MO71 or MQ explorer actually consumes the queue statistics messages?

I don't think it does since I can re-start the MO71 program and see the exact same queue statistics.

The point of enabling them is to have available when needed, even if the queue manager is not regularly monitored (eg development levels).

Many sites don't have MQ system management tools.

I would like to understand how this feature actually works, but I can't see much detail in the "monitoring MQ" manual.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 21, 2009 4:38 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

A simple test will tell you if the messages are overwritten or not.

Get the current queue depth, and if you like the the oldest message age. Run RESET QMGR TYPE(STATISTICS). See if the qdepth doubles or not and if the oldest message age changes or not.

... I forget whether they're overwritten or not, thinking about it I believe they are. Regardless, the messages produced are only ever going to cover a single STATINT period. So if you need any kind of historical reporting, you need to store this information somewhere. And I know for a fact that MQExplorer does *not* do this, even if M071 might.

I'm well aware of how few shops are able to show proper business justification for tracking the performance of their middleware and for using enterprise caliber tools to manage the enterprise.
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Apr 21, 2009 4:49 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

My aim is just to have some simple current period statistics for development queue managers which would otherwise have none.

I am not trying to make this production strength, but I don't want to enable anything that needs housekeeping (on development boxes).

Sounds like queue statistics is a case in point, no housekeeping needed, so may as well enable it everywhere.

Still not sure about channel statistics.
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Tue Apr 21, 2009 7:47 am    Post subject: Re: Statistics messages - do they need housekeeping? Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

In my development environments, I turned on the STATQ(ON) for the queues which needed the stats info.

Since couple of months I didn't turn off the statq. Still I see around 46 messages on this SYSTEM.ADMIN.STATISTICS.QUEUE queue and there is no monitoring tool listening on this queue.

The stats will be turned off in PROD but need to know whether this queue ever fills up as its maxdepth is 3000(default) and the STATINT(1800) which is half hour(default) is on QMgr if the stats are turned on.

Thanks.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Apr 21, 2009 8:09 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

The MQ product doesn't include apps to consume messages sent to the instrumentation event queues.

So, the messages will continue to accumulate until you take some action. Besides running an app, you choices include: put(disable) the queues, or turn off monitoring, or clear (MQSC) the queue(s).
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
SAFraser
PostPosted: Thu Apr 23, 2009 12:07 pm    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

zpat, I understand your question and I have the same question.

We use a third party monitoring tool. Just as in MQExplorer, for my third-party tool I must turn on stats in order to see last put date/time and last get date/time. This is real-time/runtime data that we use in both development and production daily. But the tool collects lots of history without stats turned on; so, I am not entirely clear on how stats work.

(And yes, of course, we also use the historical data collected by our monitoring tool. We use both runtime and history.)

The stats queue fills up all the time. I've wondered about housekeeping. Now I wonder if they are circular. bruce2359, do you know for a fact that these messages are not overwritten? Because I'm not sure a full queue stops the data collection.

zpat, when I find a minute, I'll try mqjeff's test. If you try it first, let me know what you learn. Thanks!
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Apr 23, 2009 1:32 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

The instrumentation queues are queues. They fill up like other queues.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » IBM MQ Installation/Configuration Support » Statistics messages - do they need housekeeping?
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.