You are on page 1of 5

Council for Innovative Research www.cirworld.

com

International Journal of Networking & Parallel Computing Volume 1, Issue 1, September, 2012

WORKING OF IMPORT EXPORT IN ORACLE 10G


Amit Puri Assistant Professor, Department. of MCA GIMET Amritsar Paras Mehra Assistant Professor, BBK DAV College Amritsar Meenu Sharma MCA Prabhjot Kaur Guest Faculty, SGAD Govt. Collge Tarn Taran Abstract: Oracle 10g is one of the best Relational Database Management System used for managing the database in an effective way. One of the important tasks in database management is to take backup of the data and to restore it in case of database failure. Oracle 10g provides us the facility of import and export utility for doing the same. Import/Export utility is used to store data to and from the Oracle database. In this paper we are going to discuss how the data is backed up and restore by using the concept of Import Export utility of Oracle 10g. Oracle 10g has changed the concept of import export. In oracle 10g import export is performed with the help of Oracle Data Pump. Keywords: Import, Export, Backup, Restore, Database, RDBMS. 1. Introduction: Oracle 10g is one of the renowned names in the field of database technology. Oracle 10g support grid computing. In addition to supporting grid computing features such as resource sharing and automatic load balancing, 10g products automate many database management tasks. The Real Application Cluster (RAC) component makes it possible to install a database over multiple servers. 10g follows Oracle's 9i platform. Oracle says that the g (instead of the expected i) in the name symbolizes the company's commitment to the grid model. However, according to some reports, many early adopters are deploying 10g solely for its automation features and have no immediate plans of implementing a grid environment. 2. Import and export Utility in Oracle 10g The Export and Import utilities are used to move Oracle database tables and other objects from one database to another. The databases can be on the same platform or on different platforms. The Export (EXP) utility reads data from the Oracle9i database according to your request and writes an OS/390 sequential data set. Export is used to provide backups of the Oracle tables and database. It is also used to move data from one Oracle9i database to another. Imports and exports extract or insert an Oracle-readable copy of the actual data and structures in the database. The exports can be used to recover single data structures to the date and time the export was taken. Exports come in three types: full, cumulative, and incremental. Full, as its name implies, provides a full logical copy of the database and its structures. A cumulative provides a complete copy of altered structures since the last full or the last cumulative export. Incremental exports provide a complete copy of altered structures since the last incremental, cumulative, or full export. The Export utility has additional functions for users with Oracle DBA authority. For example, to perform incremental or cumulative Exports, DBA authority is required. The export/import utilities are commonly used to perform the following tasks: Backup and recovery Move data between Oracle databases on different platforms (for example from Solaris to Windows) Reorganization of data/ eliminate database fragmentation (export, drop and re-import tables) Upgrade databases from extremely old versions of Oracle (when in-place upgrades are not supported by the Database Upgrade Assistant any more) Detect database corruption. Ensure that all the data can be read Transporting tablespaces between databases

1|P ag e www.cirworld.com

Council for Innovative Research www.cirworld.com

International Journal of Networking & Parallel Computing Volume 1, Issue 1, September, 2012

Oracle Data Pump is a newer, faster and more flexible alternative to the "exp" and "imp" utilities used in previous Oracle versions. In addition to basic import and export functionality data pump provides a PL/SQL API and support for external tables. Limitations on Export/Import: A database must be running to perform either an export or import. Export files shouldnt be edited and can only be used by import. (Import only) imports full tables; it cant be used to do a conditional load. Exported data is only a logical copy of the data. An export can only allow recovery to the date and time the export was taken. Imports and exports are accomplished using the Oracle IMPORT and EXPORT utilities. Oracle Data Pump is the replacement for the original Export and Import utilities. Available starting in Oracle Database 10g, Oracle Data Pump enables very high-speed movement of data and metadata from one database to another. The Data Pump Export and Import utilities have a similar look and feel to the original utilities, but they are much more efficient and give you greater control and management of your import and export jobs. There are two new concepts in Oracle Data Pump that are different from original Export and Import. Directory Objects: Data Pump differs from original Export and Import in that all jobs run primarily on the server using server processes. These server processes access files for the Data Pump jobs using directory objects that identify the location of the files. The directory objects enforce a security model that can be used by DBAs to control access to these files. Interactive Command-Line Mode: Besides regular operating system command-line mode, there is now a very powerful interactive command-line mode. The following screen shots show how actual import export is done in Oracle 10g.

Figure 1

2|P ag e www.cirworld.com

Council for Innovative Research www.cirworld.com

International Journal of Networking & Parallel Computing Volume 1, Issue 1, September, 2012

Figure 2

Figure 3

Figure 4

3|P ag e www.cirworld.com

Council for Innovative Research www.cirworld.com

International Journal of Networking & Parallel Computing Volume 1, Issue 1, September, 2012

Figure 5

Figure 6

Figure 7

4|P ag e www.cirworld.com

Council for Innovative Research www.cirworld.com

International Journal of Networking & Parallel Computing Volume 1, Issue 1, September, 2012

References: 1. 2. 3. 4. 5. 6. 7. 8. 9. http://www.orafaq.com/wiki/Import_Export_FAQ. http://www.dba-oracle.com/concepts/imports_exports.htm http://docs.oracle.com/cd/B19306_01/server.102/b14215/toc.htm Manik Sharma ,Rachhpal singh,Fundamentals of DBMS and RDBMS, by kalyani publisher. Sanjay Mishra, Oracle Utilities Pocket Reference ,by O'Reilly Media Bert Scalzo, Donald K. Burleson, Steve Callan,Advanced Oracle Utilities,by Rampant Oracle In -Focus Series Hector R. Madr ,Oracle 10g/11g Data and Database Management Utilities, by PACKT Publishing Ben Prusinski; Steve Phillips; Richard Chung, Expert Oracle GoldenGate,by Apress Hector R. Madrid,Oracle 10g/11g Data and Database Management Utilities, by PACKT Publishing.

5|P ag e www.cirworld.com

You might also like