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 » Understanding SyncPoint

Post new topic  Reply to topic
 Understanding SyncPoint « View previous topic :: View next topic » 
Author Message
atheek
PostPosted: Tue Sep 26, 2006 9:20 pm    Post subject: Understanding SyncPoint Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

What exactly are syncpoints? Any set of action after the last commit/backout will constitute the current unit of work. Are syncpoints the points at which the commit/rollback is made? Also what is meant by doing a put outside syncpoint. Read somewhere that messages put outside syncpoint wouldnt be logged even if they are persistent.

Please help me out


Thanks in Advance
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue Sep 26, 2006 9:34 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi atheek,

You answered your question yourself....

When u start some process, where u could be putting say 'x' number of msgs on different queues, it will be under a transaction...if you commit(similar to a db commit) then the msgs are committed to the respective queues and that unit of work is complete....and the present status of mq is at syncpoint...

If a rollback occured, all the msgs which are in transaction in the current unit of work(which in other words, started from the moment u made the last commit, also called syncpoint) will be removed from the queues...

I hope I did not confuse you

Regards.
Back to top
View user's profile Send private message Send e-mail
atheek
PostPosted: Tue Sep 26, 2006 9:55 pm    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

thanks Elvis, I got it...

please let me know what is meant by doing a put outside syncpoint. Every put statement should be a part of a UOW and will be either committed or roll backed at syncpoint. Now is it possible to do a put which will be made visible evrywhere immediately without waiting for a syncpoint. I have read some where in the forum about such messges which wouldnt be logged even if they are persisitent.. couldnt understand what it is!!
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue Sep 26, 2006 11:41 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi atheek,

When u do a normal put, it is in a UOW...if u made some other puts before that (after the last syncpint commit), those also will be in this UOW, u cannot commit this current put and have the previous puts to be still in transaction(i.e want them rolled back incase of error)...
This is with respect to one queue, i think when it comes to different queues, u can have one commited with other previous puts on other queues uncommitted...

Regards.
Back to top
View user's profile Send private message Send e-mail
atheek
PostPosted: Wed Sep 27, 2006 12:19 am    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

thanks a lot elvis!!
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 » Understanding SyncPoint
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.