Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

RE: CDC API - Change database

Posted By: LARRY SORENSEN
Date: Monday, 12 September 2011, at 1:20 p.m.

In Response To: Re: CDC API - Change database (Art Kagel)

Thank you to Art and Madison for their indulgence and exhaustive explanation. I think it is finally starting to clear up for me. IBM just does not have a very good explanation/description for any of this.

Larry

> To: ids@iiug.org
> From: art.kagel@gmail.com
> Subject: Re: CDC API - Change database [24893]
> Date: Mon, 12 Sep 2011 13:14:22 -0400
>
> See below:
>
> Art
>
> Art S. Kagel
> Advanced DataTools (www.advancedatatools.com)
> Blog: http://informix-myview.blogspot.com/
>
> Disclaimer: Please keep in mind that my own opinions are my own opinions and
> do not reflect on my employer, Advanced DataTools, the IIUG, nor any other
> organization with which I am associated either explicitly, implicitly, or by
> inference. Neither do those opinions reflect those of other individuals
> affiliated with any entity with which I am affiliated nor those of the
> entities themselves.
>
> On Mon, Sep 12, 2011 at 1:00 PM, LARRY SORENSEN <lsorensen25@msn.com> wrote:
>
> > OK. I just read the manual. Let me see if I have the flow correctly..
> >
> > 1) Run the sql script to set up the CDC database (The database and CDC now
> > lays dormant until you write a program that opens a sessions and starts
> > reading the logs.
> >
>
> Yes
>
> > 2) Write the program to connect to the CDC database and start processing
> > transaction logs. This can run continuously until stopped or run
> > occassionally.
> >
> Yes
>
> > 3) No actual changed data is stored in the CDC database. It is only
> > metadata
> > on where you are in the log records you have been processing.
> >
> Yes
>
> > 4) The program itself determines which tables to access change data on when
> > reading the transaction logs. Table information is not stored in the CDC
> >
> Correct.
>
> > database? (This part is unclear to me. If my target database is already
> > logging, is it the CDC database that I am turning on logging for my table
> > or
> > are you just making sure that my target database is logging? Does the CDC
> > database actually hold any of my data that I am trying to capture or is it
> > as
> > I said, just metadata.
> >
> The main thing that the cdc database holds that is user usable, is
> descriptions of error codes and log record types. See the description of
> the syscdcerrcodes and syscdcrectypes tables
>
> >
> > I am sorry about all of these questions. I am still trying to decide what
> > amount of effort will be required for this and what the CDC API actually
> > does
> > for me automatically.
> >
> Not much. It is an API used for doing things yourself. If you want
> automatic replication look to Enterprise Replication, or MACH11
> secondaries. If you want automatic change auditing, look to the Informix
> Secure Audit Facility. Or purchase one of the IBM or 3rd party tools I
> mentioned (and others) that will use the API to automate these things for
> you.
>
> > Larry
> >
> > > To: ids@iiug.org
> > > From: mpruet@us.ibm.com
> > > Subject: RE: CDC API - Change database [24890]
> > > Date: Mon, 12 Sep 2011 10:23:17 -0400
> > >
> > > The CDC API is used if you are going to a non-Informix database. If you
> > > are planning on replicating between two Informix databases, you should
> > use
> > > ER.
> > >
> > > The CDC API is using basic SQL commands to capture the log changes. The
> > > SQL script is used to create a database and the hooks into the internal
> > > code which make up the API. This is done by creating several UDRs which
> > > interface with the logs. You obtain the changed data from the logs by 1)
> > > executing a procedure in that database to turn on full logging for the
> > > requested table and then 2) specifying what table you want to capture.
> > > Once you activate the capture, then you receive the log changes from a
> > > pseudo smart blob. These interfaces are all provided by the SQL script
> > > that you need to run to enable the CDC API.
> > >
> > > I'd suggest reading the CDC API manual (SC27-3527-00)
> > >
> > > M.P.
> > >
> > > From: "LARRY SORENSEN" <lsorensen25@msn.com>
> > >
> > > To: ids@iiug.org
> > >
> > > Date: 09/12/2011 09:06 AM
> > >
> > > Subject: RE: CDC API - Change database [24889]
> > >
> > > Sent by: ids-bounces@iiug.org
> > >
> > > I am looking for something that just provides that changes to the tables
> > > that
> > > I select. Is the CDC API a manual process. I was under the assumption
> > that
> > > it
> > > was something that you could turn on and then it was continuous.
> > >
> > > What it is sounding like is....
> > >
> > > I need to write a C program. Somehow, I run that program occassionally
> > > against
> > > the log files to capture the changes that occurred in the tables that I
> > am
> > > watching. Is that somewhat accurate?
> > >
> > > If so, why is that sql script needed to set things up if everything is
> > just
> > >
> > > manual and the change data does not end up in a database?
> > >
> > > Is there a book or something that explains the process a little better
> > than
> > >
> > > the InfoCenter does?
> > >
> > > Larry
> > >
> > > > To: ids@iiug.org
> > > > From: mpruet@us.ibm.com
> > > > Subject: RE: CDC API - Change database [24888]
> > > > Date: Mon, 12 Sep 2011 09:56:20 -0400
> > > >
> > > > The CDC API is API for Change Data Capture. I think that you might be
> > > > confusing the API with Infosphere Change Data Capture. The CDC API
> > > > provides the means of capturing the changes made to a database. It is
> > not
> > >
> > > > data replication
> > > >
> > > > The CDC API is an API which provides the ability to snoop the logical
> > > logs
> > > > to capture the changes in the database. It does not apply those changes
> > > to
> > > > a target. If you want to apply the changes to a different database, you
> > > > would need to use Infosphere Change Data Capture (i.e. DataMirror). or
> > > > write your own capture/apply program.
> > > >
> > > > From: "LARRY SORENSEN" <lsorensen25@msn.com>
> > > >
> > > > To: ids@iiug.org
> > > >
> > > > Date: 09/12/2011 08:38 AM
> > > >
> > > > Subject: RE: CDC API - Change database [24887]
> > > >
> > > > Sent by: ids-bounces@iiug.org
> > > >
> > > > Is there any better documentation on the CDDC API? I have looked in the
> > > > Information Center documentation and it does not explain much. It says
> > to
> > >
> > > > run
> > > > the syscdcv1.sql script to do the initial setup, but then it gets
> > fuzzy.
> > > >
> > > > 1) It mentions accessing the data using C programs that I develop. It
> > > does
> > > > really explain how the data gets into the new database. It hints at
> > > > creating a
> > > > program to capture the data and put it into the new database, but I
> > > thought
> > > >
> > > > that was the CDC API's job. It appears that I use a tool like DBAccess
> > to
> > >
> > > > run
> > > > sql to set up the change monitoring. Is that true, and does the data
> > > appear
> > > >
> > > > automatically in the new database after that?
> > > >
> > > > 2) Can't I just access the data like I would a regular database? It is
> > > > unclear
> > > > what the table names will be for the data. Is it the same name as the
> > > table
> > > > in
> > > > the original database where the changes were made?
> > > >
> > > > It is frustrating that IBM/Informix provides a tool like the CDC API,
> > but
> > >
> > > > has
> > > > very little documentation on how to use it if you are wanting to use it
> > > for
> > > >
> > > > the first time. Does anyone else have any experience with the CDC API?
> > I
> > > > can't
> > > > even find enough information to make an informed decision on whether I
> > > can
> > > > use
> > > > if for my needs or not.
> > > >
> > > > Larry
> > > >
> > > > > To: ids@iiug.org
> > > > > From: art.kagel@gmail.com
> > > > > Subject: Re: CDC API - Change database [24877]
> > > > > Date: Wed, 7 Sep 2011 11:34:58 -0400
> > > > >
> > > > > Built-in but you need to initialize it by creating the syscdcv1
> > > database
> > > > and
> > > > > installing the stored procedures that implement the functionality.
> > > There
> > > > is
> > > > > a script, $INFORMIXDIR/etc/syscdcv1.sql, that you execute to do that.
> > > See
> > > >
> > > > > the Change Data Capture Programmer's Guide for details.
> > > > >
> > > > > Art
> > > > >
> > > > > Art S. Kagel
> > > > > Advanced DataTools (www.advancedatatools.com)
> > > > > Blog: http://informix-myview.blogspot.com/
> > > > >
> > > > > Disclaimer: Please keep in mind that my own opinions are my own
> > > opinions
> > > > and
> > > > > do not reflect on my employer, Advanced DataTools, the IIUG, nor any
> > > > other
> > > > > organization with which I am associated either explicitly,
> > implicitly,
> > > or
> > > > by
> > > > > inference. Neither do those opinions reflect those of other
> > individuals
> > >
> > > > > affiliated with any entity with which I am affiliated nor those of
> > the
> > > > > entities themselves.
> > > > >
> > > > > On Wed, Sep 7, 2011 at 11:20 AM, LARRY SORENSEN <lsorensen25@msn.com
> > >
> > > > wrote:
> > > > >
> > > > > > Thank you for the clarification. Do I need to install it, or is it
> > > > already
> > > > > > built in and I just use it?
> > > > > >
> > > > > > Larry
> > > > > >
> > > > > > > To: ids@iiug.org
> > > > > > > From: art.kagel@gmail.com
> > > > > > > Subject: Re: CDC API - Change database [24872]
> > > > > > > Date: Wed, 7 Sep 2011 09:59:17 -0400
> > > > > > >
> > > > > > > OK: CDC API is free and included with Informix. There is a manual
> > > for
> > > >
> > > > how
> > > > > > > to use it included in the manual set.
> > > > > > >
> > > > > > > InfoCenter CDC is a separate product, a kind of intra-RDBMS ETL
> > > > > > > tool that uses the CDC API. This is the chargeable product.
> > > > > > >
> > > > > > > Art
> > > > > > >
> > > > > > > Art S. Kagel
> > > > > > > Advanced DataTools (www.advancedatatools.com)
> > > > > > > Blog: http://informix-myview.blogspot.com/
> > > > > > >
> > > > > > > Disclaimer: Please keep in mind that my own opinions are my own
> > > > opinions
> > > > > > and
> > > > > > > do not reflect on my employer, Advanced DataTools, the IIUG, nor
> > > any
> > > > > > other
> > > > > > > organization with which I am associated either explicitly,
> > > > implicitly,
> > > > or
> > > > > > by
> > > > > > > inference. Neither do those opinions reflect those of other
> > > > individuals
> > > > > > > affiliated with any entity with which I am affiliated nor those
> > of
> > > > the
> > > > > > > entities themselves.
> > > > > > >
> > > > > > > On Wed, Sep 7, 2011 at 9:47 AM, LARRY SORENSEN
> > > <lsorensen25@msn.com>
> > > > > > wrote:
> > > > > > >
> > > > > > > > I have had a lot of good responseses from my previous query.
> > The
> > > > only
> > > > > > > > problem
> > > > > > > > that I am having now is the following:
> > > > > > > >
> > > > > > > > >From one source, I am told that the CDC API is not included
> > with
> > >
> > > > > > Informix
> > > > > > > > and
> > > > > > > > is an item requiring purchase (Software vendor).
> > > > > > > >
> > > > > > > > >From another source I am told that this is a free item (tech
> > > > support).
> > > > > > > >
> > > > > > > > I am not sure which is correct, nor do I still know where I can
> > > get
> > > >
> > > > the
> > > > > > > > software for the API. Can anyone provide clarification on this?
> > > > > > > >
> > > > > > > > Also, is this CDC API that same as the IBM product, Infocenter
> > > CDC;
> > > > or
> > > > > > are
> > > > > > > > they two different products?
> > > > > > > >
> > > > > > > > Larry
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> *******************************************************************************
> > >
> > > >
> > > > > > > > Forum Note: Use "Reply" to post a response in the discussion
> > > forum.
> > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > --bcaec52994bb61579604ac5a5977
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> *******************************************************************************
> > >
> > > >
> > > > > > > Forum Note: Use "Reply" to post a response in the discussion
> > forum.
> > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> *******************************************************************************
> > >
> > > >
> > > > > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > > > > >
> > > > > >
> > > > >
> > > > > --90e6ba6e844092372204ac5baf59
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> *******************************************************************************
> > >
> > > >
> > > > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> *******************************************************************************
> > >
> > > >
> > > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> *******************************************************************************
> > >
> > > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > > >
> > >
> > >
> > >
> >
> >
> *******************************************************************************
> > >
> > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > >
> > >
> > >
> >
> >
> *******************************************************************************
> > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > >
> >
> >
> >
> >
> *******************************************************************************
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
>
> --20cf303bfaae00f60704acc1a829
>
>
> *******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.