Author |
Message
|
cute_pav |
Posted: Thu Apr 10, 2003 5:39 am Post subject: need max quepth!!!! |
|
|
Acolyte
Joined: 04 Jan 2002 Posts: 65 Location: usa
|
Hi,
we are using MQ5.2 and would like to know Max. Quedepth allowed in this version.
pavan |
|
Back to top |
|
 |
mqonnet |
Posted: Thu Apr 10, 2003 6:26 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Dont think there is any limit to that. It all depends on your memory and hard disk size and of course the log sizes. You need to configure all or some of these depending upon your messages, persisten/non-persistent.
Cheers
Kumar _________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
cute_pav |
Posted: Thu Apr 10, 2003 8:03 am Post subject: |
|
|
Acolyte
Joined: 04 Jan 2002 Posts: 65 Location: usa
|
Kumar,
thanks for your relply. The things that you are talking abt are more related to parameters I may need to play while running more messages .
The max depth that I could able to set on my queue is 640,000. Even if I increase 1 that result in error
AMQ8412: Numeric Range Error.
I believe this has to do with max no. relates to MQ5.2.
Any CSD or fixpack that will allow us to configure the queue depth for unlimited!!!
pavan |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 10, 2003 8:20 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There is not support in version 5.2 of MQSeries for a queue with an unlimited number of messages in it.
In addition, there is not support in version 5.2 of MQSeries for a queue where all the messages together have an unlimited total size. So even if you were allowed an unlimited number of messages, you would not be able to hold an unlimited number of messages there.
What these limits are should be documented in the System Administration guide for version 5.2.
You do understand that the Max Depth is 'number of messages on the queue at the same time', right? And not 'the total number of messages that are ever allowed to get put on the queue'? You can put an unlimited number of messages onto a queue, you just have to take them off at some point. |
|
Back to top |
|
 |
bduncan |
Posted: Thu Apr 10, 2003 9:14 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Regardless of your memory, disk space, etc., the maximum value you can assign to the MAXDEPTH parameter of a queue is 640,000. As to whether you can actually manage to put 640,000 messages in that queue depends on memory, disk space, etc... _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
mqonnet |
Posted: Thu Apr 10, 2003 9:35 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Huh!!! See, i missed this out in the docs somewhere.... :).
Thanks for correcting though, brandon.
Cheers
Kumar _________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
mitches9 |
Posted: Wed May 07, 2003 10:31 am Post subject: Huh? |
|
|
 Novice
Joined: 07 Jun 2002 Posts: 23 Location: Ohio
|
Can I safely presume that what you were trying to say is that the MAXDEPTH reflect number of messages allowed in queue, not the number of messages allowed to be placed there in a single unit or batch? Your statement contradicts itself, but I think it's just semantics.
JeffLowrey wrote: |
There is not support in version 5.2 of MQSeries for a queue with an unlimited number of messages in it.
In addition, there is not support in version 5.2 of MQSeries for a queue where all the messages together have an unlimited total size. So even if you were allowed an unlimited number of messages, you would not be able to hold an unlimited number of messages there.
What these limits are should be documented in the System Administration guide for version 5.2.
You do understand that the Max Depth is 'number of messages on the queue at the same time', right? And not 'the total number of messages that are ever allowed to get put on the queue'? You can put an unlimited number of messages onto a queue, you just have to take them off at some point. |
|
|
Back to top |
|
 |
jefflowrey |
Posted: Wed May 07, 2003 1:17 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
No, what I meant was: You can have an unlimited number of messages PASS THROUGH a queue - put on and then taken off again, but you can't have an unlimited number of messages ON the queue.
So, I could write a process that put one message on a queue, and then took it off again, and run that process forever. The queue depth would always be at most 1, but I wouldn't run into any MQSeries limitations for 'total number of messages allowed'.
Unless I did this within one unit of work. I believe you can't create a unit of work holding more messages than the maximum queue depth, because messages are on the queue even when uncommitted (they're just "hidden"). |
|
Back to top |
|
 |
mitches9 |
Posted: Thu May 08, 2003 5:36 am Post subject: |
|
|
 Novice
Joined: 07 Jun 2002 Posts: 23 Location: Ohio
|
Thanks for the clarification. We're one the same page now.
[quote="JeffLowrey"]No, what I meant was: You can have an unlimited number of messages PASS THROUGH a queue - put on and then taken off again, but you can't have an unlimited number of messages ON the queue. |
|
Back to top |
|
 |
|