Author |
Message
|
klamerus |
Posted: Fri Mar 25, 2005 7:34 am Post subject: Maximum sizes |
|
|
 Disciple
Joined: 05 Jul 2004 Posts: 199 Location: Detroit, MI
|
I've read a couple of places that the max size of a single message is jsut over 100 MB (we're on MQ 5.3). Is that right?
What is the limit to the max size of a queue? |
|
Back to top |
|
 |
guest |
Posted: Fri Mar 25, 2005 7:38 am Post subject: |
|
|
Acolyte
Joined: 11 Aug 2003 Posts: 52
|
Max QUeue size is 2 GB , can be found in System Admin Manual in the very beginning when they introduce concepts of Queueing |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Mar 25, 2005 8:02 am Post subject: Re: Maximum sizes |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
klamerus wrote: |
I've read a couple of places that the max size of a single message is jsut over 100 MB (we're on MQ 5.3). Is that right? |
depends on how you define 100MB...
the actual maximum message length of a queue (MAXMSGL) is 104857600
bytes, however this does not mean your data can be of that length as some headers are part of the 'payload' of the message.
so if you say 100 MB = 104857600 bytes then your message can be just under 100MB and not over...
if you mean 100MB = 100000000 bytes then your message can be nice chunk bigger  _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
csmith28 |
Posted: Fri Mar 25, 2005 8:22 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
From page 4 of the WMQ Systems Administration Guide:
Quote: |
Message lengths
The default maximum message length is 4 MB, although you can increase this to a maximum length of 100 MB (where 1 MB equals 1 048 576 bytes). In practice, the message length might be limited by:
v The maximum message length defined for the receiving queue
v The maximum message length defined for the queue manager
v The maximum message length defined by the queue
v The maximum message length defined by either the sending or receiving
application
v The amount of storage available for the message
It might take several messages to send all the information that an application
requires. |
_________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Mar 25, 2005 8:36 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
and don't forget maximum message length on channels...
point is if you get near to 104857600 with your actual message data,
even when all values are set to 104857600, you could still be in trouble
on a transmission queue the transmission queue header is added for example and what if your message data is 104857599 bytes...  _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
klamerus |
Posted: Fri Mar 25, 2005 11:00 am Post subject: |
|
|
 Disciple
Joined: 05 Jul 2004 Posts: 199 Location: Detroit, MI
|
I was just trying to get to the rough sizing. We have messages that are now creeping up into the couple of MB size. We're also subject at times to thousands of messages coming in through batches. Not thousands of MB messages though. Eitherway, we want to bump up the sizes. Nicely, I've found that I can bring up the MQ Explorer and play with queues on my laptop and I've seen exactly these limits by trying to pick ridiculously large sizes and having it tell me my limits.
Thanks for the help. |
|
Back to top |
|
 |
JT |
Posted: Fri Mar 25, 2005 7:19 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
There's also message segmentation available.
Application Programming Guide wrote: |
Increasing the maximum message length as discussed on page 136 has some negative implications. Also, it could still result in the message being too large for the queue or queue manager. In these cases, a message can be segmented. |
|
|
Back to top |
|
 |
|