Posted: Mon Jun 25, 2007 12:50 pm Post subject: Max Message size overhead
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.
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.
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.
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.
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