Any time tested tool to sync 2 oracle databases having different schemas?

Hi,
I have 2 databases (one with old table schemas and the other one with refined table schemas) that are catering to 2 applications - a new app and the old app.
Gradually the old app will fade away, but till then we need to run these 2 apps together.
The requirement is to have a bidirectional sync between these 2 databases so that the 2 apps can reflect real-time data at any point in time used by different set of users.
Initially we thought of using Golden Gate but it seems that it is not meant for databases having different schemas.
Any recommendations what tool can be used in such a scenerio?
Thanks.

This forum is assiting with foreign database to Oracle migrations. For your replication issue there's a dedicated forum:
Replication
Better post our issue there.

Similar Messages

  • Have any GUI tools to backup oracle database(s) ?

    Hi,
    I want to know is any oracle's tool or third party tools to backuping oracle database?
    Thank you!
    Francis SZE

    Devotee wrote:
    Hi,
    I want to know is any oracle's tool or third party tools to backuping oracle database?
    Thank you!
    Francis SZE
    Use RMAN through enterprise manager
    Cheers

  • Combine multiple oracle 10g db as one 11g database with different schemas

    We have 3 10g databases on a solaris machine
    We are planning to migrate them and upgrade to 11g rel2 on linux machine
    and finally merge those into one database as different schemas
    has anyone got good ideas of the best strategy to do that
    thanks

    has anyone got good ideas of the best strategy to do thatexpdp/impdp

  • Compare Table Data on 2 different databases having same schema

    I need to compare data in all the tables in 2 different databases having same schema.
    If there is any difference in data in any table on Database1 and Database2 then I need to update/insert/delete the rows in my table in Database2.
    So Database1 is my source database and Database2 is my sync database. I cannot use expdp tables as I am not having sufficient privileges to the database server.
    Also I cannot drop and recreate the tables as they are huge.
    Can anyone please guide me how to compare data and to write a script to comapre the changes in say Database1.Table1 and Database2.Table1 and then accordingly do inserts/updates/deleted on Database2.Table1?
    Thanks

    Karthick_Arp wrote:
    Do you have a DBLink? If youes you can do this.
    1. Login into the Database-2 and run this code.
    begin
    for i in (select table_name from user_tables)
    loop
    execute immediate 'truncate table ' || i.table_name;
    end loop;
    end;This will empty all the tables in your Database-2. Now what you need is to just populate the data from Database-1This might result in error, if any of the tables have referential integrity on them.
    From 10g documentation :
    Restrictions on Truncating Tables
    You cannot individually truncate a table that is part of a cluster. You must either truncate the cluster, delete all rows from the table, or drop and re-create the table.
    You cannot truncate the parent table of an enabled referential integrity constraint. You must disable the constraint before truncating the table. An exception is that you can truncate the table if the integrity constraint is self-referential.
    If a domain index is defined on table, then neither the index nor any index partitions can be marked IN_PROGRESS.I would go for normal MERGE. Also change the cursor to select table names by first modifying the child tables and then the parent table.

  • Using AE(htmldb 2.0)  as for reporting tool for other oracle databases.

    Maybe I was mistaken, but when I first saw the HTMLDB demo's I saw this as a slick way to build a browser based reporting tool for the masses for quasi-ad-hoc reporting on some of our larger databases that currently have limited reporting capability, and also as a possible replacement for the many MSAccess applets we have.
    I just got 2.0 installed and working on a 9i database and went through the basic tutorials, but I can't find much info on how to connect to other oracle databases.
    Are my options as follows?:
    create dblinks from the local database that houses htmldb to all the other databases?
    or
    install htmldb schemas on each database I want to access from htmldb?
    or
    I'll keep looking, but if any of you have any pointers or know of a tutorial that explains the best way to do this it would be greatly appreciated!
    tia

    As for question 1, yep, that's what I mean. Example:
    In a schema in the App Express instance, create a user called "APP1_USER", and then
    create view app1_user.people as select * from people@link_user@remotedb
    As for the next question, using the built-in insert/update/delete processes will give you
    ORA-01461: can bind a LONG value only for insert into a LONG column
    among other errors. Apparently version 2.1 will fix this. See Cannot Update VARCHAR column in Remote DB
    We address this problem by creating pl/sql APIs for DML, and then writing our own insert/update processes. Slows us down a little, but even with that, App Express remains a productive choice for us.
    Another weird problem: auto-row fetch (built-in to HTML DB) doesn't work over db links when you have two columns for a primary key. Many ways around this, e.g. create sequence-populated primary key, create a view with single column that concatenates primary key column values (key1|key2)
    Hope this helps!
    -John

  • Tools to Monitor Oracle Databases

    Hi
    What is the best tool available in the market to perform day-to-day DBA tasks and monitor real time performance of Oracle databases. I need suggestions apart Oracle EM or Toad .
    Thank You

    859206 wrote:
    Hi
    What is the best tool available in the market to perform day-to-day DBA tasks and monitor real time performance of Oracle databases. I need suggestions apart Oracle EM or Toad .
    Thank YouWhat are the best tools to monitor how my car is performing and to change a flat tire? I don't want to use the gauges on the instrument panel or the spare tire, jack, and lug wrench in the trunk.
    Why do you need suggestions apart from EM? Is someone in your company just burning to spend money with another vendor to buy the same functionality that Oracle provides for free with EM?

  • Any maximum size limit to an Oracle database?

    Is there a maximum size limit to Oracle database?
    What is the maximum columns and rows the database can grow to?
    Is there any documentation stating the max size for the Oracle database?

    The maximum size supported by Oracle in respect of the Oracle RDBMS is 512 Petabytes or
    536,870,912 GigaBytes. This was introduced w/ Oracle Release 8.0.3 and higher. The Oracle Release 7 limit was 4 Terabytes.
    Anatoli Grishin

  • How to sync Oracle Database with other DB

    Trying to find out if there is a way to keep my data set in oracle database in sync with other DB tyring to access the same data to make sure the data being grab is the most updated data.
    They mention about Oracle Pipe...whats that?
    thanks

    What is the "other database" being used for? Are you using it for disaster recovery? To offload reporting? Something else?
    Are you trying to replicate the entire database? Or some subset (a schema, a handful of tables, something else)?
    What version of Oracle are you using on the source? What database are you using on the destination?
    Are changes allowed on both databases? Or do you just need a master/ slave architecture?
    What is the acceptable delay between a change being made on the primary and that change becoming visible on the destination?
    Justin

  • Performance Issue : Application and oracle database in different sub-net

    Hi,
    We have an 24/7 application that uses oracle 11g R2 as the back end database. The application sits on a separate box and the oracle database sits on a separate box.
    Unless we keep both the machines in the same sub-net, the throughput of the application becomes very slow and kind of un-usable in performance setups.
    In fully loaded conditions, the application will be inserting around 12K records per minute into the database. In such scenario, restarting the application takes longer time (more than 2 hours) when the oracle server is on a different network as compared to the application. In real world, the oracle will be in a separate dedicated network and the DBAs resist to have an application in the same sub-net.
    Is there a way we can keep the application and the oracle database server in a different network (but present in same location) and achieve same throughput/performance when both servers are on same subnet.
    Thanks,
    Krishna

    871609 wrote:
    Hi,
    We have an 24/7 application that uses oracle 11g R2 as the back end database. The application sits on a separate box and the oracle database sits on a separate box.
    Unless we keep both the machines in the same sub-net, the throughput of the application becomes very slow and kind of un-usable in performance setups.
    In fully loaded conditions, the application will be inserting around 12K records per minute into the database. In such scenario, restarting the application takes longer time (more than 2 hours) when the oracle server is on a different network as compared to the application. In real world, the oracle will be in a separate dedicated network and the DBAs resist to have an application in the same sub-net.
    Is there a way we can keep the application and the oracle database server in a different network (but present in same location) and achieve same throughput/performance when both servers are on same subnet.
    Thanks,
    KrishnaHave the DBAs explained why they resist having the apps and db servers in the same subnet? Every place I've ever worked configured it exactly that way ... db and apps servers on different machines in the same subnet.

  • Access oracle database from different classes in desktop / standalone app.

    I am a bit confused as to what way to go. I am building a desktop application that needs to access an oracle database. I have done this in the past using code similar to the following:
            try {             DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());             Connection conn = DriverManager.getConnection(                     "jdbc:oracle:thin:@111.111.111.111:oracledb",                     "username", "password" );             // Create a Statement             Statement stmt = conn.createStatement();             ResultSet rs = stmt.executeQuery(                     "select ... from ...");             while (rs.next()) {                 ReportNumberCombo.addItem(rs.getString(1));             } // end of rs while             conn.close();         } //  end of try         catch( Exception e ) {             e.printStackTrace();         }
    The problem I would like to resolve is that I have this code all over the place in my application. I would like to have it in one objects method that i can call from other classes. I can't easily see how to do this, or maybe at this point I'm just too confused.
    I want to be able to change this connection info from a properties file which I have already done, not sure if this bit of information would change the answer to my question. I was also looking at the DataSource api, this looks like it is close to what I should use, what are your thoughts?
    I would also like to if JNDI is only for web applications or would be appropriate for a desktop app.
    Thank you for your help, I realize this is all over the place but I really need these topics cleared up!

    I have tried exactly that and am getting an error which let me to believe it couldn't be done that way. Here is my code and error message:
    public class readPropsFile {
        String getURL() throws IOException {
            // default values for properties file
            String Family = "Family:jdbc" + ":oracle:" + "thin:@";
            String Server = "Server:111.111.111.111";
            String Port = "Port:1521";
            String Host = "Host:oradb";
            String Username = "Username:username";
            String Password = "Password:password";
            try {          
                new BufferedReader(new FileReader("C:\\data\\Properties.txt"));
            } catch (FileNotFoundException filenotfound) {
                System.out.println("Error: " + filenotfound.getMessage());
                // displays to console if file DOES NOT exist
                System.out.println("The file DOES NOT exist, now creating...");
                FileWriter fileObject = null;
                fileObject = new FileWriter("c:\\data\\Properties.txt");
                BufferedWriter out = new BufferedWriter(fileObject);
                // writes to output as simple text.
                out.write(Family);
                out.newLine();
                out.write(Server);
                out.newLine();
                out.write(Port);
                out.newLine();
                out.write(Host);
                out.newLine();
                out.write(Username);
                out.newLine();
                out.write(Password);
                out.newLine();
                out.close();
            // displays to console if file exists
            System.out.println("The file exists, or was created sucessfully");
    //      creates the properties object, assigns text file.
            Properties props = new Properties();
            FileInputStream in = new FileInputStream("c:\\data\\Properties.txt");
            props.load(in);
            Family = props.getProperty("Family");
            Server = props.getProperty("Server");
            Port = props.getProperty("Port");
            Host = props.getProperty("Host");
            Username = props.getProperty("Username");
            Password = props.getProperty("Password");
    //      prints properties to a file for troubleshooting
            PrintStream s = new PrintStream("c:\\data\\list.txt");
            props.list(s);
            in.close();
            String URL = "\"" + Family + Server + ":" + Port + ":" + Host + "\"" +
                    "," + "\"" + Username + "\"" + "," + "\"" + Password + "\"";
            System.out.println("This is the URL:" + URL);
            return URL;
    }And here is where I try to call the method:
    public class connWithProps1 {
        public static void main(String[] args) {
            readPropsFile callProps = new readPropsFile();
            try {
                callProps.getURL();
                String url = callProps.getURL(); // not needed
                System.out.println("The URL (in connWithProps1) is: " + csoProps.getURL());
                DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                Connection conn = DriverManager.getConnection(url);
                // Create a Statement
                Statement stmt = conn.createStatement();
                ResultSet rs = stmt.executeQuery("select .... WHERE ....'");
                while (rs.next()) {
                    System.out.println(rs.getString(1));
                } // end of rs while
                conn.close();
            } catch (SQLException sqle) {
                Logger.getLogger(connWithProps1.class.getName()).log(Level.SEVERE, null, sqle);
            } catch (IOException ioe) {
                Logger.getLogger(connWithProps1.class.getName()).log(Level.SEVERE, null, ioe);
    }The error I get is:
    SEVERE: null
    java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    111.111.111.111:1521:oradb","username","password"
            at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
            at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:460)
            at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411)
            at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
            at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)
            at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
    {code}
    Although the URL prints out correctly and when I tried plugging in the URL manually, it works just fine. One other thing I noticed was the line "The file exists, or was created sucessfully" is output 3 times.
    I will go back and change my code to properly close the resultset, thanks for catching that. Id rather use what I have instead of JNDI unless it's nesessary.
    Edited by: shadow_coder on Jun 19, 2009 2:16 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Looking for tool - for manage Oracle database

    hi
    i looking for tool that i can make tables, run querys, make backup .....
    on Oracle 11.2.0 64bit
    i'am looking for any graphical tool (like sql-server tool)
    thanks in advance

    You didn't see you've answered your own question: you posted inside the SQL Developer tool forum ;)
    Have fun with it,
    K.

  • Test data generator for Oracle database

    Hello.
    I'm a student of Computer Engeneering in Poland. I've recently written simple application that can help people to populate database with some simple test data (appliation works only on relational database).
    this is link to website: http://testdatagenerator.jak.pl/
    Requires: .NET Framework 2.0 and ODP.NET
    Every feedback is welcome!

    Yes, I know about it...
    In Firefox you can easily close the ad (in IE it's a little bit difficult).
    Here is direct link to installer (if someone has a problem to handle with ads ):
    http://metis.weia.po.opole.pl/~d51422/generatorOracle/setup_ml.exe
    (both EN and PL version)

  • Connecting to 2 Oracle databases on different port

    Hi,
    Oracle Version : 11G
    Database SIDs : test and testnew
    Listener name: LISTENER
    Port number: 1521
    Net Services name: TEST and TESTNEW
    I opened ./netca and I was able to test the service TEST successfully. But when i try to test the service TESTNEW, i get the error
    ORA-03135: Connection Lost
    How do i solve this.
    Iam new to Database handling. Please help me...
    Thanks in advance.

    o/p: tnsping testnew
    TNS Ping Utility for Linux: Version 11.0.0.1.0 - Production on 19-MAR-2013 04:50:28
    Used Parameter files:
    /data/ora/oracledb/product/11.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = ----myip---)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = testnew)))
    OK (0 msec)
    o/p: lsnrctl status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=---myip---)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 19-MAR-2013 02:17:22
    Uptime 0 days 2 hr. 39 min. 8 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /data/ora/oracledb/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File /data/ora/oracledb/diag/tnslsnr/MA35ITLAB03/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=---myip---)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=---myip---)(PORT=1522)))
    Services Summary...
    Service "testnew" has 1 instance(s).
    Instance "testnew", status READY, has 1 handler(s) for this service...
    Service "testnewXDB" has 1 instance(s).
    Instance "testnew", status READY, has 1 handler(s) for this service...
    Service "test" has 1 instance(s).
    Instance "test", status READY, has 1 handler(s) for this service...
    Service "testXDB" has 1 instance(s).
    Instance "test", status READY, has 1 handler(s) for this service...
    The command completed successfully

  • Best way to Restore Database to create a new Database having different dependent objects like linked server names in the procedures

    Hi All,
    Am creating a new test server by cloning the production server. Creating Dbs by restoring the production backup but wondering is there any best way to update the linked server names in open query of few SPs other than manual checking and updating.
    Thanks,
    Swapna

    It will not update the stored procedure rather it generates the scripts. You can validate and execute the script later.
    Try this link
    http://www.ideosity.com/ourblog/post/ideosphere-blog/2013/06/14/how-to-find-and-replace-text-in-all-stored-procedures
    --Prashanth

  • Can Oracle reports access different schemas?

    I have a query that accesses 2 schemas: It gives me an error ORA-00904 when I try to run the report.
    Any ideas?

    Yes it helps. I had 3 queries... and the first was accessing the other schema but not the second or third query when they should have. However, when I ran the report, it kept giving me an error as if the first one was the problem.
    Misleading error diagnostics made doubt it.

Maybe you are looking for

  • How do I open a png file?

    Cheers All, I am not seeing how to open a png file with the new Creative Cloud Pshop. I am fearing that it has been disabled by Apple or some such nonsense. My last version of shop had a right click 'open with', which I am not getting now with CC. ma

  • How to add an iPad app to security for accessing my photos

    iPad 7.1.2 I bought an app called TinyScan Pro. I want it to be able to see my photos and use them as I wish. But I can't find a way to add it in security settings. The app doesn't ask. It just tells me to change my settings. Help? Thanks!

  • How do I stop flashplayer playing, until it has downloaded ALL the file?

    I use Flashplayer 10.1 on Windows 7 64 Bit in Chrome, but my internet is not especially fast. I want to watch news reports eg on the BBC or newspaper web sites: - but not in stop-go motion and stutter speed; I want to let the entire clip download and

  • Hiding scrollbar at runtime

    Hi! Has anyone had any success hiding a block scrollbar at runtime. There is no block property that does this. I`ve tried to move the scrollbar out of the window, got an error message stating that I could not move the scrollbar out of sight. I've als

  • Bold 9930 Bridge Application for Playbook

    Greetings, I am currently in Afghanistan with the coalition forces,I just ordered a blackberry playbook to use with my Bold 9930 and I cannot access the app store to download bridge here in this country because it is not supported. I am not going to