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 » Message Timestamps

Post new topic  Reply to topic
 Message Timestamps « View previous topic :: View next topic » 
Author Message
Greg12
PostPosted: Thu Dec 14, 2006 11:58 am    Post subject: Message Timestamps Reply with quote

Newbie

Joined: 14 Dec 2006
Posts: 4

Hi guys,

I have an IBM WebSpehre MQ 6.0 running on Windows Server 2003 Enterprise and would like to make a performance test in our system environment. I would like to know where the timestamps & message IDs of the incoming and outgoing messages are being saved.

Thanks in advance,

Greg
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Thu Dec 14, 2006 1:00 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

In the message descriptor with each message.....regardless of the platform.
Back to top
View user's profile Send private message
Greg12
PostPosted: Thu Dec 14, 2006 1:13 pm    Post subject: Reply with quote

Newbie

Joined: 14 Dec 2006
Posts: 4

Thanks. And what is the best way to view/extract the timestamp of the arrival/departure date of the message into/from the queue?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 14, 2006 4:55 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The MQMD only holds the time the message was PUT.

It does not include the time that the message was GOT.

In v6 there are some new capabilities to find out how long the first message on a queue has been sitting there.

If you really want to do this kind of performance testing, you're probably better off using a Tool to do it for you. There's a Support Pack that is a very good test tool.
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24007048&loc=en_US&cs=utf-8&lang=en

The IH03 Support Pack also includes a test framework, although it's more for bulk message throughput (capacity testing) then something more focused.

CapitalWare includes capacity testing as well in at least some of their products.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Greg12
PostPosted: Fri Dec 15, 2006 6:17 am    Post subject: Reply with quote

Newbie

Joined: 14 Dec 2006
Posts: 4

All right, with the tools it will be an easy ride.

Two last questions:

1. In which file(s) in the file system are the MQMDs located?
2. If I turn on "tracing" for testing with which tool can I read the *.trc-files under Windows?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Dec 15, 2006 6:24 am    Post subject: Reply with quote

Grand High Poobah

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

Greg12 wrote:
1. In which file(s) in the file system are the MQMDs located?


They're headers on the front of the messages, stored with them in the queues and deleted with them on read.

Be cautious reading the queue files directly (to pre-empt the next logical question). The queues are a proprietory format and the queue manager can get cross if it finds a file handle or lock it doesn't expect. Especially on Windows.

(I speak with experience here. Some user decided the best way to check test messages was by opening the queue files in Notepad. Due to a quite ludicrous security situation he was successful. Initially. Then it sort of went wrong.... )
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Greg12
PostPosted: Sun Dec 17, 2006 5:02 am    Post subject: Reply with quote

Newbie

Joined: 14 Dec 2006
Posts: 4

Thanks Vitor for this tipp.

Could somebody please comment on my question Nr. 2? Thanks again.
Back to top
View user's profile Send private message
wschutz
PostPosted: Sun Dec 17, 2006 5:06 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Greg12 wrote:
Thanks Vitor for this tipp.

Could somebody please comment on my question Nr. 2? Thanks again.
dspmqtrc is the only "tool" that can read those trace files. But tracing is really for diagnostic purposes, not performance purposes. If you turn on tracing, it will impact performance..sorta like the Heizenberg Uncertainty Principle ...
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Performance Monitoring » Message Timestamps
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.