Solved

ORA01631 max# of extents reached

Posted on 1998-09-29
4
783 Views
Last Modified: 2008-02-20
What is the best way to overcome this problem?
I am using Oracle 7.2.3.0.0 on a HP9000 Unix box
Max # of extents is 249
One of our tables, which has foreign key links to other tables, has reached its extents limit.
I do not have enough disk space in order to export this table, and re-import it with larger extent size.
Apart from buying new disks, is there a way to compress the extents within the table or tablespace without exporting the data, or
is there a way to export to a file onto a tape, if I made the tape a mountable device?
Thanx
0
Comment
Question by:SteveC777
[X]
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
  • 2
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
eracero earned 10 total points
ID: 1081794
If you are using HP-UX 10.x, just type:

exp <userid>/<password> FILE=/dev/rmt/0m TABLES=<your table>

This command export the specified table to tape. Then drop the table.
In order to import the table again, just type:

imp <userid>/<password> FILE=/dev/rmt/0m TABLES=<your table>

If you perform the import in that way, and yoou don't create the table, Oracle create it for you and put all it's data in one extent.
Then you can change the value for the next extent.

(Please note that /dev/rmt/0m is the default tape device in most HP-UX systems, check if this work in your machine, and change it if necessary)

If you wish to verify if the table was exported before drop it, type:

imp <userid>/<password> SHOW=y FILE=/dev/rmt/0m TABLES=<your table>

0
 

Author Comment

by:SteveC777
ID: 1081795
Thats a good answer, but like I said its a HP9000, not a HP UX 10.x
I'll try your answer out, and if it doesnt work, I'll post another question about it.
0
 
LVL 1

Expert Comment

by:eracero
ID: 1081796
HP-UX is the Operating System that runs on the HP9000 box.
HP9000 is the name of the machine (You can have some models of HP9000, but is allways a box).
HP-UX is the Operating System's name and the most common version is 10.20.
that's why I ask you if you are using HP-UX 10.x.
0
 

Author Comment

by:SteveC777
ID: 1081797
Thanks, I'll have a look when I get back to work next Thursday
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
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 how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

730 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