Export/import in 10g

Hi,
I have all indexes in INDEX_TBS tablespace.....I want to export these indexes and import them back to SAME tablespace....
(a) export indexes from INDEX_TBS tablespace
(b) drop and recreate INDEX_TBS tablespace
(c) import back
Please help me in this regard, as I did not do this type of export /import

You mean to say that
exp SIEBEL/SIEBEL file=siebel_full.dmp log=siebel_full.log rown=n
and import with indexfile option...fake import
imp siebel/siebel file=siebel_full.dmp log=siebel_import.log full=y indexfile=create_index_siebel.sql
It will create create_index_siebel.sql file....I just run that script to create indexes...thats it..right....
If I have 20,000 indexes...how much time it will take to create indexes.roughly...

Similar Messages

  • Steps to export and import oracle 10g databse from AIX to AIX and LINUX

    Hi,
    I need the steps to export the oracle 10g database from AIX server to AIX server and LINUX server.
    Please give me all the steps as this is my first exort an import activity.
    thanks,

    For 10g there exist two ways to do so.
    1) Regular exp/imp.
    2) Data pump expdp/impdp.
    As this is your first export and import activity, relevant concept understanding is mandatory for you.
    Documentation Link
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/toc.htm
    Read the chapters 1,2,3 (Data pump expdp/impdp) and 19 (regular exp/imp). Good luck.

  • Database Migration 10g, difference in export/import from 8.1.6 and DBUA

    i would like to know if there is any difference in migrating using export/import methods from 8.1.6 and migration using dbua from 8.1.6 -> 8.1.7 -> 10g. In terms of tablespaces, datafiles performance .
    Will the DBUA convert the tablespaces automatically to take advantage of 10g ?
    Thanks .

    Hi,
    If we refer to the Oracle doc, it's depend of your 10g release.<br>
    Into Upgrade Paths 10.2, you need to upgrade your 8i firstly in 8.1.7.4.<br>
    Into Upgrade Paths 10.1, you you can directly migrate.<br>
    Anyway, you need to use 8iexp utility, and 10g imp utility : Using Different Releases of Export and Import 10.1 or Using Different Releases of Export and Import 10.2.<br>
    <br>
    Nicolas.

  • Usage of 4.1 Administrator to export/import eex to 10G EUL

    Hi All,
    I don't have the 10G Administrator s/w.
    Can i use 4.1 Administrator to export (from 4.1 EUL) and then import (to 10G EUL) all the eex files.
    We have a requirement to keep both 4.1 EUL and 10G EUL.
    We have a 11.5.10 E-Business Suite enviroment.
    Thanks a lot,
    Sai.

    Hi Sai
    Yes you can do this and yes the two environments will be independent from each other. The two environments will be separate even if you upgrade because 10G uses objects that begin with EUL5 whereas 4.1 uses objects that begin with EUL4.
    Best wishes
    Michael

  • Step to export and import oracle 10g on AIX,LINUX

    Hi ,
    Plase any one can give nme the steps to be followed to export and import oracle 10g database from AIX to AIX and LINUX also.
    Waiting for your response.
    Thanks..

    You dont have to follow any special steps, Export and Import are same on all OS's.

  • 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;
    ******************************************************************

  • Comparision of Oracle upgrade(9i to 10g) and export/import process

    Hi Friends,
    I have a schema in Oracle 9i Database and i would like to have it in Oracle 10g.
    I ned to know what will be the advantages and disavantages between the Oracle upgrade(9i and 10g) and export/import (9i export and 10g import)process?
    Please suggest.
    Regards

    Please go this link for new features of 10g:
    [http://www.oracle.com/technology/pub/articles/10gdba/index.html]
    For export and import go to this link:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm
    Regards
    Asif Kabir

  • Exporting & Importing Contexts in ODI 10g

    Hi,
    I am using ODI 10g.
    I want to export Contexts from topology manager from my ODI test environment and import those contexts in ODI production environment.
    My requirement is that I want to export & import the contexts using some scripts and not manually.
    What steps can I follow for this?
    Thanks,
    Divya

    Hi Divya,
    Personally i feel rather than exporting individual components/objects, its suggested to export master repository as such.
    You can make use of ODI utility OdiExportMaster (under <ur package>->Tools->Oracle Data Integrator Objects) for exporting and Import Master Repository wizard (All Programs->Oracle-> Oracle Data Integrator->Repository Management-> Master Repository Import )for importing.
    Thanks,
    Guru.

  • Export from 8.1.7 and import to 10g

    Hi, I'm currently working on 8.1.7 on Solaris and need to migrate to 10g on Windows. I tried to use export and import utilities. I tried two different ways but all failed. Just wondering is there anybody can give me some more ideas about this:
    1. In SQL*PLUS on 10g, I tried to export the table via remote access:
    C:\oracle\product\10.2.0>expdp username/password@remote_db content=all directory=dpdump dumpfile=dpdump:test.dmp logfile=test_exp.log tables=test_table schemas=test_schema ;
    Export: Release 10.2.0.1.0 - Production on Tuesday, 29 November, 2005 16:31:45
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    UDE-00008: operation generated ORACLE error 6550
    ORA-06550: line 1, column 52:
    PLS-00201: identifier 'SYS.DBMS_DATAPUMP' must be declared
    ORA-06550: line 1, column 52:
    PL/SQL: Statement ignored
    2. I tried to export the table on 8.1.7, FTP the dump file to 10g, and then tried to import to 10g:
    C:\oracle\product\10.2.0>impdp username/password directory=dpdump dumpfile=test.dmp logfile=test.log
    Import: Release 10.2.0.1.0 - Production on Tuesday, 29 November, 2005 17:11:49
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-31640: unable to open dump file "c:\oracle\product\10.2.0\dpdump\test.
    dmp" for read
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Any input will be appreciated!!!

    Hi,
    If we refer to the Oracle doc, it's depend of your 10g release.<br>
    Into Upgrade Paths 10.2, you need to upgrade your 8i firstly in 8.1.7.4.<br>
    Into Upgrade Paths 10.1, you you can directly migrate.<br>
    Anyway, you need to use 8iexp utility, and 10g imp utility : Using Different Releases of Export and Import 10.1 or Using Different Releases of Export and Import 10.2.<br>
    <br>
    Nicolas.

  • Trying to export/import 10g 10.2.0.3 data into an 8i (8.1.7.0) database

    I am trying to create an full export of a 10g database 10.2.0.3 and then import into an Oracle 8.1.7.0 database. I was told to use the 8i version of both the exp and imp utilities. I keep getting nls_character set errors. The 10G database is AMERICAN-AMERICA.WE8MSWIN1252 where the 8i database is WE8ISO8859P1. I was told to set the registry entry for NLS_LANG to that of the setting in 8i but I am still getting errors when I run the 8i export logged into the 10g database. What initialization parameters on the 10g and/or 8i database and within the windows environment variables/registries need to be set in order to pull this off?
    Can this be done? Can I use the 10g imp ultility and use the .dmp file that to imp into the 8.1.7.0 database? We are doing this in case management wants to revert back to 8i in there is a showstopper issue when we go production on 10g.

    8.1.7.0 database. I was told to use the 8i version of
    both the exp and imp utilities. I keep getting
    nls_character set errors. ...and the errors are?
    The 10G database is
    AMERICAN-AMERICA.WE8MSWIN1252 where the 8i database
    is WE8ISO8859P1. I was told to set the registry entrySo you are going to a superset, which is good, if your character data were stored properly in 8i.
    You might want to run the db character set scanner against 8i to find possible conversion issues. Running csscan from 10g home against the 8i db should work.

  • Export/import from 9i to 10G

    Dear all
    i have oracle 9i database on windows
    i want to migrate to 10G on windows
    i know it is done by export/import utility but how it can be done please let me know as i need step by step documentation of it
    please let me know its urgent
    Regards

    To do a proper upgrade, I would go through the Upgrade Guide make sure my server hardware and configuration met pre-requirement, there's no compatibility issue between my applications and newly upgraded server etc.
    The Guide is very detailed and thorough.
    I really don't think there's a document that is both simple and in details.
    The upgrade guide even has a section specially talk about export/import option
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14238/expimp.htm#i262247

  • Export from Oracle 8.0.2.0, Import to 10g

    Hello,
    I am trying to create a dump file from a Oracle 8.0.2.0 database. I am using the Oracle Data Manager Export wizard to do so. This dump needs to be imported to Oracle 10g. I have created a blank database in 10g with the same name as in 8.0.2 and I can open it in Enterprise Manager using SYS user. I tried "Import from Export files" from Enterprise manager 10g but it fails to import. Can someone please tell me if I am missing somethings here?

    This is a duplicate of this thread
    Export from Oracle 8.0.2.0, Import to 10g
    Justin

  • 11gR2 to 10g Export/Import

    Hello,
    Does exporting from Oracle 11gR2 and importing to Oracle 10g work?
    Thank you!

    Alex,
    this forum deals with migrations from foreign databases to Oracle. Your export/import question should be better posted in this forum:
    Export/Import/SQL Loader & External Tables
    You might also have a look at the My Oracle Support note:
    Article-ID: Note 132904.1
    Title: Compatibility Matrix for Export And Import Between
    Different Oracle Versions [Video]

  • Query to do import and Export for Oracle 10g

    For MYSQL we have queries available for import and export
    import:-LOAD DATA INFILE 'filename' INTO TABLE tablename FIELDS TERMINATED BY ','
    export:-SELECT * into OUTFILE 'file name' FIELDS TERMINATED BY ',' FROM tablename
    Do we have similar query in Oracle which can be executed on SQL * Plus

    Is it a feedback opinion you want to get/put ?
    If not, then use a proper forum, which you can find somewhere here below :
    http://forums.oracle.com/forums/category.jspa?categoryID=18
    Maybe Database General is the one for your question.
    By the way, explain where you get the data from (flat file -sqlldr - or dump file -imp -?), and where you want to put the data (flat file - select - or dump file -exp - ?), be sure you know the format of file of your output.
    Nicolas.

  • Exporting/importing policies in OAM 10g

    How can I export/import policies in 10.1.4.3? Is there a command-line tool for this? Appreciate any advice.
    Thanks,
    Alex

    Hi,
    You can do this by migrating the LDAP data, since all the config/policy data is stored in the LDAP.
    Here are a high level steps of what might be required -
    (Note: These may not be the complete tasks which you might have to do, and may differ for your settings).
    -> Ensure the LDAP (in both envs) are of the same version, and the schema are the same.
    -> If the schema has been copied as well, make sure the references have been changed (hostname, IP, etc, if any).
    -> Take a backup of the the data in the from/to environment(s).
    -> Export the config data (and policy data if req) from the existing env into an ldif file using LDAP commands or using an LDAP Editor (Eg: Apache Directory Studio).
    -> Change references (hostname, IP, etc, (if any)) to match the new environment settings. (Eg: obDBAgentHost).
    -> Import the ldif file in the new environment.
    -> Ensure the components (LDAP, OIS, AAA, Webserver) comes up fine in the new environment. (After installing/configuring the required OAM components).
    -> Reconfig components if necessary.
    -- Pramod Aravind

Maybe you are looking for