• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 789
  • Last Modified:

ORA01631 max# of extents reached

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
SteveC777
Asked:
SteveC777
  • 2
  • 2
1 Solution
 
eraceroCommented:
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
 
SteveC777Author Commented:
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
 
eraceroCommented:
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
 
SteveC777Author Commented:
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!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now