How to upgrade a DB using EXP/IMP

Guys
I need to upgrade a small DB using IMP and EXP from 8i to 9i. Can you guys help me with the steps. Perhaps I was using the wrong search words, but I found no satisfying answers on google.
1. Recreate the target database TRGT with the correct tablespace definitions.
I need to query from dba_datafiles, dba_tablespaces, dba_temp_files?
2. EXPort the source database SRC
3. IMPort the dump file
I am little unsure of step #1. Can you help me with the details pls?
TIA

. Recreate the target database TRGT with the correct tablespace definitions.I need to query from dba_datafiles, dba_tablespaces, dba_temp_files?
Before starting the import,u need to create a fresh database on new 9i server.and create new tablespaces with same name that was present in 8i.after it u can start ur import with using ignore=y,otherwise it says following tablespace is already exists.
**import also automatically create the required tablespaces but if u want to change the storage attributes or location of dbf files ,its better that u create it manually before starting imp.
Kuljeet

Similar Messages

  • Database upgrade from 8i to 10g using exp/imp

    Dear Friends,
    Please provide the steps to upgrade from 8i to 10g using exp/imp.
    Thanks,
    Rathinavel

    Hi;
    Please also see cold backup option
    How to migrate from 8i to 10g to new server using cold backup [ID 742108.1]
    Also see:
    Upgrading from 8i to 10g with import utility
    http://searchoracle.techtarget.com/answer/Upgrading-from-8i-to-10g-with-import-utility
    Regard
    Helios

  • Using exp/imp to clone a database from Solaris to NT

    Hi All,
    We have an 8.1.6 Oracle database in production under Sun Solaris.
    We actually use this database to run Siebel CRM system.
    We have a Windows NT server which we used as a QA system
    for this application.
    We have a daily full export of our production database on the
    Sun machine. Now my manager wants to import this production
    dmp file into this Win NT database on a weekly basis.
    The goal here is to maintain the state of this NT database
    as much functional and close to the production one as possible.
    I would appreciate your help on this.
    I have some other general question:
    in which case can the Oracle imp utility be run in the
    full=y mode ?
    does this make any sense at all ?
    since the Oracle import utility does not delete
    any existing objects before it imports, these objects
    should be deleted manually and that's what I do
    with all Siebel users schemas; of course I do not
    do this with SYS, SYSTEM and other special Oracle
    users; question: are there any objects in these
    special Oracle schemas that have to be carried over from
    the source database to the target database to
    make the rest of the schemas functional ?
    Somehow I failed to find Oracle documentation on how
    to use exp/imp to create a complete clone of an Oracle
    database.
    Can direct path be used with full=y export/import mode ?
    Thank you in advance,
    Yuriy.

    As an alternative to using daily/weekly exports and imports, what would probably be more effective here would be replication. The databases could synch on a nightly basis and updated tables and rows will be transferred from your OLTP system to your read-only system. More information can be found on replication from "Oracle8i DBA Handbook" by Kevin Loney and Marlene Therialt.
    LM
    PS. IGNORE=Y

  • Refresh using exp/imp

    Hi All,
    I need to refresh one of my development database using exp/imp utility,i did refreshing using the copy datafiles but new to this ,i have gone thru this forum and did some search on google too but the part that am not getting is suppose my development db already created with same tablespaces name and size and containes every schema as that of source and has data in it which is refreshed earlier, so do i need to wipe out everything and do it right from scratch(create db,tablespace,users) or just wipe out tables and import with (ignore=Y) .Any feedback would be apperciated.
    Thanks

    <p class="MsoNormal">Hi,</p>
    <p class="MsoNormal"> </p>
    <p class="MsoNormal">>> do i need to wipe out everything and do it right from
    scratch(create db,tablespace,users)</p>
    <p class="MsoNormal"> </p>
    <p class="MsoNormal">Well you have choices, and you can do whatever you want,
    but there are some “best practices”.  I’m assuming that you are copying your
    PROD database into DEV (a great practice to have a full-sized production system
    the TEST and DEV):</p>
    <p class="MsoNormal"> </p>
    <p class="MsoNormal">- You can restore PROD into TEST using RMAN.</p>
    <p class="MsoNormal"> </p>
    <p class="MsoNormal">- You can use the
    <a style="color: blue; text-decoration: underline; text-underline: single" href="http://download-east.oracle.com/docs/html/B16227_02/oui7_cloning.htm">
    Oracle Universal Installer</a> to clone a database.</p>
    <p class="MsoNormal"> </p>
    <p class="MsoNormal">- You can “<a style="color: blue; text-decoration: underline; text-underline: single" href="oracle_tips_db_copy.htm">clone
    the whole database</a>”, moving the current datafiles and recreating the
    instance</p>
    <p class="MsoNormal"> </p>
    <p class="MsoNormal">- You can export from PROD, truncate the tables in DEV
    (after a backup) and import IGNORE=Y.  This can be very slow, especially for a
    large database.  However, there are some
    <a style="color: blue; text-decoration: underline; text-underline: single" href="http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1240595435323">
    tips to speed-up imports</a>.</p>
    <p class="MsoNormal"> </p>
    <p class="MsoNormal">Check the
    <a style="color: blue; text-decoration: underline; text-underline: single" href="http://search.oracle.com/">
    Oracle docs</a>.  Also, Dave Moore has a book on
    <a style="color: blue; text-decoration: underline; text-underline: single" href="http://www.amazon.com/Oracle-Utilities-Programs-Oradebug-Dbverify/dp/0972751351">
    Oracle Utilities</a> that you might like.</p>
    Hope this helps . . . .
    Don Burleson
    <p>
    www.dba-oracle.com

  • Copy Page/region (incl. elements...) to application ( using exp/imp page) ?

    question and enhancement request(!) -
    some customers/prospects claim teamworking / reusable components. goal is to use a page (including its components like regions,processes,items,...) in another application - could realized by exp/imp if we can do it.
    This would improve reusability and also teamworking.
    I work together with a collegue on an application at htmldb.oracle.com. We exported the appl. and work on our local databases at different tasks by different pages.
    But how we can reimport our results?

    Lutz,
    It's kind of difficult, but Raj described a procedure here: Synonyms
    We are aware of the potential value of being able to copy pages between applications and are looking at ways to provide that in future versions of HTML DB.
    Scott

  • Best way of using exp/imp

    Dear all,
    I wanted to migrate database from 8i to 11g(8.1.5 to 11.1.0). I am going for exp/imp method. Which is the best method of doing this task? I mean Full export and Import Or Schemawise export and import? Is there any chances of missing objects or rows while doing this task? If yes, How to avoid? Please help me to take a best decision. I dont want any problem after migration.
    Approach is (take exp of 8.1.5 and imp in 9.2.0) then (exp of 9.2.0 and imp it to 11.1.0.6)
    OS is HP Unix
    Nishant Santhan

    Have you not yet completed this task? As we have already answered to your question a couple of days back.
    Take a look at the similar duplicate thread created by you.
    Re: Migrating from 8i to 11g
    Regards,
    Sabdar Syed.

  • Using exp imp on 11i apps database

    Hi,
    Does anyone have experience in using exp and imp utility on 11i apps database? Is there any special method to achieve this.
    I want to do a full export and do an import.
    Do we get any performance benefits if we do this?
    Regards,
    SA

    Hi Sa;
    Does anyone have experience in using exp and imp utility on 11i apps database? Is there any special method to achieve this. You want to take exp imp for which issue?
    I want to do a full export and do an import.Follow:
    10g Export/Import Process for Oracle Applications Release 11i [ID 331221.1]
    Export/import process for R12 using 11gR1 [ID 741818.1]
    Do we get any performance benefits if we do this?It depends many segment but finaly u will make one process on server and it has cost,answer you can have some performance issue while you are taking exp-imp
    Regard
    Helios

  • Schema Refresh using exp/imp.

    Hello All,
    I want to perform Schema Refresh of SAMPLE user from producation to Testing envrionment using export/import.
    Cud u plz tell what is the command to perform it ?
    Also Cud anyone plz tell me whether same user(SAMPLE) in Test environment gets dropped before Import done.
    Can i Perform the exp/imp using sys/system or user SAMPLE?

    tvenkatesh07 wrote:
    Hello All,
    I want to perform Schema Refresh of SAMPLE user from producation to Testing envrionment using export/import.
    Cud u plz tell what is the command to perform it ?
    Also Cud anyone plz tell me whether same user(SAMPLE) in Test environment gets dropped before Import done.
    Can i Perform the exp/imp using sys/system or user SAMPLE?If you're runnnig 10g, then use Data Pump and read the documentation:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#i1007466
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#i1007653
    My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/

  • Using exp/imp appears to fail

    Hello Everyone.
    We are trying to export a set of table from one Oracle Database to another and have come across a problem.
    Exporting via PL/SQL developer (v7) appears to be fine but when we try to import the generated .dmp file using the imp tool, it fails with this error:
    IMP-00017: following statement failed with ORACLE error 905:
    "CREATE TABLE "GEOM_TABLE" ("UUID" VARCHAR2(36) NOT NULL ENABLE, ""
    "NAME" VARCHAR2(50), "ORDINATES" "MDSYS"."SDO_GEOMETRY", "DRAWING_UUID" VARC"
    "HAR2(36))  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65"
    "536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "GEOM_SPACE"
    "" LOGGING NOCOMPRESS VARRAY "ORDINATES"."SDO_ELEM_INFO" ELEMENT  STORE AS L"
    "OB  (ENABLE STORAGE IN ROW CHUNK 16384 RETENTION  CACHE  STORAGE(INITIAL 65"
    "536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)) VARRAY "ORDINATES"."
    ""SDO_ORDINATES" ELEMENT  STORE AS LOB  (ENABLE STORAGE IN ROW CHUNK 16384 R"
    "ETENTION  CACHE  STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER"
    "_POOL DEFAULT)) COLUMN "ORDINATES" NOT SUBSTITUTABLE AT ALL LEVELS "
    IMP-00003: ORACLE error 905 encountered
    ORA-00905: missing keyword
    This only appears to happen when there is a reference to MYSYS.SDO_GEOMETRY. It is preventing the data migration from completing so does anyone have any ideas?
    Thanks in advance.

    Hi,
    Table is based on type MDSYS.SDO_GEOMETRY (Spatial Data Types and Metadata), Check spatial is configured on your Target database and you have privilege to access that object using your schema.
    HTH

  • How to use exp,imp in oracle 8i version....

    Hi developer ...
    I am using oracle 8i version in windows xp platform. Can you please explain how to export and import my tables in to export.txt file.
    with
    Regards
    sure...:)--

    Hi,
    Did you want to downgrade from 8i to 7.0, 7.3 and 8.0 ?
    To downgrade, you need to use the export utility from the target database.
    So, you will need three export files :
    Run the 7.0 export to export from the 8i database, and import into a 7.0 database with the 7.0 import utility.
    Same for 7.3 and 8.0 database.
    More info into metalink note : Compatibility Matrix for Export & Import Between Different Oracle Versions - Note:132904.1
    Nicolas.

  • Use exp/imp to migrate a database

    hi,
    I want to migrate a database from window to hp unix,
    Can I use the following way? thanks!
    First,exp from windows:
    1.exp the schema without data
    2.exp the whole database with data
    Second,imp to unix:
    1.use dbca to create a database;
    2.imp the schema
    3 imp the data to all schema.

    Yes. Just make sure that you do a binary file transfer between windows and unix system otherwise you will end up with a corrupted dump.
    Even after transfer, just to make sure, you can have a trial import with indexfile and show options to check the integrity of the dump.
    Probably you can merge steps 2 and 3 of import in 1 step.

  • How to upgrade 7941 to use SIP

    Hello,
    I would like to upgrade 7941 to Sip (attached). I have used tftp32 on my  Windows 7 and i have configured DHCP into my tffp with other required option. I connected my pc and 7941 to P0E switch . I tried to boot my phone and watch Tftp server in order  to have some activity showing the upgrade process bu nothing happen. thanks for advising

    Hi, I met similar problem when I tried to upgrade my 7941G from SCCP to SIP. 
    I used to successfully upgrade a 7940G from SCCP to SIP with the tftp32 server. But, with 7941G, it seems the firmware files are much different.
    Now my 7941G  only showed a dark screen to me and stopped working. It looks the phone refused to pull the firmware from the server as I can't see any files happened. Maybe the firmware we had is not enough, I guess.

  • Exp/imp for upgrading database

    Hi,   Is it a good idea to use exp / imp to upgrade a database from 9i to 11g.To overcome parallel I plan to set ll tables degree to 8 manually and then start the export.Which is better conventional upgrade or exp/imp

    HI,
    Please check Oracle support id : How to Perform a Full Database Export Import during Upgrade, Migrate, Copy, or Move of a Database (Doc ID 286775.1)
    Thank you

  • Exp/imp related problem

    Hi all,
    I have one problem in Oracle 9.2.0.8 onRHEL4. Iwant to use exp/imp to update one table from one server to another.
    Suppose I have one table abc on A server and it is having around 1 million records and another B server is also having the same no. of records and some of the record have been changed to A server and i also want to imp the same record to another server B.Is there any paramneter in IMP.
    Please suggest me.

    Hi,
    Kamran Agayev A. wrote:
    user00726 wrote:
    but how would i know which table has been updated or modifiedUsing MERGE funtion, you'll merge two tables. This command will updated changed rows and insert non-inserted rows to the second table and make it as the same as the first tableSQL> create table azar(pid number,sales number,status varchar2(20));
    Table created.
    SQL> create table azar01(pid number,sales number,status varchar2(20));
    Table created.
    SQL> insert into azar01 values(1,12,'CURR');
    1 row created.
    SQL> insert into azar01 values(2,13,'NEW');
    1 row created.
    SQL> insert into azar01 values(3,15,'CURR');
    1 row created.
    SQL> insert into azar values(2,24,'CURR');
    1 row created.
    SQL> insert into azar values(3,0,'OBS');
    1 row created.
    SQL> insert into azar values(4,42,'CURR');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select * from azar01;
    PID SALES STATUS
    1 12 CURR
    2 13 NEW
    3 15 CURR
    SQL> select * from azar;
    PID SALES STATUS
    2 24 CURR
    3 0 OBS
    4 42 CURR
    SQL> merge into azar01 a using azar b on (a.pid=b.pid) when matched
    2 then update set a.sales=a.sales + b.sales, a.status=b.status
    3 delete where a.status='OBS'
    4 when not matched
    5 then insert values(b.pid,b.sales,'NEW');
    3 rows merged.
    SQL> select * from azar01;
    PID SALES STATUS
    1 12 CURR
    2 37 CURR
    4 42 NEW
    Hello Sir, is this correct?
    Regards
    S.Azar
    DBA

  • Migrate oracle 9207 DB 8 TB size frm Solaris to AIX?dont want  Exp/Imp

    Hi Guys,PLz help
    I want migrate 8TB oracle database from Solaris 8 to AIX 5.
    In my last post on the same topic I was told to refer Metalink notes
    291024.1,Note:77523.1,Note:277650.1
    acc to these notes 'EXPORT/IMPORT IS THE ONLY OPTION TO MIGRATE FROM SOLARIS TO AIX'.
    I was not convinced as In http://dba.ipbhost.com/index.php?showtopic=9523
    I read
    "As both solaris and AIX are UNIX O/S, cloning the DB is also possible from source box to target box"
    Also
    whats the role of "If the endianness is the same"??????
    Can you guys plz comment on this again.....as I'm really confused because exp/imp of 8TB
    is going to take half of my life :)
    PLz tell in any other option in 9.2.0.7?If we have
    Thanx

    You can do
    SELECT PLATFORM_NAME, ENDIAN_FORMAT
          FROM V$TRANSPORTABLE_PLATFORMto check endianness of different platform.
    -- Note, the view is only on 10g and above.
    datafiles from different endian format can't be directly copied over and use. On 10g you have option to use RMAN convert endianness.
    with that said, since Solaris and AIX are all big engianness. That means you can directly copy datafiles over and clone database without using exp/imp.
    this article has a list of how to clone
    http://www.dba-oracle.com/oracle_tips_db_copy.htm

Maybe you are looking for

  • Best Progam for Processing Tiffs

    I am a professional photographer that has been using Aperture, Canon photo Professional and Capture One Pro. Now that all are Intel I have found advantages of all. C1 Pro wins by far for color with a promise of version 4 that has better color. Apertu

  • No system preferences from apple drop down menu

    no system preferences from apple drop down menu

  • Can't play existing songs that I could play before

    HELP - Have been running i-tunes for over 2 years and now I can't play any song in my library that I imported from a CD. They all have .mp4a after them and are shown as MPEG-4 files. I think this may have happened when I downloaded the latest media p

  • Automatically authenticate reverse proxy on ML web server

    My Mini server is running 10.8.2. I've set apache up to reverse proxy several web cameras and I then force authentication to the domain via a group. However the cameras have their own authentication that I can't circumvent. Is there a way to authenti

  • ICloud and Keychain Conflict on iMac

    When I try to login to iCloud for the first time on my new iMac (I have never had a Mac computer, or an iCloud account), I get "a keychain cannot be found to store..." and then some numbers, and I cannot login.  How can I get iCloud to work?