Exp/imp full or transportable tablespaces?

Hi Experts,
DB version: 10.2.0.4 64 bit enterprise edition
OS version: Windows 2003 R2 64 bit
here database moving from 10.2.0.4 enterprise edition to standard edition.
i have went through metalink, i found
*10G : Step by Step Procedure to Migrate from Enterprise Edition to Standard Edition [ID 465189.1]*
*Converting An Enterprise Edition Database To Standard Edition [ID 139642.1]*
so i have taken export of full database before that i have create a DBLINK & TABLES ,
i have impoted into standard edition but i have missed those DBLINKS and grants will imported?
Thanks.

hi guru,
my expectation is the entire database should pilot to new server with standard edition. i have read articles from metalink, as per traditional export/import is a better.
By that process i tested,
1) production database:-
a)created some tables, one database link
b) exp system/*** full=y file=exp.dmp log=exp.log
2)another side, i have created a dummy database using DBCA, and created some tablespaces as exist in export side.
a) imp system/*** full=y file=exp.dmp log=imp.log
so after successful import, i have checked objects but i missed the DBLINK from production.
1)my question is any other parameters should be process within import? to perform full export/import
2)all the schemas will be imported or manully need to create?
3)grants will be imported?
4) what about constraints.
ignore=y rows=n.i want to export rows also(entire database)

Similar Messages

  • Exp/Imp full database

    Hello guys,
    I'm having an issue with importing full database from one database(machine 1) to another database (machine2).
    I am getting errors that users don't exist, datafile cannot be read etc errors.
    I'm using Windows, and Oracle 9.2.0.6
    How can I export the 'create objects' scripts from the source db that can run on the target db?
    Any help appreciated.
    Thanks,
    Bharath

    thank you. I actually sorted it out. The path of the datafiles in the source database is not present for the target database. So I created a similar path but kept no datafiles in it.
    the import ran successfully and created the users and tablespaces as well.
    thanks again

  • Exp/Imp alternatives for large amounts of data (30GB)

    Hi,
    I've come into a new role where various test database are to be 'refreshed' each night with cleansed copies of production data. They have been using the Imp/Exp utilities with 10g R2. The export process is ok, but what's killing us is the time it takes to transfer..unzip...and import 32GB .dmp files. I'm looking for suggestions on what we can do to reduce these times. Currently the import takes 4 to 5 hours.
    I haven't used datapump, but I've heard it doesn't offer much benefit when it comes to saving time over the old imp/exp utilities. Are 'Transportable Tablespaces' the next logical solution? I've been reading up on them and could start prototyping/testing the process next week. What else is in Oracle's toolbox I should be considering?
    Thanks
    brian

    Hi,
    I haven't used datapump, but I've heard it doesn't offer much benefit when it comes to saving time over the old imp/exp utilitiesDatapump will be faster for a couple of reasons. It uses direct path to unload the data. DataPump also supports parallel processes, so while one process is exporting metadata, the other processes can be exporting the data. In 11, you can also compress the dumpfiles as you are exporting. (Both data and metadata compression is available in 11, I think metadata compression is available in 10.2). This will remove your zip step.
    As far as transportable tablespace, yes, this is an option. There are some requirements, but if it works for you, all you will be exporting will be the metadata and no data. The data is copied from the source to the target by way of datafiles. One of the biggest requirements is that the tablespaces need to be read only while the export job is running. This is true for both exp/imp and expdp/impdp.

  • Is there anyway to use imp and rename a tablespace during import? Sort of what remap_tablespace for datapump import does?

    I have a dump file from a 9i Oracle database with tablespace USERDEL_DATA but my database in 11g has tablespace USER_DEL_DATA. I don't want to name the tablespace what it is called in the 9i database because the naming convention is not consistent with what I have been naming the tablespaces. There needs to be a '_' between USER and DEL.
    The problem I have is that, each time I try importing to 11g database, some tables that probably have USERDEL_DATA as their default tablespace in the 9i database would not import into the 11g database. Is there any parameter (I haven't found one yet) using native import (i.e. imp) to remap_tablespace? I know with impdp, I would be able to remap tablespace easily but this dump file is from a 9i database and impdp would not work on it. Please help.
    Thank you for your assistance.

    The old exp/imp utilities have a tablespace transport mode, sort of like the end goal, but maybe not quite exactly.
    >> tables that probably have USERDEL_DATA as their default tablespace
    That's not quite accurate, users have a default tablespace, used for table creation when a tablespace isn't specified in the DDL.
    What we've done when an export file has tablespaces that disagree with the tablespace names in the import target, go ahead and create the disagreeable tablepspace, and set the target schema(s) user(s) to have zero quota on the "bad" named tablespace. The IGNORE=Y imp setting will end up putting the tables into the user default tablespace, as long as the user(s) haven't picked up the unlimited tablespace system privilege somehow/somewhere.
    So when import is done, just drop the bad tablespace [including contents and datafiles]; and Problem Solved.
    >> the naming convention is not consistent
    Not seeing a problem there. Its got a name, tablespace(s) have to have one. Don't care what its called, just do have to know about it for backup/recovery, that would be the critical bit..

  • Full database exp/imp  between RAC  and single database

    Hi Experts,
    we have a RAC database oracle 10GR2 with 4 node in linux. i try to duplicate rac database into single instance window database.
    there are same version both database. during importing, I need to create 4 undo tablespace to keep imp processing.
    How to keep one undo tablespace in single instance database?
    any experience of exp/imp RAC database into single instance database to share with me?
    Thanks
    Jim
    Edited by: user589812 on Nov 13, 2009 10:35 AM

    JIm,
    I also want to know can we add the exclude=tablespace on the impdp command for full database exp/imp?You can't use exclude=tablespace on exp/imp. It is for datapump expdp/impdp only.
    I am very insteresting in your recommadition.
    But for a full database impdp, how to exclude a table during full database imp? May I have a example for this case?
    I used a expdp for full database exp. but I got a exp error in expdp log as ORA-31679: Table data object "SALE"."TOAD_PLAN_TABLE" has long columns, and longs can not >be loaded/unloaded using a network linkHaving long columns in a table means that it can't be exported/imported over a network link. To exclude this, you can use the exclude expression:
    expdp user/password exclude=TABLE:"= 'SALES'" ...
    This will exclude all tables named sales. If you have that table in schema scott and then in schema blake, it will exclude both of them. The error that you are getting is not a fatal error, but that table will not be exported/imported.
    the final message as
    Master table "SYSTEM"."SYS_EXPORT_FULL_01" successfully loaded/unloaded
    Dump file set for SYSTEM.SYS_EXPORT_FULL_01 is:
    F:\ORACLEBACKUP\SALEFULL091113.DMP
    Job "SYSTEM"."SYS_EXPORT_FULL_01" completed with 1 error(s) at 16:50:26Yes, the fact that it did not export one table does not make the job fail, it will continue on exporting all other objects.
    . I drop database that gerenated a expdp dump file.
    and recreate blank database and then impdp again.
    But I got lots of error as
    ORA-39151: Table "SYSMAN"."MGMT_ARU_OUI_COMPONENTS" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
    ORA-39151: Table "SYSMAN"."MGMT_BUG_ADVISORY" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
    ......ORA-31684: Object type TYPE_BODY:"SYSMAN"."MGMT_THRESHOLD" already exists
    ORA-39111: Dependent object type TRIGGER:"SYSMAN"."SEV_ANNOTATION_INSERT_TR" skipped, base object type VIEW:"SYSMAN"."MGMT_SEVERITY_ANNOTATION" >already exists
    and last line as
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 2581 error(s) at 11:54:57Yes, even though you think you have an empty database, if you have installed any apps or anything, it may create tables that could exist in your dumpfile. If you know that you want the tables from the dumpfile and not the existing ones in the database, then you can use this on the impdp command:
    impdp user/password table_exists_action=replace ...
    If a table that is being imported exists, DataPump will detect this, drop the table, then create the table. Then all of the dependent objects will be created. If you don't then the table and all of it's dependent objects will be skipped, (which is the default).
    There are 4 options with table_exists_action
    replace - I described above
    skip - default, means skip the table and dependent objects like indexes, index statistics, table statistics, etc
    append - keep the existing table and append the data to it, but skip dependent objects
    truncate - truncate the existing table and add the data from the dumpfile, but skip dependent objects.
    Hope this helps.
    Dean

  • Need help for full db exp-imp

    Hi,
    My database is having undo segment corruption.I have considered and tried a lot of things to come out of the situation,but didn't get any +ve result. So I have decided to take a full database export,rename the database,create a new database on the same system and import the full database in the new database.Will you plz tell me the steps to do this(full db import)? Plz include a wise syntax for full db exp-imp.
    Thanks a lot

    If your only identified problem was sudden undo corruption to an online instance and you followed the steps referenced on the Burleson site (switch to manual undo management, create a new undo tablespace, drop the old undo tablespace, and switch back to automatic undo management) and then the very next day encountered undo corruption again, I would recommend two simultaneous courses of action:
    1) Get the hardware analyzed, this could be a signal of hard drive or controller problems.
    2) Scour metalink for any bug references that may be related (or just go ahead and open an iTar).
    If you persist in importing to create the database back on this same system and if you must use the same storage, I would at least try to get the file system or volume that the corruption was on taken offline and recreated.
    Just an alternate view of things ... good luck!

  • Transportable tablespace /imp problem

    Dear all ,
    please i need to correct me if i am wrong
    transportable tablespace can you done of different version of oracle database
    (means can do that task from lower to upper ex:10g.2 to 11g.2) take in your consideration the limitation of this taks.???
    1. when i do this task in same platform unix to unix and same edians big to big
    there is no way to convert datafile or tablespace
    the take is done by take tablespace read only and then exp this tablespace and ftp the datafile and dmp file
    to new server and switch tablespace read write thus imp the dmp ???
    2. when this taks is done from win to unix from 10g.2 to 11g.2
    check the self_contained this in the two and take tablespace read only and convert and exp and ftp the datafile and dmp file
    to new server thus convert the datafile and then imp and the last one switch the tablespace in read write???
    please i need your opinion obout this ?????
    and i need your advice in import
    imp USERID=\'sys/iti_ICON_sys as sysdba\' \ tablespaces=USERS transport_tablespace=y FROMUSER=sys@TABSTST as sysdba TOUSER=sys@PRODICON as sysdba file=/icon/appl/oracle/trans.dmp datafiles='/icon/appl/oracle/USERS01.dbf'oraicon@billdb03 $ imp USERID=\'sys/iti_ICON_sys as sysdba\' \ tablespaces=USERS transport_tablespace=y FROMUSER=sys@TABSTST as sysdba TOUSER=sys@PRODICON as sysdba file=/icon/appl/oracle/trans.dmp datafiles='/icon/appl/oracle/USERS01.dbf'
    Import: Release 10.2.0.3.0 - Production on Tue Dec 20 12:11:34 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.02.01 via conventional path
    About to import transportable tablespace(s) metadata...
    import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    export client uses US7ASCII character set (possible charset conversion)
    IMP-00017: following statement failed with ORACLE error 29342:
    "BEGIN sys.dbms_plugts.checkUser('ORAESB'); END;"
    IMP-00003: ORACLE error 29342 encountered
    ORA-29342: user ORAESB does not exist in the database
    ORA-06512: at "SYS.DBMS_PLUGTS", line 1895
    ORA-06512: at line 1
    IMP-00000: Import terminated unsuccessfully
    oraicon@billdb03 $ imp USERID=\'sys/iti_ICON_sys as sysdba\' \ tablespaces=USERS transport_tablespace=y file=trans.dmp datafiles='/icon/appl/oracle/USERS01.dbf'
    Import: Release 10.2.0.3.0 - Production on Tue Dec 20 12:28:50 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.02.01 via conventional path
    About to import transportable tablespace(s) metadata...
    import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    export client uses US7ASCII character set (possible charset conversion)
    . importing SYS's objects into SYS
    . importing SYS's objects into SYS
    IMP-00017: following statement failed with ORACLE error 29342:
    "BEGIN sys.dbms_plugts.checkUser('ORAESB'); END;"
    IMP-00003: ORACLE error 29342 encountered
    ORA-29342: user ORAESB does not exist in the database
    ORA-06512: at "SYS.DBMS_PLUGTS", line 1895
    ORA-06512: at line 1
    IMP-00000: Import terminated unsuccessfully
    oraicon@billdb03 $
    MANY THANKS

    1 read documentation. You can use rman to convert the files
    2 read documentation. You can use rman to convert the files.
    3 the error message is self explanatory
    4 the error message is self explanatory
    Please do your own research prior to posting.
    Please include only 1 question per post.
    Sybrand Bakker
    Senior Oracle DBA

  • Exp/Imp with tablespace autocreate?

    Hello dear community,
    I've got a question about backup with exp/imp. It's not about RMAN, but nevertheless I hope it's the right board.
    Is there a command to tell imp to automatically create a specified tablespace from a dumpfile?
    For exp I use:
    exp.exe user/pass tablespaces=test file=FILE.DMP
    For imp I use:
    imp.exe user/pass tablespaces=test file=FILE.DMP
    Now, if I drop the tablespace between exp and imp, so imp can't restore it. There I manually have to create the specified tablespace first. It would be nice, if there is a way that imp creates the tablespace if it is not present.
    Are there maybe some parameter like "autocreate" and "use datafile=..." and so on?
    Thanks for help,
    best regards,
    Ronny

    Transportable Tablespaces is a seperate feature whereby you take a physical
    copy of tablespace datafiles and "plug" them into the target database.
    That is different from taking a logical export dump.
    With export dumps, the only way to get the tablespace created is in a FULL
    export and import. The CREATE TABLESPACE commands are written into
    the dmp file only when a FULL export is done. At import time, you can choose
    to import a specific schema in which case, the CREATE TABLESPACE
    commands are not executed by import (they must be precreated). So,
    CREATE TABLESPACE is executed only when you do a FULL import as well.
    Note that this {obviously} creates the same datafile names (including physical
    paths) and sizes as existant in the source database. That may or may not
    meet your requirements on occassion (eg different filesystem structure,
    different sizes planned in the target database).

  • Tablespace exp imp 11G

    I have problem,
    I want to imp file.dmp to schemauser
    schemauser have tablespace default USERS
    then I exp schmeauser from my pc. I named file.dmp
    then when
    I imp from other pc,
    I have prepare for schmeausernew with tablespace default tbspace.
    when I imp the data I suprise with my default tablespace tbspace not using.
    But my imp it take a place in USERS.
    Sow my question is, How to imp automaticly to my default tablespace tbspace ???
    I don't want to alter table tablespace when I must one by one and also my index.
    Thanks.
    for Supporting.

    Exp/Imp with tablespace autocreate?
    imp user/pass tablespaces=dbtothis FULL=Y
    Why still not into tablespace=dbtothis.
    Still in Tablespace users
    Thanks.
    For help me.

  • Full Database Exp & Imp

    Hi,
    I am trying to Exp & Imp a full database. I am working on Oracle 9i & 10g on Solaris 9. I am not using Data Pump. Can anyone please help me with the following:
    1. I am performing the full export using SYSTEM user.
    1.a Does a Full export include (or backups up) the DATA DICTIONARY of the database?
    1.b Does a Full export include the backup of SYS and SYSTEM objects?
    I am using the following command to export
    exp system/system@testdb file=$HOME/testdbfullexp.dmp full=y statistics=none
    I have tried importing the FULL export to another database and i did see that SYS and SYSTEM objects were also being imported ( got some errors regarding constraints and inconsistencies).
    I would like to ask like what are the ideal steps to follow to copy a database from DB1 to DB2 using EXP and IMP
    Any information will be of a great help
    Thanks,
    Harris.

    1 a) No, as the data dictionary will be automagicall recreated by implicit SQL.
    This means any non dictionary objects under SYS will be lost
    1 b) as above. SYSTEM however is a normal user.
    any %SYS user will NOT be exported (CTXSYS, MDSYS, etc)
    On import of SYSTEM there will be always errors, as SYSTEM is non-empty after initial database creation.
    Sybrand Bakker
    Senior Oracle DBA

  • Exp/imp of tablespace

    hi all
    could we use exp/imp of tablespace on same database
    say we have list of objects in a tablespace and we want to shrink the tablespace size. ( as there are not many transactions ) then can we take export of this tablespace onyly , drop the tablespace , create a new tablesapce with same name but of less size and import objects back from the export dump file into this tablespace
    thanks
    kedar

    So basically you want to shrink the tablespace but you've got objects scattered around in there and it won't coalesce.
    There are several ways to do this, not least the one you've mentioned.
    An alternative would be to rebuild the objects into a new (smaller) tablespace. If you haven't got the disk space to accomodate a new tablespace and the existing one then, yes, export/import will do the job.

  • Tablespace vs transport tablespace exp

    i am confuse in both cases
    what the diffrence between these two
    tablespace exp vs transport tablespace
    acc to me
    tablespace export is much easer then transport tablespace just as table export
    but in transport tablespace we can also copy dbf file.
    which one is more appropriate?
    kuljeet pal singh

    Unlike regular exports, transportable tablespace exports are intended for moving data between tablespaces, and generally have no backup/recovery value.
    When performing a transportable tablespace export, the only information exported from the database is the Metadata about the tablespace. Because of this, the tablespace or tablespaces must be self-contained and have no relationships outside of the tablespace (FK, Indexes etc). There are other restrictions then this please consult the documentation.
    A transportable tablespace export allows for a very quick export with a correspondingly small file.
    Once the export is complete, the datafiles associated with the tablespace are copied to there new location (tablespace must be in read only mode when performing this).
    Please note, that if you are planning to use this method for database refreshes, the existing tablespace in the target database must be dropped before being reimported.
    For more information please consult the documenation.

  • Exp imp of full db

    I want to take full exp and imp it to new db, i tried one imp but ended up errors....
    What would be the command for full db exp , imp db with data which should end without warnings?

    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting triggers
    EXP-00056: ORACLE error 1422 encountered
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "XDB.DBMS_XDBUTIL_INT", line 55
    ORA-06512: at line 1
    EXP-00056: ORACLE error 1422 encountered
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "XDB.DBMS_XDBUTIL_INT", line 55
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully

  • EXP & IMP only restores to same tablespace(s)

    Hi All...
    I created new user with new tablespace and import dmp to new user
    but the import utility imported same tablepspace (increase old datafile size).
    even I dropped new user but the old tablespace (datafile) size not reduced?
    Sudhir

    Normal behavior.
    Using conventional exp/imp the correct method to 'relocate' an user is
    - make sure the target user doesn't have unlimited tablespace privilege by revoking it
    - make sure the user doesn't have quota on the old tablespace and does have quota on the new tablespace
    alter user <target user> default tablespace <new tablespace> quota unlimited on <new tablespace> quota 0 on <old tablespace>
    - Now import with indexes=n
    - run a second import using the parameter indexfile=<any filename>
    - Edit the resulting file, changing all tablespaces
    - now run the file in sqlplus
    - this should be it
    Using expdp and impdp, remap_tablespaces on impdp is sufficient
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • Transport Tablespace Issues

    hi.. i'm trying to use transport tablespace across the same platforms rather than performing export/import . i'm following the steps in Note:371556.1to exp/imp ASM files.
    i have finished all the steps and successfully transport the tablespace. this process involved only 2 TBS, CC_DATA and CC_INDEXES and the schema is CC. i choose to check the full containment before the export done. but when i count the objects before export and after the import, the count is different. the question is how to make the count of objects is same before and after transport.
    before export
    SQL> select count(*), object_type from user_objects group by object_type;
    COUNT(*) OBJECT_TYPE
    33 SEQUENCE
    3 DATABASE LINK
    55 TABLE
    82 INDEX
    19 SYNONYM
    39 VIEW
    6 rows selected.
    after import
    SQL> select count(*), object_type from user_objects group by object_type;
    COUNT(*) OBJECT_TYPE
    82 INDEX
    55 TABLE
    thanks in advance.
    -julie-
    Edited by: gunit on Nov 17, 2008 7:35 PM

    It's a limitation on transportable tablespace (http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#i1007233)
    You cannot transport the SYSTEM tablespace or objects owned by the user SYS. Some examples of such objects are PL/SQL, Java classes, callouts, views, synonyms, users, privileges, dimensions, directories, and sequences.So you need to transfer the views, sequences,etc., one method is using exp/imp.
    [source]$ exp cc/<pwd> file=cc.dmp rows=no
    [target]$ imp cc/<pwd> file=cc.dmp ignore=yes HTH
    Enrique

Maybe you are looking for

  • Conversion of FMB to XML problem

    Forms [32 Bit] Version 9.0.4.0.19 (Production) I am in the middle of a conversion project where we are converting fmb files to xml, making the required changes to the xml files using a conversion program, and then converting them back to fmb. When co

  • Mystery white box in theme

    In the formal theme for a blog template a white box appears top right behind the navigation bar. How do I get rid of it. We can't select it nor edit it. When we extend the navigation box the white box travels with it . The white prevents the reader s

  • Browser Only Shows 35 Rows per Page

    I have a Business Exploder query that I display on the web.  However, it only shows 35 pages at a time.  Can I increase this to all rows?  I don't see an option in the query properties, and I don't have access to any stylesheets. Thanks.

  • Keynote 4 Patch

    Hi there, I just downloaded the new Keynote update 4.0.1 I noticed that an alpha channel problem I've been having when playing 3D animations has been fixed. I'm still, however, getting stutter problems on videos that played fine in Keynote 3. Just wo

  • I need a copy of firefox on a disc for a computer with a totally crashed version of IE.

    Can I get the file mailed on a disc? I can't access IE at all on the computer and have no other browsers installed. The computer runs MSN messenger, so I know it's not the connection...it's internet explorer. Address is: Carson Chiropractic, Inc., 15