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 » General IBM MQ Support » Max Message size overhead

Post new topic  Reply to topic
 Max Message size overhead « View previous topic :: View next topic » 
Author Message
sdrazi
PostPosted: Mon Jun 25, 2007 12:50 pm    Post subject: Max Message size overhead Reply with quote

Apprentice

Joined: 17 Apr 2007
Posts: 34

I wanted to know what is the overhead on MQ for having a large value for max message length in a queue definition. For example if I define the max message length to say 10MB but the max message length is only say 1MB.

Does this effect any performance or have an impact on settings else where?

I am asking this since I wanted to know if it is o.k. to have same value of max message length for all the queues.

Thanks for the help
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 25, 2007 12:54 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The space used to hold the value for MaxMsgLen is a constant - it's the same no matter what number is used for MaxMsgLen.

The only way that, for example, setting the MaxMsgLn for all queues, channels and qmgrs to the maximum possible will have any performance impact is if your logs are not sized to handle that size of message AND someone actually SENDS a big message.

Set it to the largest value you can possibly handle, and then you don't have to worry about changing it every time an application needs a bigger value.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
sdrazi
PostPosted: Mon Jun 25, 2007 1:02 pm    Post subject: Reply with quote

Apprentice

Joined: 17 Apr 2007
Posts: 34

Thanks Jeff...

Does setting this to a higher value mean that the log size increases in accordance to the max message length defined and not the actual length of the message?
If there is no overhead then is there a problem (setting I need to take care of) if I specify the maximum message length 100MB.

What I understand from your reply is that the max message length is only a safety feature to not receive unexpectedly large message.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 25, 2007 1:08 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Setting the MaxMsgLn doesn't affect anything else.

Sending a large message does.

"Max Message length is only a safety feature to not receive unexpectedly large message" is a good understanding.
_________________
I am *not* the model of the modern major general.
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 » General IBM MQ Support » Max Message size overhead
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.