Export/import to clone database -- please advise

Hi All,
Need help especially from exports that are strong in export/import.
can someone advise me how to use export/import to clone a database?
I know how to clone database using cold backup and hot backup.
But wish to know the full steps in using export/import to do cloning.
I'm going to do a full export on my "TEST" database, drop the database, create a database and import using the full export.
After doing a full database export, full=y. What are the steps to follow. Have a few doubts about it.
1) export the database (full=y)
2) drop the database
3) re-create the database, will be using the same name "TEST".
4) create the users (IDs created by DBA, eg: schemas), tablespace and datafiles. --> import doesn't do it right?
5) do a full import (full=y). In this step, will i encounter any problems? As in understand that all the oracle-owned objects (example SYSTEM, SYS, AUX) are already in the newly created database, will import full=y cause any problems?
6) do i have to re-create the roles, SYNONYMS and grant role,sys,obj privileges to IDs not created by oracle. (example schema owner)
in short i would like to know what EXPORT will export and not export
what IMPORT will import and not import.
Please advise.

Hi zetabouy,
thanks for ur input, definately helpful for me.
just to confirm. am i right to say that only a full database level (full=y) export/import will export/import out roles as well as public synonyms? because i have tried also exporting a user from the database, and imported that user into a different database, but public synonyms and roles were not imported.
one more question:
For example we are going to do port data from production to uat database using export and import for only the schema.
After exporting from production with such syntax (owner=OWNER01),
is is better to drop all objects beloging to the schema owner in UAT before importing it (touser=OWNER01, ignore=y) using the production dumpfile?
I'm asking this question as I'm afraid that if we did not drop all the pl/sql objects in UAT database, the updated procedures/fuctions/triggers exported from the production database will not get imported to the UAT database as UAT database have the same procedures/fuctions/triggers names (but not updated code) .
will profiles be exported and imported too duing full database level exp/imp?
please kindly advise.
thanks
Message was edited by:
chew

Similar Messages

  • Export/import to/from database

    hi,
    i do not know what is this for. i read the help but still no idea.
    i know to use export/import to/from memory id and also set/get but not export/import to/from database.
    1) what help says it stores data cluster? what is data cluster
    2) can have example of export/import to/from database?
    3) what is the different for export/import to/from memory id and database?
    thanks

    Hi,
    1) A data cluster is a set of data objects grouped together for the purpose of storage in a storage medium(Like database, local memory or shared meomory etc), which can only be edited using ABAP statements like EXPORT, IMPORT and DELETE.
    2) Suppose you want to export the data in a internal table to database.
    Here TABLE_ID is the identifer of your data cluster. You are exporting your data to a SAP table INDX and giving it an ID (TABLE_ID in this case and this ID you are giving it an area by name XY where your data will be stored). EXPORT tab = itab
      TO DATABASE indx(XY)
      CLIENT '000'
      ID 'TABLE_ID'.   
    You can get this data as follows.
    IMPORT tab = itab
      FROM DATABASE indx(xy)
      CLIENT '000'
      ID 'TABLE_ID'.
    3) The difference is simple when you use MEMORY ID the data you export is stored in the application server MEMORY where as in the case of DATABASE it is stored in the database.
    Regards,
    Sesh

  • Taking export/import of full database without data

    What would be the parameters to take expoert/import for DB without Data?

    i did ignore=y but still import is ending like this.
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE INDEXTYPE TO "EBS_XE_REPO4""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO4' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE OPERATOR TO "EBS_XE_REPO4""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO4' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE PROCEDURE TO "EBS_XE_REPO4""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO4' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE SEQUENCE TO "EBS_XE_REPO4""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO4' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE SESSION TO "EBS_XE_REPO4""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO4' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE TABLE TO "EBS_XE_REPO4""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO4' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE TRIGGER TO "EBS_XE_REPO4""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO4' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE TYPE TO "EBS_XE_REPO4""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO4' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE SESSION TO "EBS_XE_REPO_USER""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO_USER' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE ANY TYPE TO "EBS_XE_REPO5""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO5' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE ANY TYPE TO "EBS_XE_REPO6""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO6' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT UNLIMITED TABLESPACE TO "EBS_XE_REPO5""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO5' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT UNLIMITED TABLESPACE TO "EBS_XE_REPO6""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO6' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE PROCEDURE TO "EBS_XE_REPO2""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO2' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE TYPE TO "EBS_XE_REPO2""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO2' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT ALTER SYSTEM TO "EBS_XE_REPO2""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO2' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE CLUSTER TO "EBS_XE_REPO2""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO2' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE INDEXTYPE TO "EBS_XE_REPO2""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO2' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE OPERATOR TO "EBS_XE_REPO2""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO2' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE SEQUENCE TO "EBS_XE_REPO2""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO2' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE TABLE TO "EBS_XE_REPO2""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO2' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT CREATE TRIGGER TO "EBS_XE_REPO2""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO2' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT "CONNECT" TO "EBS_XE_REPO""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT "CONNECT" TO "EBS_XE_REPO2""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO2' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT "CONNECT" TO "EBS_XE_REPO_ALR""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO_ALR' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT "CONNECT" TO "EBS_XE_REPO4""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO4' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT "CONNECT" TO "EBS_XE_REPO6""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO6' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT "CONNECT" TO "EBS_XE_REPO5""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO5' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT "RESOURCE" TO "EBS_XE_REPO5""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO5' does not exist
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT "RESOURCE" TO "EBS_XE_REPO6""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'EBS_XE_REPO6' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "EBS_XE_REPO" DEFAULT ROLE ALL"
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'EBS_XE_REPO' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "EBS_XE_REPO2" DEFAULT ROLE ALL"
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'EBS_XE_REPO2' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "EBS_XE_REPO_ALR" DEFAULT ROLE ALL"
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'EBS_XE_REPO_ALR' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "EBS_XE_REPO5" DEFAULT ROLE ALL"
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'EBS_XE_REPO5' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "EBS_XE_REPO6" DEFAULT ROLE ALL"
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'EBS_XE_REPO6' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "EBS_XE_REPO_USER" DEFAULT ROLE ALL"
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'EBS_XE_REPO_USER' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "EBS_XE_REPO4" DEFAULT ROLE ALL"
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'EBS_XE_REPO4' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "EBS_XE_REPO" QUOTA UNLIMITED ON "EBS_XE_REPO_INDX" QUOTA UNLIMI"
    "TED ON "EBS_XE_REPO_DATA""
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'EBS_XE_REPO' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "EBS_XE_REPO2" QUOTA UNLIMITED ON "EBS_XE_REPO2_INDX" QUOTA UNLI"
    "MITED ON "EBS_XE_REPO2_DATA""
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'EBS_XE_REPO2' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "EBS_XE_REPO_ALR" QUOTA UNLIMITED ON "EBS_XE_REPO_ALR_INDX" QUOT"
    "A UNLIMITED ON "EBS_XE_REPO_ALR_DATA""
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'EBS_XE_REPO_ALR' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "EBS_XE_REPO4" QUOTA UNLIMITED ON "EBS_XE_REPO4_INDX" QUOTA UNLI"
    "MITED ON "EBS_XE_REPO4_DATA""
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'EBS_XE_REPO4' does not exist
    IMP-00017: following statement failed with ORACLE error 959:
    "ALTER USER "EBSJM" QUOTA UNLIMITED ON "EBSJM_INDEX" QUOTA UNLIMITED ON "EBS"
    "JM_DATA""
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'EBSJM_INDEX' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "EBS_XE_REPO6" QUOTA UNLIMITED ON "EBS_XE_REPO6_INDX" QUOTA UNLI"
    "MITED ON "EBS_XE_REPO6_DATA""
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'EBS_XE_REPO6' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "EBS_XE_REPO5" QUOTA UNLIMITED ON "EBS_XE_REPO5_INDX" QUOTA UNLI"
    "MITED ON "EBS_XE_REPO5_DATA""
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'EBS_XE_REPO5' does not exist
    . importing EBS_ADMIN's objects into EBS_ADMIN
    . importing EBS_XE_REPO's objects into EBS_XE_REPO
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    . importing EBS_XE_REPO2's objects into EBS_XE_REPO2
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    . importing EBS_XE_REPO_ALR's objects into EBS_XE_REPO_ALR
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    . importing EBS_DWH's objects into EBS_DWH
    . importing EBS_XE_REPO4's objects into EBS_XE_REPO4
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    . importing PERFSTAT's objects into PERFSTAT
    . importing EBS_XE_REPO6's objects into EBS_XE_REPO6
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    . importing EBS_XE_REPO5's objects into EBS_XE_REPO5
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    . importing SYSTEM's objects into SYSTEM
    . importing WMSYS's objects into WMSYS
    . importing TOAD's objects into TOAD
    . importing EBS_REPO's objects into EBS_REPO
    . importing EBS_STAGE's objects into EBS_STAGE
    . importing EBS_XE_REPO's objects into EBS_XE_REPO
    "ALTER SESSION SET CURRENT_SCHEMA= "EBS_XE_REPO""
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    IMP-00000: Import terminated unsuccessfully

  • Export /Import of Portal -Urgent -Attn Product Mgr Group

    I m planning to move my current portal database to other box (Win2000-> HP)and keeping apache and portal tec stack on current box.
    Which of following method is safe and tested.
    1. Export whole data base (8.1.7.3) and import it as a full data base on target box.
    2.Or export it user wise.All users ,specially portal%.
    Please advice how to clone or migrate from deployement to test server.Different documentaion says different things.In document named "Import export in portal', they say portal30 can not be exported.While in Document "Migration of Portal Across Datbases" they suggested to export all schemas related to portal.In portal forum some users mentioned that they migrated from deployment to test/development using full database export ,saying that oracle suggests this, but there is no recovery method for it.
    My second objective is to seprate apache from database.Keeping existing apache on NT box (current instance) and data(portal schemas) on HP box.
    Is there any thing else to be done except modifying DAD on current apache.
    Thanks
    Sarvesh

    You can do the following to export your portal objects alone (I am talking wrt 30982) . Do it in that order please.
    1. Go to the WWU directory where you will find the scripts related to export/import.
    2. First run the SSOEXP utility for exporting all the users and groups. (The result is a dump say sso.dmp)
    2. Next, run the SECEXP utility for exporting all the previliges of all the users on different objects. (The result is sec.dmp)
    3. Then run the APPEXP utility for exporting your applications, you could give the "-security" option here as well (The result is app.dmp)
    4. Run the PAGEEXP utility for exporting your pages (This gives pages.dmp).
    5. Lastly run the CONTEXP utility for exporting your content areas (This results in contarea.dmp)
    These five dumps can be supplied to the corresponding import utilities for importing your stuff.
    But, if you are planning to export/import the entire database, then please enquire with the RDBMS migration experts about this.
    Hope this helps.

  • Export & import of sap sid schema for building a new system

    Hi,
    We have a quality BW system which runs on HANA SPS07 (Revision 73). The database contains many schemas in addition to sap<sid>, the rest of the schemas are used through native HANA and are very huge.
    We are planning to build a new test BW system by system copy method from quality BW systems. We dont want the export/import of entire database as it will take a long time because of huge native HANA schemas, also the schemas other than sap<sid> are not required in the target. Please let me know how to copy only the sap<sid> schema to the new database.
    Thanks & Regards,
    Saravanan

    Hi Saravanan,
    Try with rigth clic on schema -> Export,
    Select CSV format, choose a directory.
    And for import the schema use the follow query:
    import "old_schema"."*" as CSV from 'Directory' with replace threads 10 rename schema "old_schema" to "NEW_schema_name";
    Regards.
    Ferando.

  • Schema export/Import

    Will schema export/import work if database is not open?

    user503988 wrote:
    Will schema export/import work if database is not open?NO!

  • GUI Export/Import Dump feature?

    Will SQL Developer ever have a GUI Export/Import wizard. Right now we use the exp/imp DOS commands to acheive this. It would be nice to have a GUI guide you through the process in SQL Developer.
    Thanks
    Alex

    Sorry I could not respond earlier. This week has been absolutely CRAZY 4 me.
    What I'd like to see (in addition to what Tony just mentioned above) is a Wizard kind of interface that lets me export/import an entire database/schema/table etc. I should be able to select the from and to character set. I should have all the options available in the current command line exp/imp utility (but in a good GUI interface). I'm just pasting all the command line options currently available with exp/imp below. Some of these options can be permanent settings which can be specified somewhere in the preferences. The things that change with each export or import like userid etc.. can be options on the wizard.
    In addition to that if you have sql*loader control file also that would make it a great tool indeed!
    exp
    Keyword Description (Default)
    USERID username/password
    FULL export entire file (N)
    BUFFER size of data buffer
    OWNER list of owner usernames
    FILE output files (EXPDAT.DMP)
    TABLES list of table names
    COMPRESS import into one extent (Y)
    RECORDLENGTH length of IO record
    GRANTS export grants (Y)
    INCTYPE incremental export type
    INDEXES export indexes (Y)
    RECORD track incr. export (Y)
    DIRECT direct path (N)
    TRIGGERS export triggers (Y)
    LOG log file of screen output
    STATISTICS analyze objects (ESTIMATE)
    ROWS export data rows (Y)
    PARFILE parameter filename
    CONSISTENT cross-table consistency(N)
    CONSTRAINTS export constraints (Y)
    OBJECT_CONSISTENT transaction set to read only during object export (N)
    FEEDBACK display progress every x rows (0)
    FILESIZE maximum size of each dump file
    FLASHBACK_SCN SCN used to set session snapshot back to
    FLASHBACK_TIME time used to get the SCN closest to the specified time
    QUERY select clause used to export a subset of a table
    RESUMABLE suspend when a space related error is encountered(N)
    RESUMABLE_NAME text string used to identify resumable statement
    RESUMABLE_TIMEOUT wait time for RESUMABLE
    TTS_FULL_CHECK perform full or partial dependency check for TTS
    TABLESPACES list of tablespaces to export
    TRANSPORT_TABLESPACE export transportable tablespace metadata (N)
    TEMPLATE template name which invokes iAS mode export
    imp
    Keyword Description (Default)
    USERID username/password
    BUFFER size of data buffer
    FILE input files (EXPDAT.DMP)
    SHOW just list file contents (N)
    IGNORE ignore create errors (N)
    GRANTS import grants (Y)
    INDEXES import indexes (Y)
    ROWS import data rows (Y)
    LOG log file of screen output
    FULL import entire file (N)
    FROMUSER list of owner usernames
    TOUSER list of usernames
    TABLES list of table names
    RECORDLENGTH length of IO record
    INCTYPE incremental import type
    COMMIT commit array insert (N)
    PARFILE parameter filename
    CONSTRAINTS import constraints (Y)
    DESTROY overwrite tablespace data file (N)
    INDEXFILE write table/index info to specified file
    SKIP_UNUSABLE_INDEXES skip maintenance of unusable indexes (N)
    FEEDBACK display progress every x rows(0)
    TOID_NOVALIDATE skip validation of specified type ids
    FILESIZE maximum size of each dump file
    STATISTICS import precomputed statistics (always)
    RESUMABLE suspend when a space related error is encountered(N)
    RESUMABLE_NAME text string used to identify resumable statement
    RESUMABLE_TIMEOUT wait time for RESUMABLE
    COMPILE compile procedures, packages, and functions (Y)
    STREAMS_CONFIGURATION import streams general metadata (Y)
    STREAMS_INSTANTIATION import streams instantiation metadata (N)
    The following keywords only apply to transportable tablespaces
    TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
    TABLESPACES tablespaces to be transported into database
    DATAFILES datafiles to be transported into database
    TTS_OWNERS users that own data in the transportable tablespace set
    Thanks for the quick response,
    Regards
    Alex

  • SAP Export/Import via R3load

    Hello,
    SAP recommended a sorted export/import for oracle databases. A unsorted export/import ist very very quicker than a sorted export/import.
    very quicker means sorted = eg. 56 hours and unsorted eg. 12 hours.
    Is there any problems if i take the unsorted export?
    regards,
    stefan

    Hello Stefan,
    >> SAP recommended a sorted export/import for oracle databases
    That fact relies on database internal facts like clustering factor of indexes to the table. You will benefit of a sorted export in cases of primary indexes access and so on... but this topic is much bigger than your question.
    >> very quicker means sorted = eg. 56 hours and unsorted eg. 12 hours.
    Where did you get this values from? You can split big tables or packages ... or define parallel access paths and so on... and it depends on your database configuration (sort areas, PGA, etc..)
    I have done some migrations/exports with distmon... and optimized it manually ... so i got from round about 72 hours (normal export with some split packages) to only 12 hours. I have done only sorted exports.
    >> Is there any problems if i take the unsorted export?
    Some tables must be exported sorted (for example cluster tables) - have a look at sapnote #954268 ... but generally there are no "problems".
    If you have a BW system... some rules are changing...
    @ Markus:
    >> You mean the usage of "R3load -loadprocedure fast"? Or how do you do the "unsorted unload"?
    The option "loadprocedure fast" has nothing to do with the unload process. It speeds up the import (insert) by bypassing the buffer cache. Refer to sapnote #1045847 and the following link:
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96524/c21dlins.htm
    Regards
    Stefan

  • Export and import Oracle 10G database

    Hello all
    Can anyone tell me once for all how can i backup oracle 10G database and restore it in other computer (export and import)
    thanks alot
    Ron

    Do you can access to metalink?
    If not, I copy an paste this doc's....
    Doc ID: Note:10767.1
    Subject: How to perform FULL System Export/Imports
    Type: BULLETIN
    Status: PUBLISHED
    Content Type: TEXT/X-HTML
    Creation Date: 18-APR-1994
    Last Revision Date: 30-AUG-2002
    Purpose
    This article highlights some important points to consider when performing
    a Full System Export and Import.
    Scope and Application
    It is intended to assist users performing FULL System Exports and Imports.
    A Full System Export and Import is a useful way to replicate or clean up
    a database. Please note the following guidelines when performing a Full
    System Export and Import:
    1. When performing the import, ensure you are pointing at the correct
    instance. Always check values for the SID and two task driver before
    proceeding.
    *Note:   On Unix systems, just entering a sub-shell, such as using
    C-shell, can change the database that the import would work
    against.
    2. When possible, it is advisable to take a physical copy of the
    exported database and the database you intend to import into before
    starting the import. This ensures any mistakes are reversible.
    3. NEVER run a FULL SYSTEM IMPORT on a machine that has more than one
    database UNLESS you are 100% sure all tablespaces have been
    pre-created. A full import will create any undefined tablespaces
    using the same datafile names as the exported database. There are
    situations where this is very dangerous:
    -> If the datafiles belong to ANY other database, they will be
    CORRUPTED. This is especially true if the exported database is
    on the same machine, because its datafiles will be re-used by
    the database you are importing into.
    -> If the datafiles have names that clash with existing operating
    system files.
    4. When exporting, it is advisable to also produce a report showing
    information you may need before / after the import:
    -> List the tablespaces and datafiles
    -> List the rollback segments
    -> List a count, by user, of each object type such as tables,
    indexes, etc.
    This enables you to ensure that tablespaces have been pre-created
    and to check the success of the import after it is complete.
    5. If you are creating a completely new database from an export, remember
    to create an extra rollback segment in SYSTEM, and make this available
    in the init.ora file before proceeding with the import.
    6. There are some versions of export that do not retain sequence numbers
    correctly. It is advisable to select next_value for each sequence
    after the export so that these can be checked after import.
    Following these guidelines will help you to avoid major problems.
    Doc ID: Note:174226.1
    Subject: How To Copy an Oracle Database To Another Machine
    Type: HOWTO
    Status: PUBLISHED
    Content Type: TEXT/X-HTML
    Creation Date: 12-OCT-2001
    Last Revision Date: 01-OCT-2003
    goal: How to copy an Oracle database to another machine
    fact: Oracle Server - Enterprise Edition
    fix:
    Pre-requisites: The copy is between 2 machines, both have to be on the same OS
    and have to have exactly the same database version installed.
    1. Make sure the database you want to copy was closed with a SHUTDOWN IMMEDIATE,
    SHUTDOWN NORMAL or SHUTDOWN TRANSACTIONAL.
    2. Copy init.ora and control files to create instance and be able to go in
    mount mode. Check the init.ora for the locations where the controlfiles have
    to be, if those locations are not valid on the machine put the control files on
    different places and adjust the init.ora accordingly.
    3.a. Copy the datafiles (all of them).
    b. Copy the redo-logfiles (all of them).
    4.a. (Unix only) Set the environment variables:
    ORACLE_SID - set to the database name you wish to create
    ORACLE_HOME - set to full pathname of the Oracle system home directory
    PATH - needs to include $ORACLE_HOME/bin
    b. (NT/2000 only) Do 'set ORACLE_SID=<SID>'
    Use oradim to create the service for the instance. For more information
    on oradim please refer to (the part that refers to creating a new instance):
    Note:68720.1 Creating a new 7.3, 8.0, 8.1 Instance/Database
    5. Use servermanager (check the name to use for your version of oracle) or
    sqlplus (version 9i and above) to startup the database in mount mode.
    Do
    CONNECT INTERNAL/<PASSWORD>
    then
    STARTUP MOUNT
    Then do a rename of the copied datafiles if they are not in the same path as on
    the other machine. For all the files that are in the result of the query:
    SELECT NAME FROM V$DATAFILE;
    do
    ALTER DATABASE RENAME FILE '<oldfullpath>\<filename>' to <
    newfullpath>\<filename>';
    6. Query the datadictionary for the old location of the redolog files using:
    SELECT MEMBER FROM V$LOGFILE;
    If the new place is not the same as the old do:
    ALTER DATABASE RENAME FILE '<oldfullpath>\<redologfilename>' to &
    lt;newfullpath>\<redologfilename>';
    7. Now open the database:
    ALTER DATBASE OPEN;
    ******************************************************************

  • System copy using SAPInst(Export Import database Independent prcoess failed

    Hello ,
    I am doing a System copy using SAPInst export/import process .
    Source system : SAP Netweaver'04( BW 3.5 , Kernel : UC 640 ,Patch level 196 )
    Export process fails at Phase 2 -  Database Export at R3load jobs running 1,waiting 0 . Below is the log details
    SAPSDIC.log
    (EXP) INFO:  entry for BAPICONTEN                        in DDNTT is newer than in DDNTT_CONV_UC: 20040211101817 > 20000621155733
    (EXP) INFO:  entry for BAPICONTENT255                    in DDNTT is newer than in DDNTT_CONV_UC: 20040211101817 > 20031127161249
    (EXP) INFO:  entry for BAPICONVRS                        in DDNTT is newer than in DDNTT_CONV_UC: 20040211101817 > 20010131174038
    (EXP) INFO:  entry for BAPICREATORDATA                   in DDNTT is newer than in DDNTT_CONV_UC: 20040211101817 > 20000621155733
    (EXP) INFO:  entry for BAPICRMDH1                        in DDNTT is newer than in DDNTT_CONV_UC: 20051229175654 > 20031211120714
    (EXP) INFO:  entry for BAPICRMDH2                        in DDNTT is newer than in DDNTT_CONV_UC: 20051229175654 > 20031211120714
    (EXP) INFO:  entry for BAPICRMEXP                        in DDNTT is newer than in DDNTT_CONV_UC: 20051229175513 > 20031211120627
    (EXP) INFO:  entry for BAPICRMEXT                        in DDNTT is newer than in DDNTT_CONV_UC: 20051229175514 > 20031211120627
    (EXP) INFO:  entry for BAPICRMKEY                        in DDNTT is newer than in DDNTT_CONV_UC: 20051229175654 > 20031211120714
    (EXP) INFO:  entry for BAPICRMKEY_T                      in DDNTT is newer than in DDNTT_CONV_UC: 20051229175835 > 20031211120803
    (EXP) INFO:  entry for BAPICRMMSG                        in DDNTT is newer than in DDNTT_CONV_UC: 20051229175654 > 20031211120714
    (EXP) INFO:  entry for BAPICRMMSG_T                      in DDNTT is newer than in DDNTT_CONV_UC: 20051229175835 > 20031211120803
    (EXP) INFO:  entry for BAPICRMOBJ                        in DDNTT is newer than in DDNTT_CONV_UC: 20051229175514 > 20031211120628
    (EXP) INFO:  entry for BAPICRMPAREX_T                    in DDNTT is newer than in DDNTT_CONV_UC: 20051229175452 > 20031211120305
    (EXP) INFO: limit reached, 5000 tables in DDNTT are newer than in DDNTT_CONV_UC
    (EXP) INFO: NameTab check finished. Result=2  #20100113131216
    (EXP) INFO: check for inactive NameTab entries: Ok.
    (RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
    (DB) INFO: disconnected from DB
    D:\usr\sap\B35\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    D:\usr\sap\B35\SYS\exe\run/R3load.exe: END OF LOG: 20100113131216
    ***SAPCLUST.log ****
    (NT)  Warn:  EDIDOC: normal NameTab from 20040211095029 younger than alternate NameTab from 20000621155733!
    (EXP) TABLE: "EDIDOC"
    (NT)  Warn:  PCDCLS: normal NameTab from 20040211095029 younger than alternate NameTab from 20000621155733!
    (EXP) TABLE: "PCDCLS"
    (NT)  Warn:  SFHOA: normal NameTab from 20040211095029 younger than alternate NameTab from 20000621155733!
    (EXP) TABLE: "SFHOA"
    (NT)  Warn:  SFHYT: normal NameTab from 20040211095029 younger than alternate NameTab from 20000621155733!
    (EXP) TABLE: "SFHYT"
    (NT)  Warn:  UMG_TEST_C: normal NameTab from 20040211095029 younger than alternate NameTab from 20031113150115!
    (EXP) TABLE: "UMG_TEST_C"
    myCluster (55.22.Exp): 712: error when retrieving alternate nametab description for physical table UMG_TEST_F.
    myCluster (55.22.Exp): 713: return code received from nametab is 32
    myCluster (55.22.Exp): 299: error when retrieving physical nametab for table UMG_TEST_F.
    (CNV) ERROR: data conversion failed.  rc = 2
    (RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
    (DB) INFO: disconnected from DB
    D:\usr\sap\B35\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    D:\usr\sap\B35\SYS\exe\run/R3load.exe: END OF LOG: 2010011312563
    Please suggest.
    Thanks & Regards
    Ganesh

    Is your DB unicode?  If so, did you select the unicode flag in sapinst?
    This [thread|System Copy Error while exporting ABAP; might offer some help.
    -Zach

  • Export & Import Database

    I need to export, and import, a complete database, from one server to another. This is my first attempt at this.
    I am doing this on Oracle 9i (both servers) - and Linux. The data file names & tablespace names on the 2 servers are different. Question 1: is this a problem ?
    I tried using, the following 2 commands, but I am getting lots of privilege errors. I must be missing something. I have Googled, and one reply I saw, mentioned creating all the users, role and privileges first, before running an import. Question 2: Is this necessary ?
    If so, how do I copy all the users across to the new database, with the same privileges and roles ?
    Commands I tried:
    exp userid=system/manager file=my_db.dmp log=my_db.log full=y
    (ftp'ed dmp file to new server ... in binary mode)
    imp userid=system/manager file=my_db.dmp log=imp.log full=y

    You are on the same Oracle version, that's a good starting point. It is easier to clone your database, even if your datafiles are placed on different directories, you can clone it.
    Copy the whole of your database file, redo logs and controlfiles to the target system.
    Take note on how they were named at your source, and how they will be named at the destination.
    start up (mount) your instance.
    For each datafile/logfile that will be placed at a different location issue the 'ALTER DATABASE RENAME FILE ....' command.
    For the controlfiles, update the parameter control_files at your instance initialization file.
    Verify the values of all other parameters that require path definition, i.e. background_dump_dest, user_dump_dest, log_archive_dest_n, db_create_file_dest .... etc.
    Once corrected at the mount

  • How to export/import database from tools menu in sql developer.

    Hi,
    I need to export database from a server and import it on another db server using the export database function under tools menu in SQL developer. How do I import it? This is for Oracle 10g database.
    Thanks

    Depends what are you trying to do? Are you making a database copy or just creating an empty schemea or creating schema with the data?
    With 10g, you have also options of using datapump (expdp/impdp) and conventional export/import which is very usefule and easy to use when it comes to create a clone (duplicate schema) or an export/import of some objects.
    If you right click on table object, you have options of export ddl/export data and import data but thats different thant what expdp/impdp or conventional export/import provides. For very small database you can use sqldeveloper but consider
    using other above mentioned options. Hope this helps
    Regards

  • Full Database Export/Import

    I was attempting to export a full database from one server (DB files on the N: drive) and import it into a freshly created new database with the same instance name on a new server (DB files on the D: drive).
    I was told to:
    1) Export the full database as sys using full=y
    2) Pre-create all of the tablespaces on the target database that do not exist on the target database
    3) Import the full database as sys using full=y
    =========================================================
    Here are the steps I had to follow:
    1) Export the full database as sys using full=y
    2) Pre-create all of the tablespaces on the target database
    3) Import the full database as sys using full=y - Result: over 1900 invalid objects and thousands of errors
    4) Run Utlrp.sql - Result: 8 to 10 invalid objects
    5) Manually attempt to compile or rebuild objects. Several grants were required to get most of these to work. - Result: After quite a bit of hand crafting, two objects are still invalid.
    6) After spending almost two hours in a Collaborative Conference with an analyst who is working very hard to sold this, there are still two objects that are invalid.
    Note: From my perspective this is not a straight forward process
    =========================================================
    Questions:
    1) Has anyone successfully moved a database as described without all of these annoying steps?
    2) Is there a document that details the full database export/import?
    Thanks, RJZ

    Hello RJZ,
    There is not sufficient information to reply accurately to your queries,
    1. Could you post the error message that you're getting when you compile these two programs? Do they compile okay on the old server?
    2. What was the reason you choose exp and imp, to move your db to the new server and different disk? Were you migrating to a different version, or was it because of the db-reorg? It would have been possible to simple copy the db-files to the new location, and then rename the datafiles in mount-state. It would be more simpler I believe unless as stated above
    Did you check the import logs? While importing were there any errors? Actually it should have been pretty straight forward (no reason why you need documentation for exp / imp). Grants should have automatically come, unless you have select grants=n option
    I think because of the changes you have done for step-5, you might have changed some stuff somewhere. Please post the error message, and tell us if you have migrated the db to a higher version
    Regards
    Sudhanshu

  • Database refresh of a 10gb database through export-import

    hi ,
    I am using oracle 10g R2 . I need to refresh the development server from the production server .
    The size of the database is 10GB . Can I do it with export-import ?
    Thank you .

    besides these mentioned methods, i.e. 1) exp/imp; 2) data pump; 3) transportable tablespaces; 4) rman duplicate. you can also use manual duplication of the production database which is faster and easier I would say. Below is link, which can be used for detailed steps.
    http://www.dba-oracle.com/oracle_tips_db_copy.htm
    Please note that, if your source database can not be shut down, so you can copy your datafiles by putting tablespaces or database into hot backup mode.

  • Move our Existing Database 8.1.7.3 into 10gR2 through Export Import Utility

    Hi,
    I want to move our Existing Database 8.1.7.3 into 10gR2 through Export Import Utility in Oracle EBS (FINANCILA) environment.
    My Current Setup:
    OS: SUN SPARC 8
    ORACLE APPS: 11.5.7
    DB Version: 8.1.7.3
    My New Setup:
    OS: SUN SPARC 10
    ORACLE APPS: R12
    DB Version: 10gR2
    I have successfully created Upgraded file R12 file system and installed R12 tech stack.
    Now we want to move data from Current to New Setup by using Export/Import utility.
    Please suggest me steps or meta link note .
    Thanks
    Anup

    What shoul be better for my case:
    Upgrade Paths :
    E-Business Suite Releases Available Paths
    11.5.8 with 9.2.0.x database Path A
    11.5.9 (base or CU1) with 9.2.0.x or 10.1.0.x database Path A
    11.5.9 CU2 with 9.2.0.x or 10.1.0.x database Path A or Path C
    11.5.9 CU2 with 10.2.0.2 database Path D
    11.5.9 CU2 with 10.2.0.3 database Path E
    11.5.9 CU2 with 10.2.0.4 database Path B
    11.5.10 (base or CU1) with 9.2.0.x or 10.1.0.x database Path A
    11.5.10.2 with 9.2.0.x or 10.1.0.x database Path A or Path C
    11.5.10.2 with 10.2.0.2 database Path D
    11.5.10.2 with 10.2.0.3 database Path E
    11.5.10.2 with 10.2.0.4 database Path B
    Regards
    Anup

Maybe you are looking for