Solved

ORA01631 max# of extents reached

Posted on 1998-09-29
4
763 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
  • 2
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
eracero earned 10 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks, I'll have a look when I get back to work next Thursday
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
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 explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

772 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

12 Experts available now in Live!

Get 1:1 Help Now