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 » Persistence question

Post new topic  Reply to topic
 Persistence question « View previous topic :: View next topic » 
Author Message
JohnRodey
PostPosted: Wed Nov 23, 2005 6:03 am    Post subject: Persistence question Reply with quote

Centurion

Joined: 13 Apr 2005
Posts: 103

...Maybe this is a dumb question,

What is the maximum amount of storage that a queue with persistent messages can manage? Since persistent message are written to hard disk does that mean that a queue filled with persistent messages could hold X terabytes of data, X defined by the amount of memory you alot to your logging.

I assume no, I would imagine that queues can only store as much data as your main memory provides. Especially since queues can have both persistent and non-persistent message, I couldn't see a queue throwing a full exception for a non-persistent message and still letting through all persistent messages.

Anyone know for sure?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 23, 2005 6:14 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Non persistant messages can be written to the queue file, as far as I know. They are only cached in memory for a period of time, as an optimization.

Queue files used to be limited to 2GB in size... they are now significantly larger, essentially as larger as your OS will allow.

The size of your log files limits the total size of all open transactions, not the total size of all messages in your queue manager. When persistant messages are committed, they are stored in the queue file, and the log entries that contain them are marked as closed. When a log file contains only closed entries, it is either marked for reuse (with circular logging) or set aside (with linear logging). Circular logging may not wait until an entire log file is full of closed transactions before overwriting parts of it (I'd be surprised if it did).

I could easily write an MQ application that would fill up an arbitrary sized disk, without stopping the queue manager - just by putting but not getting messages from a queue.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JohnRodey
PostPosted: Wed Nov 23, 2005 6:16 am    Post subject: Reply with quote

Centurion

Joined: 13 Apr 2005
Posts: 103

Thanks Jeff!
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Nov 23, 2005 9:44 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

As tests, I have have put 20 GB of data to a single queue on a Windows server. All non persistent, all persistent, or a mix. In all cases, the q file grew to 20 GB.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Nov 24, 2005 1:49 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

We have recently been putting fairly large messages (100kb) to a queue and ended up with a "damaged queue manager object" when the data size grew to about 10GB.

This was using a Windows QM - so I don't have that much faith in the robustness of NTFS with large files. It's amazing how often a chkdsk reveals errors in the file system.
Back to top
View user's profile Send private message
hopsala
PostPosted: Sat Nov 26, 2005 2:33 pm    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

JohnRodey - Further info regarding your question may be found in WMQ TT \ Logging. An in-depth research of queue files is in "WMQ5.3 WinXP / Queue Files - Research".

A lot of reading, but it's worth it.
Back to top
View user's profile Send private message
tingwen
PostPosted: Wed May 10, 2006 11:34 am    Post subject: Reply with quote

Novice

Joined: 19 Aug 2005
Posts: 24

Can I persist message in RDBMS, instead of files on HD? If yes, where can I find more information for that? thanks

wen
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed May 10, 2006 11:37 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Are you asking if you can have MQ use a database (db/2 oracle) instead of files in the file system? Me thinks the answer is NO. Why would you want to do this?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Wed May 10, 2006 11:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Please don't respond to questions that are from last year.

Please attain a basic understand of MQ in the first place, before asking questions that are fully explained in the documentation.

Also, if you are trying to transition from Sonic to WebSphere MQ, then forget everything you know about Sonic first, and try to learn MQ on it's own merits.
_________________
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 » Persistence question
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.