?
Solved

ORA01631 max# of extents reached

Posted on 1998-09-29
4
Medium Priority
?
785 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 20 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

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…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
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 explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
Suggested Courses

762 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