Importing a Database into existing database.

Hi,
I have a Oracle 8i server in a network, and I had another standalone computer with Oracle 8i Enterprise Edition installed on it. I want to take the backups from the standalone system to the main Server without overwriting the existing database running on it. The Databse is same in both systems(Server & Standalone system). I just want to append the database in the Server with the exported database of the standalone system at intervals of time (i.e. Weekly or monthly)

so u wanted only the incremental data,
either u can try standby database (manually applying archive log files weekly/monthly).
or if you transaction tables not many, u can keep a log and tablewise and insert/delete/update, the same can be replicated in copy of the database
regards

Similar Messages

  • How can I export projects from PMDB1 database into existing PMDB2 database?

    Does datapump handle this? I have been told my only option is XER format but I have thousands of projects to move from one database into another existing database.

    Migrate.bat will migrate an entire database from one platform to another (eg: Oracle to MS SQL SRVR) but for selective projects you would need to move them via PPM Application export (XER/XML). Your other option as someone suggested is to upgrade the entire database schema to a newer version if that is the end goal, but it sounds more like you have two existing database schemas to consolidate.

  • Problems Installing Oracle Metadata Repository into Existing Database

    Folks,
    I'm slowly going through the process of installing the Metadata Repository into a 10g database, using RepCA I've managed to determine all the DB parameters required for setting etc. The only thing RepCA now reports is missing is the Ultrasearch schema & packages.
    I've copied the ultrasearch dirs from the RepCA distribution and placed them in my $ORACLE home dir, I've also attempted to run the admin install script 'wk0setup.sql' which throws out several errors listed below. If anyone has successfully gone through this process on Solaris I would love to hear your about your experience & advice.
    Error 1. =================================================
    User is WKSYS
    ... loading ultrasearch_db.jar
    call sys.dbms_java.loadjava('-v -f -r -s -g PUBLIC $ORACLE_HOME/ultrasearch/lib/ultrasearch_db.jar', '((* wksys) (* public))')
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    oracle.aurora.server.tools.loadjava.ToolsError: Error during loadjava: Failures
    occurred during processing. Check trace file for details
    Error 2 (File Doesn't exist at all) ==============================
    SP2-0310: unable to open file "/oracle/1020a/ultrasearch/admin/wk0launchq.pkh"
    Error 3 (Again the file doesn't exist at all) ========================
    SP2-0310: unable to open file "/oracle/1020a/ultrasearch/admin/wk0launchq.plb"
    ===========================================================
    Regards
    Austin

    Hi guys,
    I have used copy of that package from Oracle Identity Management installation, version 10.1.4.0.1 and have been able to complete manual Ultra Search installation. It's valid in dba_registry. After that I did run RepCA and metadata schemas have been created successfully in existing database, version 10.2.0.2. Be careful about database version, only 10.2.0.2 is certified with Oracle Identity management, so you need to run patch for upgrade to 10.2.0.2.
    Hope this helps.
    Dali
    Message was edited by:
    dallyz7

  • Import Raster image into oracle database

    I am trying to load raster image into oracle spatial 10g. It is a tiff file. I am using Oracle Mapbuilder that comes with oc4j.
    I use Tools Menu -> Import Image to import that image into an oracle table.
    But I get error -
    java.lang.NoSuchMethodError: javax.media.jai.RenderedOp.getNumBands()I
    i am using java 1.5 and i have set path to java media library - jai_codec.jar, jai_codec_depl.jar , jai_core.jar, jai_core_depl.jar
    Pl help..
    Thanks

    ooee i solved it...
    i used jre 1.6 and it works fine...

  • How is the best way to send data from local database into remote database ?

    Hi all,
    I need to send data from local Oracle database into remote oracle database. Both sites connected via 128 kbps frame relay connection.
    The sending need to be done once a week, can be done nightly.
    How is the best way to do this ?
    Thank you very much,
    xtanto

    How is the best way to do this ?How much are you planning to send?
    You can use COPY command. Ensure that you have valid database link between two databases.
    Available options are:
    create - creates a new table. errors out if the destination table exists.
    replace - drop the destination table and re-creates with data.
    insert - inserts data if the destination table exists.
    append– appends data into an existing table.
    use set arraysize 5000 -The arraysize specifies the number of rows that SQL*Plus will retrieve from the database at one time.
    copy from scott/[email protected] to scott/[email protected] create new_emp using select * from emp;

  • Convhow to erting MySQL database into oracle Database

    Hi,
    how to import/convert MySQL database/tables into oracle database/table.
    i need SQL code or any import wizard technique.
    Thnxz

    Please refer:
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html

  • Restore Exchange 2010 Database into Restore Database in stages

    I have a full backup and a number of incremental backed up using TSM.
    I am trying to restore a database into a recovery DB so that I can mount an old version of a users mailbox.
    To restore the full backup and all the subsequent incremental backups up to the point where the restore is required would take over 400GB, but we only have a 200GB drive to restore to.
    It seems that it must be possible to:
    Restore full backup + some incrementals
    perform recovery to replay logs
    Delete replayed logs
    restore more logs
    perform recovery to replay logs
    Delete replayed logs
    ... repeat from step 4 until the database is at the right time
    When I get to step 5 and try to replay the next set of logs, I seem to get various errors.
    Is what I am trying to do actually possible? Apply logs in stages to a database file?
    Kind Regards,
    Shane

    Hello Shane,
    I don't think it is possible to replay the transaction logs manually once it is in Clean Shutdown state from a previous incremental backup recovery and replay. Log Required field of the database will be set to 0-0 once replay/recovery is completed and database
    is set to clean shutdown state (you can verify with eseutil /mh dbpath) and then you won't be able replay the transaction logs anymore...
    Probably you could just restore logs to a temp location on network attached drive and perform full restore (full + all incremental)...
    For some reason you have to invoke the hard recovery manually you can use eseutil /cc "temp path of logs"
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • R0 Rollback Segment in Import of 10gR2 into 11gR2 Database

    I have a new install of Oracle Database Server Enterprise Edition 11.2.0.3.6 on AIX 7.1.
    I used the DBCA to create two databases and used export datapump and import datapump to upgrade two 10gR2 database to 11gR2.
    One of the import logs includes the following messages:
    Processing object type DATABASE_EXPORT/ROLLBACK_SEGMENT
    ORA-39083: Object type ROLLBACK_SEGMENT failed to create with error:
    ORA-02221: invalid MAXEXTENTS storage option value
    Failing sql is:
    CREATE ROLLBACK SEGMENT "R0" TABLESPACE "SYSTEM" STORAGE(INITIAL 131072 NEXT 131072 MINEXTENTS 2 MAXEXTENTS 2147483645)
    I verified that the source database has R0 with maxextents of 2147483645.
    I can copy and modify the CREATE ROLLBACK statement and lower the value assigned to MAXEXTENTS, or use MAXEXTENTS UNLIMITED, then run the command in the target database.
    In light of the fact that the DBCA did not create R0 in my two 11gR2 databases, I want to know if I still need to create R0 in the one that showed the error in the import log. Has anyone else noticed the disappearance of R0?
    Here are the rollback segments that exist in the 11gR2 database at this time:
    SQL> Select SEGMENT_NAME, OWNER, TABLESPACE_NAME, INITIAL_EXTENT, NEXT_EXTENT, MIN_EXTENTS, MAX_EXTENTS, PCT_INCREASE, STATUS
    from SYS.DBA_ROLLBACK_SEGS;
    SEGMENT_NAME OWNER TABLESPACE_NAME INITIAL_EXTENT NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS PCT_INCREASE STATUS
    SYSTEM                         SYS       SYSTEM     114688 57344 1 32765 ONLINE
    _SYSSMU1_3638931391$ PUBLIC UNDOTBS1 131072 65536 2 32765 ONLINE
    _SYSSMU2_3033359625$ PUBLIC UNDOTBS1 131072 65536 2 32765 ONLINE
    _SYSSMU3_2670780772$ PUBLIC UNDOTBS1 131072 65536 2 32765 ONLINE
    _SYSSMU4_286801445$ PUBLIC UNDOTBS1 131072 65536 2 32765 ONLINE
    _SYSSMU5_1738828719$ PUBLIC UNDOTBS1 131072 65536 2 32765 ONLINE
    _SYSSMU6_3548494004$ PUBLIC UNDOTBS1 131072 65536 2 32765 ONLINE
    _SYSSMU7_700714424$ PUBLIC UNDOTBS1 131072 65536 2 32765 ONLINE
    _SYSSMU8_2755301871$ PUBLIC UNDOTBS1 131072 65536 2 32765 ONLINE
    _SYSSMU9_2087597455$ PUBLIC UNDOTBS1 131072 65536 2 32765 ONLINE
    _SYSSMU10_3267518184$ PUBLIC UNDOTBS1 131072 65536 2 32765 ONLINE
    11 rows selected.
    Thanks,
    Bill

    Srini,
    Both the 10gR2 and 11gR2 versions of the database are using automatic undo management.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> show parameter undo
    NAME TYPE VALUE
    _undo_autotune boolean TRUE
    undo_management string AUTO
    undo_retention integer 14400
    undo_tablespace string UNDOTBS1
    SQL>
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show parameter undo
    NAME TYPE VALUE
    undo_management string AUTO
    undo_retention integer 14400
    undo_tablespace string UNDOTBS1
    SQL>
    Do you know anything about Oracle no longer automatically creating R0 in 11gR2?
    Thanks,
    Bill

  • Importing MYSQL dump into Oracle database

    Hi,
    I want to import MYSQL database dump into Oracle 9i database.
    Can any body suggest as how to proceed for this.
    thanks in advance

    if you're referring to dump generated by mysqldump then you have a lot of work to do since Oracle does not support sql syntax in the dump file.
    alternatively, you can export each table into .csv file using phpMyAdmin and then load that .csv using SQL Loader or external table.

  • Importing IPTC data into LR database

    I have a many jpeg images on my HD that have basic IPTC data incorporated. Just to set the scene, in the system I used to set this up, I have a short 'Title', such 'Peter enjoying a meal in Venice" and a more wordy description, such as 'This restaurant overlooks the Grand Canal with St Maggiore on the other side. Superb meal consisting of: etc'. For IPTC transalation, I set 'Title' = IPTC Headline (and for a reason to do with the system, IPTC Object Name); 'Description' = IPTC Caption/Abstract. (These are the IPTC tags provided by the system).
    For importing into LR, I have set up an IPTC preset to include Basic Info - Caption, IPTC Content - Headline, IPTC Status - Title. The successfully imports my short 'Title', but NOT the description.
    Can anyone please advise how I can import the description.
    Peter

    You can store the list of data from the Excel sheet that you have read already into an ArrayList
    Then go through the JDBC tutorial, and learn how to insert a single record into the table.
    After you understand how to insert a single record, you can iterate through the ArrayList of data and insert them into the table in the database.
    If you know JDBC, see if you can use OR Mapping frameworks like Hibernate or iBatis, they make it very easy to manage database in Java.

  • Cannot insert data from local database into remote database using subquery

    I have two oracle databases on different host.
    One is version 8i in Host A and the other is 9i in Host B.
    First, I try to create a dblink in 8i to 9i, but it fail.
    Then, I create a dblink in 9i to 8i, it success.
    I have already tried some select statement in 9i to view the table in 8i, which is success and that means the dblink is really work.
    The sql statement is like
    Select * from [email protected]
    Then I have tried running some INSERT statement in 9i, which is copy data from table 1 in 8i to table 2 in 8i, both tables are in 8i. The sql statement is like
    Insert INTO [email protected](field1, field2)
    select field1, field2
    from [email protected]
    This also success.
    Also, I have tried to use the following INSERT statement
    Insert INTO [email protected](field1, field2) values ('XXX', 'XXX)
    This also success.
    However, when I try to insert data from table in 9i to table in 8i using the following INSERT statement, it failed.
    Insert INTO [email protected](field1, field2)
    select field1, field2
    from table1
    The statement can execute, but all the rows inserted with every field value equal to NULL. I have tried to run the select part, it can return the data. But when I run the INSERT statement above, the value inserted into table2 is all equal to NULL.
    One more thing, I discover that the databases are using different NLS_CHARACTERSET
    9i is AL32UTF8
    8i is WE8ISO8859P1
    Is this relevant to my problem?
    Does anyone know the solution about this problem?
    Thanks!!

    How is the best way to do this ?How much are you planning to send?
    You can use COPY command. Ensure that you have valid database link between two databases.
    Available options are:
    create - creates a new table. errors out if the destination table exists.
    replace - drop the destination table and re-creates with data.
    insert - inserts data if the destination table exists.
    append– appends data into an existing table.
    use set arraysize 5000 -The arraysize specifies the number of rows that SQL*Plus will retrieve from the database at one time.
    copy from scott/[email protected] to scott/[email protected] create new_emp using select * from emp;

  • No Clue where to start: Importing Excel file into existing oracle tables

    I have an excel document that has data organized in formats according to the columns of tables we have. Our database is 10 G and developers only have clients such as toad to manipulate database.
    There are two columns that are sequentially created using tbl.NEXTVAL in two different tables. They are called LEAD_ID and CUSTOMER_ID in LEADS and CUSTOMER table obviously these are not included in the file.
    CREATE tbl CUSTOMER ( int CUSTOMER_ID, varchar(40) FirsName, varchar(40) LastName )
    CREATE tbl LEADS ( int LEAD_ID, int CUSTOMER_ID, varchar(40) notes, varchar(40) status )
    The excel file is organized in cells that is consistent..
    Where do I start, how would I do it? and I am being asked to do it by tomorrow and I have no clue..Can I do this with oracle itself or I have to read the file through Java?
    Please give me some idea
    Thank you,

    Thanks for your suggestion with checking the log and bad file..It helped and was able to insert..
    Actually this is a real project.. and the actual data is in the hundreds or more.. The problem was I had put sysdate in double quotes and should have been without them. It is now inserting into the table.. however If I can ask one more question.. I have actually multiple tables that I need to insert into from an excel file which is organized in columns..
    For example.. let's say I have a row in the excel file as
    Claim_Number FirstName LastName
    A single insert would be inserting into four tables (CLAIMS, CUSTOMERS, LEADS, etc..)
    first on CLAIMS table that only takes the Claim_Number
    Second CUSTOMER table, that takes the Claim Number and Customer names ( FIRST and LAST)
    Third could be inserting the LEADS table with a sequenced lead number along with the customer name and claim number..
    So I would need to reuse the values three or four times for a single record to be inserted..
    Can you give me some idea?
    And also I have columns like ACCOUNT_TYPE that would be have same value always more like a constant or other columns like UPPER_FIRSTNAMEwith result that comes from a sql function with Uppse case of the other column.. which is just the upper case letter version of FIRST_NAME column.. and it won't be read from the input file.. How would I take care of such issues like the sysdate .. I tried the following shown in bold but didn't work..
    LOAD DATA
    INFILE 'c:\trex2.csv'
    BADFILE 'c:\trexbad.txt'
    APPEND
    INTO TABLE CC_CUSTOMERS
    FIELDS TERMINATED BY ","
    TRAILING NULLCOLS
         LAST_UPDATE_DATE sysdate,
         CUSTOMER_NUMBER "CC_CUSTOMERS_S.NEXTVAL",
         CUSTOMER_ID "CC_CUSTOMERS_S.NEXTVAL",
    UPPER_FIRSTNAME UPPER(:FIRST_NAME) ,
    ACCOUNT_TYPE CONSTANT 'Residential'
         FIRST_NAME,
         LAST_NAME
    Thank you in advance..

  • Re-importing word document into existing project

    2. I imported a Word (Windows XP) doc to create my robohelp
    project.
    I am new to RoboHelp, so please bear with me...
    I had imported a word document into a project for HTML Help.
    I had mapped some IDs to create context sensitive help to work with
    our application. When the word doc is updated and I re-import it,
    the topics are duplicated in the TOC. (I normally get updates of
    this document from another department and we need to convert it to
    HMTL help for our application).
    How do I fix this or prevent this from happening? (Other than
    delete the old project, create a new project, and import updated
    word document since I would have to remap all the IDs again.)
    Thank you for your help.

    Sorry, I have to disagree with your estimate, for the main
    reason that all those reviewers will be manipulating the Word
    document with their own formatting quirks, which will only serve to
    corrupt the doc file and make its repeated importation increasingly
    problematic.
    Remember, you're looking to convert a binary file with tons
    of macros into HTML code, essentially a flat text file. I suspect
    that remapping the IDs will end up being the least of your problems
    as you go further into repeated review cycles.
    Good luck,
    Leon

  • Problems importing new values into existing hierarchy

    I have a hierarchy setup with name and code fields. I have already imported the majority of the records and manually setup the hierarchy in Data Manager (as we never had hierarchy setup in the past). I now have 100 or so new entries to add to this table, but it will not let me add the new values to the hierarchy table in Import Manager. I can map the code field fine, but when I try to map the name field, the Add button is grayed out no matter what I try to do. What am I doing wrong?
    Thanks!

    Hi Ryan,
    Kindly go through the below links to understand Hierarchy importing in MDM:
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=mdmhierarchyimporting&cat=sdn_all
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=mdmhierarchyimporting&cat=sdn_all
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0e122d4-40ab-2a10-4a82-fe7db431fd5e
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903c9530-52be-2a10-7d97-a48dc8082905
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/80aa6fa7-4dbe-2a10-8b8f-8f1ce6fa2f95
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/mdm/how%2bto%2bimport%2bhierarchy%2bin%2bmdm
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Migrate a database into a different SID

    hi,
    I need to migrate a 10g database into an 11gR2 on same Red Hat Linux platform (although different servers with different versions of Linux). The difference between the two databases however is the SID, the new one has a different SID which means that the datafiles will be named differently (as our datafile names include the SID) otherwise everything else is the same..
    I propose to take the following steps:
    - install 11gR2 on the new server
    - create the 11gR2 database with new SID using DBCA
    - full export 10g database
    - full import dump file into 11gR2 database.
    I however do not have experience of how this will work with respect to the full import where the datafiles are named differently. For example TABLESPACE TEST in the source database has datafile TEST_SOURCE.dbf but the same TABLESPACE TEST in the target database will have datafile TEST_TARGET.dbf
    Will this work? Will all the data in the source database be correctly imported into the new database?
    thanks

    For example TABLESPACE TEST in the source database has datafile TEST_SOURCE.dbf but the same TABLESPACE TEST in the target database will have datafile >TEST_TARGET.dbfAre you going to create tablespace manually on target or you want it should be created by datapump.
    - import work fine if tablespace name is same with different datafile however tablespace should be created manually on target before import.
    - if you want datapump will create tablespace for you during full import then try REMAP_DATAFILE clause.
    also check How to consolidate data files using data pump when migrating 10g to 11g?

Maybe you are looking for