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 » WebSphere Message Broker (ACE) Support » Is IIB a good option to integrate between 2 DBs

Post new topic  Reply to topic Goto page 1, 2  Next
 Is IIB a good option to integrate between 2 DBs « View previous topic :: View next topic » 
Author Message
Bichu
PostPosted: Fri Jul 29, 2016 6:50 am    Post subject: Is IIB a good option to integrate between 2 DBs Reply with quote

Centurion

Joined: 16 Oct 2011
Posts: 124
Location: London

Hello,

I am pretty amateur in broker interaction with DB. Is IIB a good option to integrate a database with another remote database. Requirement is to fetch few rows and update it into another database resides in another server. The initial fetching will be in the range of hundreds of thousands afterwhich it will be in thousands range.

When I checked, I could see DB triggers and other server stuffs serving this purpose. But my client suggests to use IIB.

Your voices please.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 29, 2016 6:57 am    Post subject: Re: Is IIB a good option to integrate between 2 DBs Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Bichu wrote:
Requirement is to fetch few rows and update it into another database resides in another server.


If it's a straight "lift and shift" with no filtering, transformation or other capabilities of IIB in play then there are cheaper, easier and potentially more efficient ways of doing this. Even if you don't go DB, other ETL tools are probably a better fit.

Even if you end up using IIB, consider doing the initial large load with something else.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Bichu
PostPosted: Fri Jul 29, 2016 7:01 am    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2011
Posts: 124
Location: London

Thanks Vitor. So is there a limit on size of the DB rows that broker can handle in a single time[/quote]
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 29, 2016 7:22 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Bichu wrote:
Thanks Vitor. So is there a limit on size of the DB rows that broker can handle in a single time


In the same way there's a limit on the number of DB rows any solution can handle at a single time. "DB triggers and server stuffs" have limits.

My point was that for the larger initial load it will be much more efficient, cheaper and easier to use another tool in the same way it will be more efficient, cheaper and easier for the smaller load. If the cost/benefit case to use IIB stacks up for the regular loads, it may well not do so for the larger one. The cost, difficulties and efficiency change with the numbers involved.

That was my point.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 29, 2016 7:26 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

To put it plainly:

- IIB has the technological capability to do what you're describing
- It's a waste to use something as expensive, feature rich and complex as IIB to do this
- Other tools may well do a better job
- I wouldn't do this with IIB (and this site doesn't use IIB for straight database replication, a decision which I was no part of)
- In the end, you have to make the decision for your site because only you know all the intricacies of your individual requirement
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Bichu
PostPosted: Fri Jul 29, 2016 8:10 am    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2011
Posts: 124
Location: London

Many Thanks Vitor. That was some keypoints to look on.

I plan to implement the first DB replications via a SFTP. For remaining, I will build a MF to act as an IIB service.

But I still wonder what value adds my new service is going to provide from an IIB perspective
Back to top
View user's profile Send private message
harish_td
PostPosted: Mon Aug 01, 2016 4:58 am    Post subject: Re: Is IIB a good option to integrate between 2 DBs Reply with quote

Master

Joined: 13 Feb 2006
Posts: 236

Bichu wrote:
Hello,

Requirement is to fetch few rows and update it into another database resides in another server. The initial fetching will be in the range of hundreds of thousands afterwhich it will be in thousands range.

When I checked, I could see DB triggers and other server stuffs serving this purpose. But my client suggests to use IIB.


If you really want a robust solution for this requirement, please use IBM's CDC.
http://www.redbooks.ibm.com/redbooks/pdfs/sg247941.pdf
https://www.ibm.com/support/knowledgecenter/SSTRGZ_11.3.3/com.ibm.cdcdoc.mcadminguide.doc/concepts/overview_of_cdc.html

CDC is also bundled along with certain DB2 versions, so if you are replicating from a source DB2 to a target DB2, then there is no need to spend several man-hours building message flows using IIB.
https://www.ibm.com/developerworks/community/blogs/a9b542e4-7c66-4cf3-8f7b-8a37a4fdef0c/entry/is_cdc_free?lang=en
Back to top
View user's profile Send private message Yahoo Messenger
Bichu
PostPosted: Mon Aug 01, 2016 5:24 am    Post subject: Re: Is IIB a good option to integrate between 2 DBs Reply with quote

Centurion

Joined: 16 Oct 2011
Posts: 124
Location: London

harish_td wrote:


If you really want a robust solution for this requirement, please use IBM's CDC.
http://www.redbooks.ibm.com/redbooks/pdfs/sg247941.pdf
https://www.ibm.com/support/knowledgecenter/SSTRGZ_11.3.3/com.ibm.cdcdoc.mcadminguide.doc/concepts/overview_of_cdc.html


Thanks Harish. Will go through this.

harish_td wrote:

CDC is also bundled along with certain DB2 versions, so if you are replicating from a source DB2 to a target DB2, then there is no need to spend several man-hours building message flows using IIB.
https://www.ibm.com/developerworks/community/blogs/a9b542e4-7c66-4cf3-8f7b-8a37a4fdef0c/entry/is_cdc_free?lang=en


Mine is Oracle.
Back to top
View user's profile Send private message
adubya
PostPosted: Mon Aug 01, 2016 5:33 am    Post subject: Reply with quote

Partisan

Joined: 25 Aug 2011
Posts: 377
Location: GU12, UK

No problem.

https://docs.oracle.com/cd/B28359_01/server.111/b28313/cdc.htm


_________________
Independent Middleware Consultant
andy@knownentity.com
Back to top
View user's profile Send private message Send e-mail
ruimadaleno
PostPosted: Mon Aug 08, 2016 2:59 am    Post subject: Reply with quote

Master

Joined: 08 May 2014
Posts: 274

if using oracle why not use a database link and a set of stored procedures/triggers/database jobs to transfer rows from one database to remote database ?
_________________
Best regards

Rui Madaleno
Back to top
View user's profile Send private message
Bichu
PostPosted: Mon Aug 08, 2016 3:20 am    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2011
Posts: 124
Location: London

ruimadaleno wrote:
if using oracle why not use a database link and a set of stored procedures/triggers/database jobs to transfer rows from one database to remote database ?


I don't have privileges nor the admins allow to alter the schema or to write SP in the database from which I should fetch. Its a secured one.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 08, 2016 5:35 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Bichu wrote:
I don't have privileges nor the admins allow to alter the schema


That's going to effectively eliminate using the DatabaseInput node, which puts you in the position of some kind of scheduled flow with an open ended select statement in it. This has two problems:

- it's a scheduled flow
- you've got an open ended select statement in it

At best, you're reinventing a wheel which other ETL tools provide as standard. At worst, this is not going to work.

I find the position of the admins that "this is a secured database" to be slightly dubious. Are you claiming that they never allow any changes to the schema nor any new SP at all? This must seriously limit the functionality of the database if application programmers are denied these two abilities when they're developing code.

It sounds to me more like they're using "security" as code for "we don't want to change anything in case the magic stops working". You can have a database of highly sensitive data subject to the most stringent security controls and still have processes to modify it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ruimadaleno
PostPosted: Mon Aug 08, 2016 6:20 am    Post subject: Reply with quote

Master

Joined: 08 May 2014
Posts: 274

Oracle database has specialized tools for this job, please don't use IIB to execute this kind of data loading ... you are using the wrong tool for the job



_________________
Best regards

Rui Madaleno
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 08, 2016 6:34 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ruimadaleno wrote:
Oracle database has specialized tools for this job, please don't use IIB to execute this kind of data loading ... you are using the wrong tool for the job




I stand by all of my previous comments.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Bichu
PostPosted: Mon Aug 08, 2016 6:51 am    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2011
Posts: 124
Location: London

Many Thanks all for your comments.

I have put forward client another option of using OMG - Oracle Messaging Gateway in conjunction with MQ.

Hopefully client might approve this instead of IIB.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Is IIB a good option to integrate between 2 DBs
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.