Author |
Message
|
starfish77 |
Posted: Thu Dec 11, 2003 10:31 am Post subject: [URGENT] queue files |
|
|
 Apprentice
Joined: 07 Nov 2003 Posts: 31 Location: USA
|
I am using MQ5.3 on AIX. As per my understanding, the actual messages in queue are stored under
[b] /var/mqm/qmgrs/<QM_NAME>/queues/<Q_NAME> [/b]
and the file name is q.
My question is when I do MQGET for all the messages, why my data file size is still same as before? Doesn't it delete the messages from this file. This file size never reduces. The actual queue depth and queue data file size are not in sych. Is it supposed to be like this????
Any comments are greatly appreciated.. |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Dec 11, 2003 11:28 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
The size of the file shrinks and grows as MQSeries sees fit. I've never seen it shrink instantly with an MQGET. I wouldn't worry about it. |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Dec 11, 2003 5:33 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Unless they have made changes lately it will only shrink after qmgr restart. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
starfish77 |
Posted: Fri Dec 12, 2003 6:47 am Post subject: |
|
|
 Apprentice
Joined: 07 Nov 2003 Posts: 31 Location: USA
|
You are right bower5932. It did shrink after a while. |
|
Back to top |
|
 |
mrlinux |
Posted: Fri Dec 12, 2003 9:10 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well thats good to know they finally did change it where it will shrink with out a restart. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
Leafar |
Posted: Fri Dec 12, 2003 10:37 am Post subject: |
|
|
 Acolyte
Joined: 03 Apr 2003 Posts: 74 Location: Buenos Aires
|
If you want a shrink instantly you must try "Clear qlocal(name)" from the
runmqsc command line
Saludos
RAfael |
|
Back to top |
|
 |
JasonE |
Posted: Mon Dec 15, 2003 9:09 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
I think you will find queue files will only shrink when they get cleared or when they are unloaded, and that can be at restart time, or after a certain period of inactivity. Dont forget the fact they havent shrunk for an active queue isnt a problem as the space gets reused for messages, and free space kept track of. |
|
Back to top |
|
 |
|