Author |
Message
|
Greg12 |
Posted: Thu Dec 14, 2006 11:58 am Post subject: Message Timestamps |
|
|
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 |
|
 |
kevinf2349 |
Posted: Thu Dec 14, 2006 1:00 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
In the message descriptor with each message.....regardless of the platform. |
|
Back to top |
|
 |
Greg12 |
Posted: Thu Dec 14, 2006 1:13 pm Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Thu Dec 14, 2006 4:55 pm Post subject: |
|
|
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 |
|
 |
Greg12 |
Posted: Fri Dec 15, 2006 6:17 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Fri Dec 15, 2006 6:24 am Post subject: |
|
|
 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 |
|
 |
Greg12 |
Posted: Sun Dec 17, 2006 5:02 am Post subject: |
|
|
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 |
|
 |
wschutz |
Posted: Sun Dec 17, 2006 5:06 am Post subject: |
|
|
 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 |
|
 |
|