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 » Message persistance vs queue persistance

Post new topic  Reply to topic
 Message persistance vs queue persistance « View previous topic :: View next topic » 
Author Message
GregJ
PostPosted: Mon Apr 14, 2003 6:25 am    Post subject: Message persistance vs queue persistance Reply with quote

Acolyte

Joined: 24 Oct 2001
Posts: 69
Location: Markham, On. Canada

what exactly is the difference between message persistnace and queue persistance?

I know that a message must be flagged as persistant to survive a qmgr restart, but what happens to a persistant message in a non persistant queue - or a non persistant message in a persistant queue...

Thanks
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Apr 14, 2003 6:57 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

You can put persistent messages on queues that are marked with a default persistence of non-persistent. You can also put a non-persistent message on a queue that is marked with a default persistence of persistent. The queue persistence is specified so that you can put messages from an application and specify to use whatever the queue has set. It is one way to keep your developers from having to figure out whether to specify it or not. You might want to look at the MQPER_PERSISTENCE_AS_Q_DEF define.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
tillywern
PostPosted: Mon Apr 14, 2003 12:24 pm    Post subject: Persistance Performance Reply with quote

Centurion

Joined: 28 Jan 2003
Posts: 109
Location: Colorado

Don't forget the performance considerations when deturmining persistance.

Since persistant messages require logging they move through the system slower than non persistant messages. So from a performance perspective it is best to define persistance at the message level because it allows MQ to minimize logging even when both persistant and non-persistant data reside on the same queue. This would especially be true for transmit queues because both persistant and non persistant messages would use the same one.

To persist or not is a difficult decision... I think it usually best for applications to track important data and allow for som elevel of recovery...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Message persistance vs queue persistance
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.