Synchronizing Objects of Schemas

I have two different databases with different configurations in physically different location. The following scenario is the current system to synch a particular schema from one server to other server on daily basis:
- Archivelog mode is not enabled in the databases
- expdp dump is taken in the source server and the dump is copied to the destination server with the help of automatic shell scripts
- The dump is restored using impdp in the destination server replacing the previous contents using table_exists_action=replace
- Grants associated are given again
Problems:
- Since the size of schema is increasing, the time to transfer the dump is taking more time
- Datapump utility takes time to restore and the grants associated with the tables needs to be re-executed in the destination server
Now i want to replicate only the changes in data of the source schema and replicate in the destination server schema.
Is there any fast advanced method to replicate changes in this mode of database other than using Datapump Utility?
Please suggest !
Edited by: user7296021 on Apr 28, 2011 1:49 AM

Hi,
Oracle has other tools to do that, 1. Oracle Streams, 2. ODI, 3. Oracle Golden Gate....
If u r ready to invest pls go with it ,,,,
my best choice would be golden gate, bcos u can do transformations to different databases like ?(Oracle --> Sybase, DB2, Teradata etccccc.....)
or the other way is u can use RMAN, to backup and restore only the CDC.

Similar Messages

  • Yes, I want to create object-relational schema from DTD.

    Thank you for reply~~
    I want to create object-relational schema from DTD using object type or collections as mentioned.
    In reply, it is impossible.
    But, I read Oracle supports storing an XML document with object-relation. I executed storing sample, but I had to create schema manually.
    Is it really impossible to create OR schema from DTD automatically?

    Yes. You need to create your database schema before insert XML data to it.

  • Using TOAD and SQL Developer to compare db objects in schemas in databases

    Hi All,
    My primary objective was to compare objects in schemas in two different databases and find out the differences,
    Execute DDL's in the database where objects are missing and syn schemas in two different databases.
    So I need to compare schemas in databases. Which tool would be helpful and will be user friendly to make a comparison of database objects existing in schemas in two different databases.
    I'd like to see if I can get a list of pro and cons between Toad and SQL Developer for comparing schemas pros and cons.
    Could you please also help me on navigation in SQL Developer to compare schemas.
    Connect to Source
    Connect to Target
    Compare schemas with different object types
    Find out differences
    Generate DDL's for the missing objects or for the objects in difference report
    Run them in missing instace(Source/Target)
    Make sure both are in sync.
    Thanks All

    Hi,
    Most dba type tools have this kind of functionality - personally i use plsqldeveloper but this is very similar to most other tools on the market. SQL Developer seems to rely on you needing the change management pack licence which you likely dont have and would be quite a large cost to roll out.
    I'd compare plsqldeveloper/toad/sqlnavigator etc and maybe the tools from redgate which look pretty good though i haven't used them.
    Regards,
    Harry

  • Insufficient privilege: Can't export objects in schema..user has no privilege on the underlying objects

    I'm using SYSTEM user but
    HDBSTUDIO continues on triggering this error when I try to export the catalog:
    SAP DBTech JDBC: [258]: insufficient privilege: Can't export objects in schema DARTEL_TRANSPORTES. Can't export procedure DARTEL_TRANSPORTES.PAL_TRIPLE_SMOOTH_WRAPPER. user has no privilege on the underlying objects
    When trying to grant the SYSTEM user to that particular object  I get a new error : Could not modify user 'SYSTEM'. Several issues occurred
    Have anyone have struggled with this error before, any help will be highly appreciated
    Kind Regards

    rev 69 too
    tomorrow I will have the webex and let you know
    Something happenned after my customer change the suse's server IP, I had to perform a re-installation of SAP Business One only
    We were supposed to install using the hostname but no one of the installers let me use the hostname
    so it Kind of forced me to use the IP.
    After asking Support about that one of the specialists told me that he prefers to use IP instead of the hostname. So I used IP.
    Maybe this changed something I cannot detect yet. but tomorrow we'll see.
    KR

  • Benefits of Assigning Database Objects to Schemas

    Hi,
    I need some clarification. Sam Alapati states the following in his book "Expert Oracle9i Database Administration:"
    "Dividing a database's objects among various schemas promotes ease of management and a higher level of security."
    Could you kindly explain how dividing a database's objects among various schemas promote
    1) ease of management, and
    2) higher level of security.
    Thanks,
    Karim

    Like it's been discuss in this thread.
    Re: Three database table sets under one schema
    in short
    1) ease of management
    you group your related database objects into schemas so it's easier for you to figure out which applications using which set of tables, packages etc.
    2) higher level of security
    schema owner has full access to it's objects. If you put every tables into one schema, you can't control which table schema holder has access to which he can't, because he owns everything.

  • Data Modeler - Default object's schema

    Hi All!
    I’m starter in Data Modeler.
    I can’t find a simple option - default object’s owner or default schema.
    In Data Modeler, I already have tables and other objects. So, when I generate DDL SQL
    I’m getting:
    CREATE TABLE <table name>
    How can I get:
    CREATE TABLE <schema>.<table name>
    Thanks!

    Thank you, Philip, for your answer!
    Actually, I did it.
    I opened physical model, added user and changed user for table.
    So, it’s ok, however, I not found where is changing owner for indexes.
    Because, I got like this:
    CREATE TABLE <schema>.<table name> --- it’s ok
    CREATE INDEX <index name> --- it’s wrong there is no owner
    How can I change indexes owner?
    And, indeed, it’s not suitable to change owner for each object. Is there an opportunity to change owners for all objects synchronously?

  • OInvoice Business Object XML Schema question

    I am trying to produce an xml file based on the oInvoices business object to use in an EDI translation.  I am running Sap Business One 2005 A SP:01 PL:03.  I used one of the sample programs in the SDK Samples folder to produce an XML schema of the oInvoices object.  The sample program is in the COM DI folder, program #06. ObjectSchemas.  When I run this program is produces an xml file that is really a schema for oInvoices, and it uses the GetBusinessObjectXmlSchema function for the oInvoices BoObjectType.  If I use the SaveXML function on the SAPbobsCOM.BoObjectTypes.oInvoices, I get a different xml file that does not use the same table or fields names.  (See sample below - schema uses the table name, OINV, SaveXml uses 'Documents' in place of the OINV name, schema has a QueryParams tag set, SaveXml does not, SaveXml has a Version defined within the AdminInfo, the Schema does not have this). Why doesn't the oInvoices xml schema match the xml file produced using the SaveXML function.  Which example below is the correct xml representation of an Invoice?  I have copied parts of each file below.
    oInvoices file produced using GetBusinessObjectXmlSchema for oInvoices:
    - <element name="BOM">
    - <complexType>
    - <all>
    - <element maxOccurs="1" minOccurs="0" name="BO">
    - <complexType>
    - <sequence>
    - <element maxOccurs="1" minOccurs="0" name="AdmInfo">
    - <complexType>
    - <all>
      <element maxOccurs="1" minOccurs="0" name="Object" type="long" />
      </all>
      </complexType>
      </element>
    - <element maxOccurs="1" minOccurs="0" name="QueryParams">
    - <complexType>
    - <all>
      <element maxOccurs="1" minOccurs="0" name="DocEntry" type="string" />
      </all>
      </complexType>
      </element>
    - <element maxOccurs="1" minOccurs="0" name="OINV">
    - <complexType>
    - <sequence>
    - <element maxOccurs="unbounded" minOccurs="0" name="row">
    - <complexType>
    - <all>
      <element maxOccurs="1" minOccurs="0" name="DocNum" type="long" />
      <element maxOccurs="1" minOccurs="0" name="DocType" type="string" />
      <element maxOccurs="1" minOccurs="0" name="Handwrtten" type="string" />
      <element maxOccurs="1" minOccurs="0" name="DocDate" type="string" />
      <element maxOccurs="1" minOccurs="0" name="DocDueDate" type="string" />
      <element maxOccurs="1" minOccurs="0" name="CardCode" type="string" />
      <element maxOccurs="1" minOccurs="0" ......
    OInvoices xml file produced using SaveXml
    - <BOM>
    - <BO>
    - <AdmInfo>
      <Object>13</Object>
      <Version>2</Version>
      </AdmInfo>
    - <Documents>
    - <row>
      <DocNum>5</DocNum>
      <DocType>dDocument_Items</DocType>
      <HandWritten>tNO</HandWritten>
      <Printed>tNO</Printed>
      <DocDate>20050116</DocDate>
      <DocDueDate>20050215</DocDueDate>
      <CardCode>C20000</CardCode>.....
    I did not copy all of the xml for each file as it would be too lengthy. 
    Thanks,
    Nancy Walk
    [email protected]

    Hi Nancy,
    I can´t find it right now, but I do remember reading that there were different XML definition versions for SBO objects. In the version 1, table names where used. In the version 2, object names where used. Looks like the schema defines version 2, but SBO is using version 2.
    I will check if I can found where I did read that. Try speaking with someone in SAP and about XML versions, perhaps they could help you with this info.
    Hope helps,
    Ibai Peñ

  • BOL Search/Query Object for Schema Search!.

    Hi All,
    I have to do search for categorization schemas, as the first step I opened the standard schema search component ( GS_MCAT ) and found that the Dynamic Search Object responsible for the same is:   'MC_DynaQSchemaByAttributes'.
    Now, I have 2 questions 4u
    1.  If I run the BOL browser by giving the component set as 'all' I couldnt see this query!. how can I find
    this in BOL/MODEL browser
    2. Is there any standard BOL Search/Query Object on which I can perform a search on Schema based on the product assigned at the categorization level!.
    Any help/hint highly appreciated!,
    Thanks in Advance, Sudeep..

    Also solved.
    As SAP tends to confuse people with the "ALL" component set, ...
    I debugged the "CL_CRM_CATEGO_GENIL" class. Here's the component set you need to load:
        lv_core->start_up( 'ONEORDER' ).

  • How to identify clients in an synchronized object

    Hi All,
    I have two clients( same client run twice) that access same object(methods are synchronized). I want to identify the client in the shared object. If the client access multiple times, I want to identify that it is the same client.
    I tried thread name, thread name is same(�main�) for both the clients.
    Any help appreciated.

    use the method with the threadname, but when starting the thread just change its name to let me say "Thread1" and "Thread2" or something like this. if you are doing this the object can identify the threads

  • Question about using threads and synchronizing objects

    Hi all,
    I am not that familiar and I have 2 questions.
    QUESTION 1
    I have a server which just sits and accepts incomming connections, then I spawn off a new thread which implements Runnable, and then call the run method. But the loop would not iterate, it would just sit inside the run method (which has rather long loop in it). I changed the class to extend Thread and called the start() method, rather than run(), and everything worked out fine.
    Anyone know why this is?
    QUESTION 2
    So I am building a client server chat application where a user can be in multiple chat rooms. I have this personObject which has output/input streams. In the personObject, I create writeObject/ readObject method, which simply does as it implies.
    I figured that I should make these methods synchronized, to ensure things run smoothly. however, when I made a call to readObject, which sat there and waited, and then made a call to writeObject, I would not enter the writeObject method. I took out the synchronized on the writeObject, and everything worked out fine.
    I was under the assumption that synchronizing a method only synchronized on that method, not on the whole class. How come then was I not able to enter the writeObject method?
    The more I think about it, I don't think I need to have these methods synchronized, but I thought it wouldn't hurt.
    Thanks for the help.

    Hi all,
    I am not that familiar and I have 2 questions.
    QUESTION 1
    I have a server which just sits and accepts incomming
    connections, then I spawn off a new thread which
    implements Runnable, and then call the run method.
    But the loop would not iterate, it would just sit
    inside the run method (which has rather long loop in
    it). I changed the class to extend Thread and called
    the start() method, rather than run(), and everything
    worked out fine.
    Anyone know why this is?
    You should still implement Runnable, rather than extending Thread. Like this: Runnable r = new MyRunnable();
    Thread t = new Thread(r);
    t.start(); run() is just another method. Nothing special about it as far as multithreading or anything else goes.
    start() is the method that actually spawns a new thread of execution.
    I was under the assumption that synchronizing a
    method only synchronized on that method, not on the
    whole class. How come then was I not able to enter
    the writeObject method?When you synchronize, you obtain a lock. As long as you hold that lock--until you exit the sync block or call wait()--no other thread can enter that block or any other block that obtains the same lock.
    Two synchronized methods on the same object rely on obtaining the same lock--there's one lock for each object.

  • TRANSFER OBJECTS IN SCHEMA

    I have installed 10g database in our new server and now want to transfer the old data and objects from the existing 9i database from the old server.The tables are already imported from the old 9i database into the new one using the export tool.But the other objects in my schema like procedures and functions are yet to transfered since i am not able to do the export on the user level from the old 9i database (even after running catalog.sql and catexp.sql in my 9i database).Please advise as to how this can be accomplished.
    Thanks
    Jay

    I ran the catexp.sql and catalog.sql scripts logging as sys/as sysdba.I suppose all the views were successfully installed.But i dont know how to verify this.however the export i try to do at the user level fails (when looged as system or sys )due to the following errors:
    1.EXP-00008 ORACLE 942 ERROR ENCOUNTERED
    2.ORA-00942 TABLE OR VIEW DOES NOT EXIST
    3.ORA-00024 EXPORT VIEWS NOT INSTALLED,PLS NOTIFY UR DBA
    thanks
    jay

  • List the count of each schema objects.. schema wise sql query needed

    Hi Friends,
    i need a sql query which has to list the schema name along with the count of schema objects like tables,views,triggers.... order by schemaname
    Regards,
    DB

    Hi
    You can try this option if you use 11g .
    Get all the object types in your db.
    SELECT DISTINCT object_type
                 FROM dba_objects;Then include all the object types in to the below query.
    select *
      from (select owner, object_type, 1 CNT
              from dba_objects ) e
            pivot( sum(CNT) for object_type in
              ( 'INDEX','TYPE','VIEW','LIBRARY','TRIGGER','DIRECTORY','PACKAGE','QUEUE','PACKAGE BODY','TABLE PARTITION','PROCEDURE',
                'WINDOW','CLUSTER','LOB','FUNCTION','CONSUMER GROUP','CONTEXT','RULE','XML SCHEMA','SEQUENCE','INDEX PARTITION','OPERATOR',
                'EVALUATION CONTEXT','SCHEDULE','JOB','SCHEDULER GROUP','LOB PARTITION','JOB CLASS','INDEXTYPE','TABLE','TYPE BODY','RESOURCE PLAN',
                'TABLE SUBPARTITION','UNDEFINED','DESTINATION','SYNONYM','EDITION','PROGRAM','RULE SET' ) )       
    order by owner;Cheers
    Kanchana

  • Finding Invalid objects in schema

    Dear All,
    How to find all invalid objects in an paticular schema
    Regards,
    Raju

    Hello Raju
    SQL> select object_type,count(*) from user_objects where status = 'INVALID'
    2 group by object_type;
    OBJECT_TYPE COUNT(*)
    PACKAGE BODY 4
    PROCEDURE 61
    VIEW 3
    next, as sys
    exec dbms_utility.compile_schema( 'ACCOUNTS' );
    PL/SQL procedure successfully completed.
    then,
    connect accounts
    SQL> select object_type,count(*) from user_objects where status = 'INVALID'
    group by object_type;
    OBJECT_TYPE COUNT(*)
    PACKAGE BODY 1
    PROCEDURE 182
    VIEW 3
    try this
    Ravi
    http://dbaoraclefaqs.blogspot.com/

  • Synchronizing objects between classes?

    so, i ought to know this, but i've never done this in my classes before, so here goes:
    I have an object, call it object A, that i create in a class, call it class B.
    i then pass object A to 2 other classes, class C and class D.
    the object is then changed in class C. Is it possible to detect that change in class D without passing a new copy of the object?
    it seems to me like it should be, and the actual data that changes is another object inside object A, so does that complicate matters?
    when i run test code it works, but it's not working in production.
    the code is way too long to post here.
    any ideas? i REALLY appreciate your time in considering this problem.

    ok, so i figured it out.
    finally i got the correct name of it: shallow and deep copying, after some googling it LOOKED like i was doing it right and yet my example code still said no.
    then i rethought my example, and realized that i was making a certain assumption that, in the end, was not actually true in that case.
    once i reversed that assumption, i realized that the code is working perfectly.
    thanks for the help.

  • Synchronized object problem

    Information on the API specification pages shows that
    to iterate through an ArrayList requires synchronization to avoid ConcurrentModificationException. I have written the code (also found in the Java tutorial) and get a type
    require or } missing error even if I put the code in a method, a solution suggested elsewhere in the forum.
    I want a button to iterate to the next item in the ArrayList.
    Here's the code :
    public class Targets extends javax.swing.JFrame {
    List vocTar =
    Collections.synchronizedList(new ArrayList());
    synchronized(vocTar) {
    Iterator gB = vocTar.iterator();
    The closing brace comes later after much code.
    What's up.

    Can you post the full code. Or maybe send it to
    [email protected]
    I guess this should be relatively easy to crack.
    Best Regards,
    Manish

Maybe you are looking for

  • 'There was a problem connecting to the server' TimeMachine and NAS. How do I fix this?

    When trying to connect my NAS to timemachine it appears in available disks, I select it then it says 'connecting' then displays a message saying "There was a problem connecting to the server". Wondering how to fix this? Thanks

  • SalesForce XI Integration...

    Hi,    We are trying SalesForce-XI Integration using WSDLs. We are facing the following issues:   a. The SalesForce SOAP Calls require a session id string to be passed as part of the SOAP header. This soap header is not visible as part of the message

  • Repository Login Issue

    Hello, I am trying to login into local repository configured newly after the data services installation. Once I entered the system and user details, I can see the list of repositories. But when I try to login to the repository it gives TNS time out e

  • OS X Mtn Lion not compatible?

    I am currently running on 10.6.8, have:   Model Name: MacBook   Model Identifier: MacBook4,1   Processor Name: Intel Core 2 Duo   Processor Speed: 2.4 GHz   Number Of Processors: 1   Total Number Of Cores: 2   L2 Cache: 3 MB   Memory: 2 GB   Bus Spee

  • Instrumental versions falsely matched with non-instrumental versions. Force iTunes not to match?

    I have an album from coldplay with instrumentals that I imported into iTunes. iTunes matched some songs and others were uploaded. But when I listen to the album on my phone, the matched songs are actually the non-instrumental ones. Is there a way to