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 Discussion » Need suggestions for DB sync by using MQ

Post new topic  Reply to topic
 Need suggestions for DB sync by using MQ « View previous topic :: View next topic » 
Author Message
tiangl
PostPosted: Mon Apr 18, 2005 6:45 am    Post subject: Need suggestions for DB sync by using MQ Reply with quote

Apprentice

Joined: 19 Nov 2004
Posts: 48

hi,

i want to use MQ to sync multi dbs to remote site. it require realtime sync. as we know, DB operations has a strong dependence,sometimes,the second step to update have to base on the first step of insert. if i want to use multi-threads to deal with msg, can MQ support to deliver msg in sequence? i guess not. any suggestion for this scenario?
Back to top
View user's profile Send private message MSN Messenger
zpat
PostPosted: Mon Apr 18, 2005 6:49 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Check out the new IBM provided features of DB/2. One of them is queue based replication.
Back to top
View user's profile Send private message
tiangl
PostPosted: Mon Apr 18, 2005 3:51 pm    Post subject: Reply with quote

Apprentice

Joined: 19 Nov 2004
Posts: 48

customer use Oracle Database, i can't convince them to change to DB2. any idea?
Back to top
View user's profile Send private message MSN Messenger
kirani
PostPosted: Mon Apr 18, 2005 7:38 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Can the first step of insert and the second step of update have something in common that can be used as a part of message retrival field?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
zpat
PostPosted: Mon Apr 18, 2005 11:17 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

If you want to process updates in parallel without losing sequencing on the same record, then split the messages by the first letter of a key index field.

Eg All the "A"s will be processed in one thread etc - that way sequence is maintained for the same data, but it can be parallelised.

Use MQSI (or a simple application) to split the traffic from one queue to one queue per letter (or as many as you want).
Back to top
View user's profile Send private message
tiangl
PostPosted: Tue Apr 19, 2005 9:21 am    Post subject: Reply with quote

Apprentice

Joined: 19 Nov 2004
Posts: 48

thanks a lot,Sir.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Need suggestions for DB sync by using MQ
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.