Solved

Oracle 7.3.4 on Solaris 2.7 - Export File Size Limit

Posted on 2001-09-10
5
615 Views
Last Modified: 2013-12-05
We have several Oracle 7.3.4 databases running on Solaris 2.7.  During my full database exports, I receive error messages EXP-00002, which means that I have hit the physical file limit on the server.  The limit for file size is set to Infinity on the OS side.  Is there a limit on the Oracle side?  What do I need to change?
0
Comment
Question by:120864
5 Comments
 

Expert Comment

by:iamlhb
ID: 6472847
It's not oracle limit!
You can change the OS level file size by kernel parameter!
If you have the file size limit, you can use the split command on the UNIX!
More detail usage exist on Metalink!
0
 
LVL 1

Expert Comment

by:balasubram
ID: 6473509
Hi,
On your export script please check whether the 'COMPRESS=Y' exists or else add it.
This should be helpful for exports more than 2GB in size.
Bala
0
 

Expert Comment

by:yo_hou
ID: 6474847
You can specify filesize parameter and enough numbers of file name.
0
 
LVL 1

Accepted Solution

by:
marek_wiechula earned 50 total points
ID: 6475809
The COMPRESS=Y recommended by balasubram makes not difference to the size of the exported dump file.  It is an option which allows you to combine all your extents for each table/index into one extent.  So if you have table ABC with 5 extents and 500K of assigned disk space, then you end up with 1 extent of 500K.  

We use Oracle on Solaris and we had a problem that even if the OS file system allowed files > 2GB the Oracle software had problems with it.  We found that we could pipe our exports and avoid the problem  This is because when Oracle is writing to a named pipe it doesn't really know how big the file is, it just passes the export information along.  Since we were already going to that much trouble we put in another command to compress the export file on the fly and save some space while we were at it.

Basically we do something like this:

{set Oracle sid, locate to correct directory etc. etc.}
mknod export_pipe p
cat export_pipe | compress > export.dmp &
exp user/password file=export_pipe log=export_log <other export parameters>

In fact, in our environment, it is a little more complicated because we have UNIX variables (with embeded ORACLE_SID values) for the file and pipe names and additional code to identify where the cat export_pipe and compress processes are correctly terminated at the end of the export.

It is a little simpler in that we run this from a UNIX user who is also an externally identified DBA user in Oracle so we don't have to supply user or password, just the /.  

Also as a matter of interest we ALWAYS use COMPRESS=N.  We feel that the major reason for taking exports is as quick route to recovering any single table that might be accidentally dropped or corrupted.  To make quick use of that we may want to put the table back into the same space it used to use and we cannot guarantee that we can find a single piece of free space large enough to hold the whole table.  (Well we can guarantee it if we are willing to increase the tablespace size but we often aren't.)
0
 

Author Comment

by:120864
ID: 6477800
I incorporated your suggestions into my current script which exports all of our databases.  This works great.  Although it took some time, my import of a table from one of these files worked also.

Thank you.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now