CDC for Oracle in SQL 2012 not writing updates

Hello...
I have set up a CDC for Oracle Service and Instance for use with SQL 2012.  After the instance was started, I inserted six rows of data into my Oracle table and a few minutes later, it looks like the changes were picked up by the service.
The instance status page contains the following information:
Status = Green Checkmark
Detailed Status = PROCESSING
Last Transaction Timestamp = 7/22/2014 12:11:56 PM
Last Change Timestamp = 7/22/2014 11:58:35 AM
Transaction Log Head Change Number = 0x0A2C1C...
Transaction Log Tail Change Number = 0x0A2C1C... (not the same value as the head)
Current Change Number = 0x0A2C1C...
Active Transactions = 1
Staged Transactions = 0
Completed Transactions = 0
Written Changes = 0
Read Changes = 6
It looks like the six rows have been read, but they are not being written to cdc.CDC_TEST_TABLE_CT on my SQL 2012 database.
I exported the diagnostic data using the "Collect Diagnostics" link, but there are no errors in the log.  Is there a primer for how to read the results of the diagnostics?
I had the following error earlier today:
"ORACDC517E:Oracle Call Intreface (OCI) method failed: ORA-01291: missing logfile 
ORA-06512: at "SYS.DBMS_LOGMNR"
But that error was resolved when my Oracle account was granted DBA and "execute_catalog_role" permissions.
The account being used for the CDC Service and Instance has dbo rights on the SQL Server.
Does anyone have an idea what the problem could be?
Any help would be greatly appreciated.
Thanks!

Arthur, thank you for responding.  I appreciate it! :)
I followed the instructions from Rakesh Parida's video on Technet.  Below are the individual steps I followed for creating the CDC Service and Instance.
CDC Service Setup:
I made sure that supplemental logging was enabled on my Oracle server.  I also made sure that my Windows account had DBA and "execute_catalog_role" permissions on the Oracle database.
From the CDC Service Config MMC I ran Action>Prepare SQL Server which created the MSXDBCDC database.
I then ran Action>New Service and entered the following information:
Service name: OracleCDCService1
Service Account: "This Account" radio button with my Windows username and password information
Associated SQL Server: <My SQL 2012 Server>
Authentication: Windows authentication
I also provided a CDC Service master password.
CDC Instance Setup:
Connected to <My SQL 2012 Server> using the CDC Designer MMC
Went through the steps of creating the Oracle CDC Instance
Oracle CDC Instance Name = CDC_TEST_SOURCE
Connected to my Oracle DB using Windows authentication
Selected a single table that I wanted to try CDC on and left CDC Gating Role blank
Ran the Oracle Logging script that enables table logging and supplemental log groups on the Oracle DB
Ran the Status Check step and all passed
Finished the wizard and started the instance
A few minutes after the instance was started I added six records to the table in Oracle.
Please let me know if you need more info.
Thanks!

Similar Messages

  • SSIS Pattern for CDC for Oracle

    I am in the process of implementing the CDC for Oracle product from Attunity, and I have a good understanding of how the CDC process works from Oracle to SQL Server.  The next step is to load the changes into our operational data store. 
    Does anyone know of good patterns in SSIS for handling the initial and ongoing loads for CDC for Oracle?  I have SSIS packages that handle pure SQL Server CDC, so I understand that process.  However, I'm not sure if there are special
    things that need to be done to mark the end of the initial load and then start loading changes into the operational data store.  Are there any gotchas I need to keep in mind when working with Oracle data and the CDC changes
    in SQL Server?  My main concerns are with data consistency between the Oracle system and our operational data store, once the initial load is finished, CDC is started and we copy data to the operational data store.  What are good patterns
    to ensure I'm not missing data, and that I don't introduce duplicate records, because of timing.
    Any advice is appreciated.

    If you are using the CDC for Oracle that Microsoft OEMs from Attunity:
    Change Data Capture Service for Oracle by Attunity
    CDC for Oracle in SQL Server 2012
    It populates the change data in a SQL Server database, just like SQL Server CDC would.  So the built-in SSIS support for SQL Server CDC will work.
    Change Data Capture (SSIS)
    One difference is that the current table data is not available in the SQL database; only the change data is.  So to do a full init, or reinit of a table you would have to load that data directly from Oracle.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Attunity CDC for Oracle Service - Oracle 12c Support

    For the Attunity CDC for Oracle service that is bundled with SQL Server 2012 SP1, is there support for Oracle 12c?  Or, will there be updates in the near future to support Oracle 12c?  If not, are there other solutions for incremental changes between
    Oracle 12c and SQL Server?

    Attunity is not bundled with SQL it is a separate item you need to download and pay for (unless you are on the Enterprise edition of SQL Server).
    Regarding the rest of the info: http://www.attunity.com/products/attunity-connect/ssis-connectors-for-oracle-and-teradata says Oracle 6 or HIGHER, so yes, for the updates: Attunity now supports SQL Server 2014.
    I am not aware of any other solutions from the Microsoft solution stuck side of the view.
    Arthur
    MyBlog
    Twitter

  • Microsoft OLE DB Provider for Oracle: Data type is not supported.

    I got the error:
    Microsoft OLE DB Provider for Oracle: Data type is not supported.
    Shortly after upgrading from Oracle 8 to Oracle 9. I was advised to download more up to date oracle drivers, but I was wondering if there was a way to tell what version of the 'OLE DB Provider for Oracle' is already at. Is there a command I can use via SQL Plus or something?

    I have found Microsoft ODBC for Oracle to be more stable than the Microsoft OLEDB for Oracle driver. I have also found both Microsoft ODBC and OLEDB drivers to be more stable than the drivers from Oracle.
    You could always get the latest MDAC (Microsoft Data Access Components) from Microsoft's MSDN Download site and then get the ODAC (Oracle Data Access Components) from Oracle's OTN Download site. ODAC requires MDAC. And ODAC has the latest drivers.
    I suppose it would help to have the latest patches for your Oracle client software too. Maybe Oracle MetaLink would have these?
    It may even help to have the latest service pack for Visual Studio 6 (Visual C++ 6 and Visual Basic 6) too.

  • HT204266 25 apps on my wife's phone need updating and now it "Cannot connect to iTunes Store" only when i try to update them for her.  I can access the iTunes store for all other options but not to update.  How can I get her updated?

    25 apps on my wife's phone need updating and now it "Cannot connect to iTunes Store" only when i try to update them for her.  I can access the iTunes store for all other options but not to update.  How can I get her updated?

    Try quitting the App Store:
    Tap the home button to get to the home screen. Then double tap the home button, and hold your finger over the App Store icon. Tap the red when it appears. Tap the home button again to return to the home screen.
    Try resetting:
    Hold the home and power buttons at the same time until the Apple boot logo appears. No data will be lost.

  • Change Data Capture (CDC) for Oracle by Attunity on SQL Server 2014

    hi
    i've installed the above on my server. It seems to look fine. The connection to oracle database is set, the databases on the sql server side have been created; the tables to be captured are created. When i make a change on the oracle side, the configuration
    ui senses the change, but no data is moved over. Silly question, do i have to move the data from oracle to sql server FIRST before any of this will work? and how do inserts work if the data has to be moved over to sql server first? I'm missing something here
    Any help would be appreciated.
    thank you

    Well, better ask the vender. They haver their own forums.

  • How to buy vouchers for Oracle PL/SQL Developer Certified Associate ?

    I want to become Oracle PL/SQL Developer Certified Associate.
    For this, I want to write 1Z0-007 (Introduction to Oracle9i SQL) and
    1Z0-147 (Program with PL/SQL) tests.
    I went through so many posts in the forum, but I didn't get the required answers.
    Kindly reply my queries:
    1) Will clearing the above two tests will make me Oracle PL/SQL Developer Certified Associate?
    2) Should I purchase two separate vouchers for those two tests?
    3) Should I give both the tests one by one at the same time or can I give them on different days?
    Please answer my questions. Or atleast guide me where can I get the answers?

    Ravindra wrote:
    I want to become Oracle PL/SQL Developer Certified Associate.
    For this, I want to write 1Z0-007 (Introduction to Oracle9i SQL) and
    1Z0-147 (Program with PL/SQL) tests.
    I went through so many posts in the forum, but I didn't get the required answers.
    Kindly reply my queries:
    1) Will clearing the above two tests will make me Oracle PL/SQL Developer Certified Associate?These exams fulfill the requirements of the certification which should be awarded if you pass the exam. Even if you pass the exams you are not certified until you received confirmation from Oracle via a success kit or Certview that you are certified
    2) Should I purchase two separate vouchers for those two tests?In my opinion there is usually little advantage in buying vouchers; but you may have different situation with your particular situation. Vouchers also may go wrong on people from time to time. Probably the excpetion for vouchers being good is when discounted vouchers are offered as part of training.
    See: http://www.pearsonvue.com/oracle
    3) Should I give both the tests one by one at the same time or can I give them on different days?Best practice for ordinary mortals is probably to take exams on different days. However as you are choosing 1z0-007 and 1z0-147 and not the more modern choices of 1z0-051 and 1z0-144 I shall leave that to yourself
    >
    Please answer my questions. Or atleast guide me where can I get the answers?1) http://www.oracle.com/education/certification
    2) Read the forum annnouncement sticky posts and links

  • Oracle to SQL 2012 migrataion

    Hi,
    I am planning to migrate Oracle 11g to SQL Server 2012. I want to estimate the Sizing requirement based upon actual usage. please let me know how I can get usage data from Oracle which I can use to size SQL Server Servers.
    Thanks
    Ashu

    Hi,
    I am actually looking for template than guidelines.  For migration from Oracle to SQL, I need to size the new hardware which should take equal load. What all parameters I can consider for Oracle in RAC which can be used to arrive at Cores and RAM requirement.
    Thanks
    Ashwani
    Sizing a hardware would actually require you to first migrate Oracle to SQL server and then do a load test to check its capability. If you are asking about space used that would be almost equal ,if you are asking about database growth then again you need
    to analyze database and its traces to find how much actually database is growing. In my case space required was almost same for the databases.
    Did you tried SSMS ( SQL server migration assistance )
    http://technet.microsoft.com/en-us/library/hh313179.aspx
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
    My TechNet Wiki Articles

  • What does "Scale out deployment (Web Farms)" mean for SP2013 and SQL 2012 SSRS?

    Dear community,
    in the
    Feature List of Reporting Services 2012, it's written that "Scale out deployment (Web farms)" is not possible for SQL 2012 Standard edition. However, does this relate as well to SSRS in SP-integrated mode, or only to native mode?
    In other words: is it possible to deploy SSRS using SQL 2012 STANDARD on more than one server in a SP2013 farm?
    And just to be sure: am I right to assume that in both cases, you can create multiple SSRS Svc Applications (be they all running on the same server) and assign them to different web applications (through their proxy groups)?
    Cheers,
    C

    Hi CHinz, 
    According to your description, you want to configure scale-out deployment for SQL Server Reporting Services 2012 standard edition. Right?
    As you can see in the msdn liabrary, for SQL Server 2012, scale-out deployment is only supported in Enterprise and Business Intelligence editions. This is related to both native mode and sharepoint integrated mode.
    It's not supported to deploy a SSRS 2012 standard edition instance on more than one server.
    Since scale-out deployment is for different report server instance to share one report server database. You can use different web applications to access the same report in different report server instances.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Suggest a book for oracle 8i :sql,pl/sql

    hello friends,
    i am new to this forum..
    i am planning to write oracle certification (OCA) iz001 exam.
    for that i need to prepare oracle 8i sql,pl/sql..
    so please any1 of u suggest a book and the author name..
    thank u..

    I'd really recommend you study an actual supported version.

  • OCA Study material for Oracle Database SQL Expert

    Hi,
    I want to take following certification exam.
    "1Z0-047 Oracle Database SQL Expert"
    its part of OCA (1st Paper)
    Is Anybody having study material for this?
    pls send to :
    [email protected]
    or
    pls suggest me some site name
    thnx in advance

    hello
    please post the thread certification section.
    regards
    liakat hossain nayan

  • Upgrading Sql 2008r2 (Hosting Ssrs For Scom) To Sql 2012 Failed On "uses custom security/authentication extensions/..."

    Hi,
    my question is: what custom extensions does SCOM uses for the SSRS?
    When I look on the SSRS forum I'm advised to check who made these extensions and what use they have.
    Help would be appreciated.
    Greetings,
    Pim

    Hi,
    From your description, my understanding is that you have a question when you upgrade SQL 2008 R2 to SQL 2012.
    Since this is an issue about SQL server. I suggest you contact SQL server support engineer for more assistance and resource. For your convenience:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?category=sqlserver
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • CDC for Oracle Continually goes to Aborted State - SQL Server 2012

    I am setting up a test environment for CDC with an Oracle system.  I have everything set up to the point where logs are being read and data appears to be getting added to the CDC tables in SQL Server.  However, at different times during the day,
    the status of the service goes to Aborted and the service is completely stopped.  The first time I start the service, it will run for about 1 hour, before it aborts.  After that, it only takes 2 or 3 minutes, sometimes less, before this happens again.
    Below are the last entries in the log when the instance aborted.  Whenever the instance aborts, the last message is always "Reading Complementary records for large log miner SQL_REDO/SQL_UNDO".  I'm guessing there's a permission or setting
    in Oracle that I'm missing, but I don't know what it is.
    Version information:
    Oracle: 10.2.0.5.0
    CDC Service: SQL Server 2012 SP 1
    SQL Server Database Engine: 11.0.3128
    record","source","","0xDD070A00170012001C0004000043073800000000000000000626001100F8DD3A00000000061474B6B30100000100012B190000CC8E01340000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Enqueue transaction record","source","","0xDD070A00170012001C0004004085163800000000000000000626002F00E2DD3A00000000061474B6B40100000100012B190000CCA201C40000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Enqueue transaction record","source","","0xDD070A00170012001C000400C009353800000000000000000026002F00E2DD3A00000000061474B6B50100000100012B190000CCA500A00000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Enqueue transaction record","source","","0xDD070A00170012001C000400408E533800000000000000000026001100F8DD3A00000000061474B6B70100000100012B190000CCAF00440000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Enqueue transaction record","source","","0xDD070A00170012001C00040080D0623800000000000000000626002D00DBDD3A00000000061474B8780100000100012B19000108B500280000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Enqueue transaction record","source","","0xDD070A00170012001C0004000055813800000000000000000626001500E0DD3A00000000061474B8790100000100012B19000108C7003C0000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Enqueue transaction record","source","","0xDD070A00170012001C00040080D99F3800000000000000000026001500E0DD3A00000000061474B87A0100000100012B19000108C901140000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Enqueue transaction record","source","","0xDD070A00170012001C000400C01BAF3800000000000000000026002D00DBDD3A00000000061474B87C0100000100012B19000108D301540000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading Complementary records for large log miner SQL_REDO/SQL_UNDO","source","",""

    Here are the permissions we have set up on the Oracle side: (Please forgive the poor formatting.  The editor wants to remove all of the spaces and add extra carriage returns.)
    GRANT
    EXECUTE
    ON 
    "SYS"."DBMS_LOGMNR"
    TO
    "LOGREADER";
    GRANT
    EXECUTE
    ON 
    "SYS"."DBMS_LOGMNR_D"
    TO
    "LOGREADER";
    grant
    select
    any
    transaction
    to
    logreader;
    GRANT
    "CONNECT"
    TO
    "LOGREADER";
    GRANT
    select
    ON
    sys.v_$database
    to
    "LOGREADER";
    GRANT
    select
    ON
    sys.v_$logmnr_contents
    to
    "LOGREADER";
    GRANT
    select ON
    sys.v_$logmnr_dictionary
    to
    "LOGREADER";
    GRANT
    selectONsys.v_$logmnr_logfileto"LOGREADER";
    GRANT
    selectONsys.v_$logmnr_logsto"LOGREADER";
    GRANT
    selectONsys.v_$logmnr_parametersto"LOGREADER";
    GRANT
    selectONsys.v_$logmnr_sessionto"LOGREADER";
    GRANT
    selectONsys.v_$logmnr_transactionto"LOGREADER";
    GRANT
    selectONsys.v_$logto"LOGREADER";
    GRANT
    selectONsys.v_$logfileto"LOGREADER";
    GRANT
    selectONsys.v_$archived_logto"LOGREADER";
    GRANT
    select
    ON
    sys.dba_registry
    to
    "LOGREADER";
    GRANT
    select
    ON
    sys.v_$instance
    to
    "LOGREADER";
    GRANT
    select
    ON
    sys.v_$thread
    to
    "LOGREADER";
    GRANT
    select
    ON
    sys.v_$parameter
    to
    "LOGREADER";
    For each table we want to capture changes on, select rights have been granted to this user, as well.

  • Calling Web Service From Oracle PL/SQL do not invoke the webservice in SOA Server

    Hi ,
    Trying to call the webservice from oralce pl/sql Function
    created a Function
    Not able to invoke the web service of SOA Server .
    CREATE OR REPLACE FUNCTION HelloWorld_WebServices(S_STRING Varchar2) RETURN VARCHAR2 AS 
        service_ sys.utl_dbws.SERVICE; 
        call_ sys.utl_dbws.CALL; 
        service_qname sys.utl_dbws.QNAME; 
        port_qname sys.utl_dbws.QNAME; 
        response sys.XMLTYPE; 
        request sys.XMLTYPE; 
        BEGIN 
         sys.utl_dbws.set_http_proxy('Host name : Port'); 
          service_qname := sys.utl_dbws.to_qname('ns1', 'process'); 
           service_      := sys.utl_dbws.create_service(service_qname); 
           call_         := sys.utl_dbws.create_call(service_); 
            sys.utl_dbws.set_target_endpoint_address(call_, 'http:/host name : port/soa-infra/services/OFS/HelloWorld/helloworld_client_ep'); 
            sys.utl_dbws.set_property( call_, 'OPERATION_STYLE', 'process'); 
            request       := sys.XMLTYPE('<ns1:process xmlns:ns1="http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld"><ns1:input></ns1:input></ns1:process>'); 
         response      := sys.utl_dbws.invoke(call_, request); 
         return response.extract('//HelloWorld/child::text()', 'http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld').getstringval(); 
         DBMS_OUTPUT.PUT_LINE ('Values of OutputsVariables8');
    --  Return 'S';
       END;
    Execute----the below code:
      Select HelloWorld_WebServices('Hi') from dual;
    Error:
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoClassDefFoundError
    ORA-06512: at "SYS.UTL_DBWS", line 403
    ORA-06512: at "SYS.UTL_DBWS", line 400
    ORA-06512: at "APPS.HELLOWORLD_WEBSERVICES", line 74
    29532. 00000 -  "Java call terminated by uncaught Java exception: %s"
    *Cause:    A Java exception or error was signaled and could not be
               resolved by the Java code.
    *Action:   Modify Java code, if this behavior is not intended.

    Well, you should first test if your webservice is reachable with a simple WS - Client or a Browser - Plugin, then verify the respones of the web service and after that you can take further investigations on your problem domain. The error - message refers to a line in your function, obviously, but I can't see which line and because there is more than one call to sys.utl_dbws I don't see at what point the script fails. NULL - Pointer - Execptions usually indicate that a method was invoked on a variable which should contain an object reference but is NULL.

  • Disco for Oracle Apps with Scheduling not in Apps ~ Throws Error ORA-06502

    Hi All,
    I have had an SR with Oracle for almost 1/2 year now to set-up scheduling with the scheduling schema not being Apps. They have not been able to fix this yet.
    I have used note 757831.1. When I try to set-up a schedule that is recurring, the following error is thrown: ORA-06502.
    Does any one have a success story associated with setting-up scheduling in a Disco Oracle Apps end user layer where the scheduling schema is not apps?
    Thanks,
    Patrick
    Edited by: Patrick Bacon on Dec 10, 2010 7:18 AM
    Edited by: Patrick Bacon on Dec 10, 2010 8:21 AM

    Pl do not post contents of MOS Docs publicly - this violates terms of your support contract.
    We were successful in doing this with Disco 4i a long time ago. I am assuming the process is the same for 10g. Pl see if these MOS Docs can help. Pl post the complete error message.
    Error When Trying To Schedule Workbooks: The Batch Repository Schema Must Have Been Granted Direct Access To All Of The Tables Referenced In This Sheet (Doc ID 1125208.1)
    How To Store Scheduled Workbooks Results In A Different Schema Other than APPS? (Doc ID 370855.1)
    Error When Trying To Schedule Workbooks: The Batch Repository Schema Must Have Been Granted Direct Access To All Of The Tables Referenced In This Sheet (Doc ID 464968.1)
    Discoverer Quick Start: Setting Up Workbook Scheduling (Doc ID 74116.1)
    Scheduling Workbooks In A Applications Mode EUL Configured With A Batch User Fails With Errors ORA-06502, ORA-06512 (Doc ID 331165.1)
    HTH
    Srini

Maybe you are looking for