ORacle 9i  table backup

Posted on 2011-02-25
Last Modified: 2012-06-21
How can I a backup tables which are big, that is more than 125 GB?
I tried using the exp utility without any success.
Can somebody give me steps to do this and the imp steps too..
Note: The export has to be from a 9i database and import will be done in 11g database.

Question by:D-pk
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34981308
Why did exp fail?  export file to large?

What OS?

Author Comment

ID: 34981343
These were the errors I got..

EXP-00002: error in writing to export file
EXP-00002: error in writing to export file
EXP-00000: Export terminated unsuccessfully

I am able to do smaller tables, but the tables which 125GB, it gives me the above errors.
OS is Linux. (I gave uname -a, if that is correct)

LVL 77

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 334 total points
ID: 34981417
You need to set up a large file filesystem:

Create a named pipe, export using it then split the output:

try the following (I don't have access to fully test this):

mkfifo pipe

then: exp file=pipe tables=(largetable)

from another window:
split –bytes=1000m pipe myExpPiece
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

LVL 77

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 334 total points
ID: 34981430
Before you do all that:  Check the obvious and see if you have enough free space in the filesystem...

Accepted Solution

D-pk earned 0 total points
ID: 34981575
what if I export the dump in to my local PC (Windows XP), does the windows system has that restriction?

exp USERID=usr/pwd TABLES=big_table_125gb  FILE=C:\TABLES_DUMPS\big_table_125gb.dmp

I tried this but its still trying to create it in the unix server itself...
Lets say if I try in the command prompt..
For ex:
exp USERID=usrname/pwd@ TABLES=big_table_125gb FILE=C:\TABLES_DUMPS\big_table_125gb.dmp
it gives me errors like:

EXP-00056: ORACLE error 12514 encountered
ORA-12514: TNS:listener does not currently know of service requested in connect
EXP-00000: Export terminated unsuccessfully

Do I have to give any port numbers or any other parameters to work?

LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34981601
>>does the windows system has that restriction?

It shouldn't but you have network lag time built into the time.

>>ORA-12514: TNS:listener does not currently know of service requested in connect

You need to use a database alias from your tnsnames.ora file.  If you don't know how to configure your client, it will need to be a separate question.

Assisted Solution

gopisera earned 166 total points
ID: 34985907
Adding to above

Add the tns entry  in your oracle home of windows and then try using with that tns entry

<addressname> =
     (ADDRESS = (PROTOCOL = TCP)(Host = <hostname>)(Port = <port>))
   (SERVICE_NAME = <sid>)

exp USERID=usr/pwd@<addressname>   TABLES=big_table_125gb  FILE=C:\TABLES_DUMPS\big_table_125gb.dmp

Make sure that the exp  profile is set to 11.  Since,  You are importing into a 11g database.  :)


Author Closing Comment

ID: 35042618

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question