If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Creating A Daemon To Check DB2 For Updates

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-21-07, 09:41
Dan Maher Dan Maher is offline
Registered User
 
Join Date: Dec 2007
Posts: 24
Creating A Daemon To Check DB2 For Updates

I'm trying to create a daemon (I guess it would be a process since it's a Windows server) that will continuously check DB2 for updates at a specified interval. And if there is an update, I need it to pull the updated information out and into another database application (Essbase). I'm about to start writing it in Java but do you guys have any other suggestions for an easier way to approach it?
Reply With Quote
  #2 (permalink)  
Old 12-21-07, 11:38
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
How about using the Q Replication engine? It will capture all updates for you and all you need to do is to populate your another database from the message stream, parsing it as it fits you.
Reply With Quote
  #3 (permalink)  
Old 12-21-07, 12:00
Dan Maher Dan Maher is offline
Registered User
 
Join Date: Dec 2007
Posts: 24
I'm on db2mag.com right now looking up the Q Replication Engine but while I'm doing that, can you tell me what it does? Or more specifically, how much of my problem it will cover so I know what I need to develop for the remaining portion. Thanks a lot!

- Also, which applications do you use to view the tables in a DB2 database? Do you use something in the DB2 suite itself or an external application?

Last edited by Dan Maher; 12-21-07 at 13:04.
Reply With Quote
  #4 (permalink)  
Old 12-27-07, 02:24
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Another alternative is SQL Replication. There, you will have all data changes stored in so-called CD tables (change data tables). You can query the CD tables and apply those changes to your other database system.

And yet another replication-based idea is to write a federated wrapper that uses Essbase as remote data source. Then you could employ Q or SQL replication and repilcate between 2 DB2 databases where the target system consists of a bunch of nicknames pointing to the tables in Essbase.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #5 (permalink)  
Old 12-27-07, 09:01
Dan Maher Dan Maher is offline
Registered User
 
Join Date: Dec 2007
Posts: 24
Ya, I'm getting replication set up on the server now, it's going to take a week or so for the DB2 guys to get it finished. But in the mean time just incase, I'm writing a Java application that's going to check the warehouse as well.
Reply With Quote
  #6 (permalink)  
Old 09-16-08, 16:47
donnamf donnamf is offline
Registered User
 
Join Date: Jun 2004
Posts: 2
does anyone have examples of how to use target base aggregate and change aggregate tables? I've collected I U D in CD tables for a registered table/column and now want to summarize this data on the target server.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On