Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ORA01631 max# of extents reached

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

Industry Leaders: 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

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…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  â€¦
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

636 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