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 Performance Monitoring » Is the impact of collecting mqi stats on a V.6 qmgr known

Post new topic  Reply to topic
 Is the impact of collecting mqi stats on a V.6 qmgr known « View previous topic :: View next topic » 
Author Message
mqnomad
PostPosted: Thu Mar 18, 2010 12:49 pm    Post subject: Is the impact of collecting mqi stats on a V.6 qmgr known Reply with quote

Acolyte

Joined: 18 Mar 2010
Posts: 53

I can see this could be an "it depends" topic ... tried another site but no responses after 40 views.

Performing a healthcheck on an MQ production application. Would like to alter the qmgr to collect statistics, for instance:

echo "ALTER QMGR STATINT(259200)" | runmqsc
echo "Setting qmgr MQI statistics collection on"
echo "ALTER QMGR STATMQI(ON)" | runmqsc

Is there any documentation, or does anyone know if there is a significant impact when running stats collection?
Existing host does not appear under stress and there is no response time sla - host runs broker with about 15 flows, single qmgr.

Appreciate any comments/experiences.
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Mar 18, 2010 3:07 pm    Post subject: Re: Is the impact of collecting mqi stats on a V.6 qmgr know Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

mqnomad wrote:
Existing host does not appear under stress and there is no response time sla - host runs broker with about 15 flows, single qmgr.

Rule number one - keep the statistics, accounting and event queues well drained.

If you keep said queues well drained, I doubt you will see any observable performance impact on a system such as you describe.

You should be able to drain the queue effectively using frequent runs of the provided sample program "amqsmon". The source for it is available so you can develop your own if you like.
Back to top
View user's profile Send private message
mqnomad
PostPosted: Thu Mar 18, 2010 8:45 pm    Post subject: Reply with quote

Acolyte

Joined: 18 Mar 2010
Posts: 53

Thank you for the response. What would you consider a good interval to run amqsmon? We only need to run statistics - no accounting.

The intent was to capture daily stats, so run RESET QMGR TYPE (STATISTICS) once a day, followed by the amqsmon. Is that frequent enough, or should the interval be smaller?
Back to top
View user's profile Send private message
mvic
PostPosted: Fri Mar 19, 2010 4:53 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

mqnomad wrote:
The intent was to capture daily stats, so run RESET QMGR TYPE (STATISTICS) once a day, followed by the amqsmon. Is that frequent enough, or should the interval be smaller?

As always, it depends on how the system is being used. Use runmqsc to check the CURDEPTH on the queue every minute. This way you'll get a picture of the rate messages are being added.

Depending on what you see, you might choose to run amqsmon (say) every minute or two, ot 10, or 15...
Back to top
View user's profile Send private message
mqnomad
PostPosted: Fri Mar 19, 2010 12:48 pm    Post subject: Reply with quote

Acolyte

Joined: 18 Mar 2010
Posts: 53

Thank you mvic ... hmm, not what I had in mind. I need to have a chart of daily queue usage so I was hoping to gather queue counts per 24-hour period.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Mar 19, 2010 1:05 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

running reset qstats once a day, through amqsmon, will give you a daily snapshot of the usage.

But it will only give you an aggregate 24 hour average. It won't give you anything like "traffic was very heavy at 10 am but light at 3 pm". It will tell you "traffic was heavy on Monday but light on Saturday". You probably already knew that much...
Back to top
View user's profile Send private message
mvic
PostPosted: Fri Mar 19, 2010 3:38 pm    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

mqnomad wrote:
Thank you mvic ... hmm, not what I had in mind. I need to have a chart of daily queue usage so I was hoping to gather queue counts per 24-hour period.

You can drain the stats queue as seldom or as often as you like. But there might be problems if you let the queues get too deep. Try it out...

As for wanting daily numbers, just add up all the numbers you measured with amqsmon over the day.

As I said, try it out.. take a look at the amqsmon output.. it should be quite quick to see if it's going to work for you.
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 Performance Monitoring » Is the impact of collecting mqi stats on a V.6 qmgr known
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.