Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , ,

Sponsored Links



Import and export Utility in Oracle database

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 25-01-2010
Member
 
Join Date: Nov 2009
Posts: 56
Import and export Utility in Oracle database

I am having problem with export and import utility of oracle database and unable to perform exporting and importing of database.I am unable to create a flat file and accessing method.Can you help me with the explanation and steps of performing the exporting and importing of database.
Reply With Quote
  #2  
Old 25-01-2010
Member
 
Join Date: May 2008
Posts: 1,990
Import and export utility in Oracle

Oracle import and export utility is the feature provided by oracle database that is kept into $ORACLE_HOME/bin directory and it is installed automatically when oracle database is being installed . It's primary purpose is to move out and in logical object of the database.

Before executing these commands,$ORACLE_HOME, $ORACLE_SID and $PATH environment variables need to be set perfectely in Unix environment and if you are working in windows environment then the %ORACLE_SID% environment variable needs to be set.

If you are the normal user of the database and want to be facilitate from these utility then you should have exact grant from the super user of database (DBA).
Reply With Quote
  #3  
Old 25-01-2010
kelfro's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,976
Export Utility in Oracle database

Using Export Utility:

Exporting the whole database into a single file my_dba.dmp in the current directory.

Log in to server:

exp SYSTEM/password FULL=y FILE=my_dba.dmp LOG=my_dba.log CONSISTENT=y

Login into the server which already has an Oracle client:

exp {user}/{password} FIlE=hr.dmp OWNER=hr

Exporting of specific schema Object to disk:
- Login into the server which already has an Oracle client:

exp SYSTEM/password FIlE=exportdata.dmp TABLES=(hr.mine,scott.emp)

The above shows two user hr and Scott,we can do it for a single user.

exp {user}/{password} FILE=hr.dmp TABLES=(mine,family)
Reply With Quote
  #4  
Old 25-01-2010
Zecho's Avatar
Member
 
Join Date: May 2008
Posts: 2,267
Import Utility in Oracle database

Using Import Utility:

If your database has already exported and you need to import it then you need to follow these steps below:

imp SYSTEM/password FULL=y FIlE=my_dba.dmp

To import the mine and family from the hr schema:

imp SYSTEM/password FIlE=my_dba.dmp FROMUSER=hr TABLES=(mine,family)

To import the tables and need to change the owner:

imp SYSTEM/password FROMUSER=Ruser TOUSER=hr FILE=Ruser.dmp TABLES=(Dept,manager)
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Import and export Utility in Oracle database"
Thread Thread Starter Forum Replies Last Post
Top-N Analysis in Oracle database LaMarcus Software Development 3 28-01-2010 12:05 PM
Oracle Announces TimesTen In-Memory Database 11g and In-Memory Database Cache 11g prakashseth Web News & Trends 1 30-07-2009 05:58 PM
Export data from excel spreadsheet to an Oracle Table Kurtz Windows Software 2 13-05-2009 02:11 PM
Navicat New database import and export Zindin Software Development 2 04-04-2009 12:09 PM
DNS Import and export utility Kumar Windows Server Help 1 17-10-2008 09:33 AM


All times are GMT +5.5. The time now is 05:16 AM.