Author |
Message
|
JoePanjang |
Posted: Tue Jun 06, 2006 10:32 pm Post subject: v6 Channel Compression |
|
|
Voyager
Joined: 10 Jul 2002 Posts: 88 Location: Dengkil MALAYSIA
|
Hi
Looking at the new functions - Header and Data compression at the channel level. Just to confirm, is the Header compression referring to MQ message header and Data compression for application data.
TQ
 _________________ Every good deed is charity... |
|
Back to top |
|
 |
wschutz |
Posted: Wed Jun 07, 2006 2:35 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Yes ... header as in: MQXQH and MQMD. Data as in your message payload data. _________________ -wayne |
|
Back to top |
|
 |
JoePanjang |
Posted: Wed Jun 07, 2006 4:32 pm Post subject: |
|
|
Voyager
Joined: 10 Jul 2002 Posts: 88 Location: Dengkil MALAYSIA
|
Wayne, thanks for the response.
I did some test using RLE & ZLIB compression on my pc.
I got a strange result whenever i used RLE (data)/SYSTEM (hdr).
Sent 10k records and the remote qlocal only received 9984k only - QMRG1 to QMGR2. Where is another 16 records? Is this a known bug or i missed something here? Only for RLE compression mode.
v6.0.1.1(WinXP)
TQ _________________ Every good deed is charity... |
|
Back to top |
|
 |
wschutz |
Posted: Wed Jun 07, 2006 5:34 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Were these persistent messages? If so, they should be on the deal letter queue. If not, try the test again with persistent messages and see if they wind up on the dlq. _________________ -wayne |
|
Back to top |
|
 |
JoePanjang |
Posted: Thu Jun 08, 2006 3:24 pm Post subject: |
|
|
Voyager
Joined: 10 Jul 2002 Posts: 88 Location: Dengkil MALAYSIA
|
i tried with the persistent, same result. i can see from the chstatus that it's sending 10k but when reaching the receiver end, messages missing. check at dlq, nothing inside. wonder where are the messages? need to test some more again.
thanks. _________________ Every good deed is charity... |
|
Back to top |
|
 |
crossland |
Posted: Thu Dec 22, 2011 2:29 am Post subject: |
|
|
Master
Joined: 26 Jun 2001 Posts: 248
|
wschutz wrote: |
Yes ... header as in: MQXQH and MQMD. Data as in your message payload data. |
How about other structures? If COMPHDR was set to NONE which structures would be compressed?
Last edited by crossland on Thu Dec 22, 2011 8:37 am; edited 1 time in total |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Dec 22, 2011 3:24 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Do a bit of research on what a message is composed of. The mqod is used during mqopen process to identify the queue. It is not part of message flow. _________________ 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 |
|
 |
crossland |
Posted: Thu Dec 22, 2011 3:51 am Post subject: |
|
|
Master
Joined: 26 Jun 2001 Posts: 248
|
To clarify, the question is when COMPHDR is set to NONE, which structures aren't compressed? This isn't actually specified in the Information Centre as far as I can see.
Last edited by crossland on Thu Dec 22, 2011 8:39 am; edited 1 time in total |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Dec 22, 2011 4:07 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
As.the attribute value NONE implies, none. _________________ 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 |
|
 |
bruce2359 |
Posted: Thu Dec 22, 2011 4:16 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
crossland wrote: |
The question wasn't what the MQOD is. To clarify, the question is when COMPHDR is set to NONE, which structures aren't compressed? This isn't actually specified in the Information Centre as far as I can see. |
The InfoCenter is quite clear about what NONE means. _________________ 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 |
|
 |
crossland |
Posted: Thu Dec 22, 2011 6:14 am Post subject: |
|
|
Master
Joined: 26 Jun 2001 Posts: 248
|
Where exactly in the information centre does it state which parts of the message (e.g. MQXQH, MQMD) are covered by COMPHDR, rather than COMPMSG? |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Dec 22, 2011 6:52 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Dec 22, 2011 7:03 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
crossland wrote: |
The question wasn't what the MQOD is. To clarify, the question is when COMPHDR is set to NONE, which structures aren't compressed? This isn't actually specified in the Information Centre as far as I can see. |
This question demonstrates that you are mixing up things that are transmitted and things that are not.
COMPHDR and COMPMSG are channel attributes.
The MQOD is not part of message transmission, while MQMD and MQXQH are.
WMQ structures are pre-defined, tightly architected data elements to be used by applications as needed to drive wmq operations.
The MQMD structure, for example, is populated by the application and qmgr, and is mqput to a queue along with your application data payload. The XQH structure will be populated by the qmgr if the mqput of the MQMD and your application data payload is to be put to a transmission queue.
Refer to the WMQ Application Programming Reference (or equivalent InfoCenter) for complete descriptions of wmq structures. _________________ 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 |
|
 |
crossland |
Posted: Thu Dec 22, 2011 7:41 am Post subject: |
|
|
Master
Joined: 26 Jun 2001 Posts: 248
|
No, I am not mixing things up.
All I am looking for is a statement from a reliable source covering which structures are under the scope of COMPHDR; something I have yet to find. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 22, 2011 7:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
crossland wrote: |
No, I am not mixing things up. |
Then why did you ask if the MQOD (which is no part of a message) was a possible subject of compression?
crossland wrote: |
All I am looking for is a statement from a reliable source covering which structures are under the scope of COMPHDR; something I have yet to find. |
- which part of the InfoCenter is unclear? Are you actually looking for an ennumerated list of every possible WMQ header with a yes/no next to it regarding compression?
- What difference does it make? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|