Home » RDBMS Server » Server Administration » max_extents almost reached
max_extents almost reached [message #53775] Thu, 10 October 2002 08:58 Go to next message
JOHN
Messages: 182
Registered: April 1998
Senior Member
Hi, I hope someone can help me here. It's probably a simple issue, but I am not sure how to handle it.
One of my largest tables in 8 (8.0.6.1.0 EE) is now at 970 extents. The max_extents is 1024.
Can I just alter the storage clause of this table with a new maxextents or are there some pittfalls in doiing that?
Thanks in advance !
Re: max_extents almost reached [message #53779 is a reply to message #53775] Thu, 10 October 2002 14:12 Go to previous messageGo to next message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
You can change the max extents to unlimited if you want - there is no problem at all. 970 extents is getting kind of high, but there is no need to panic. You should consider setting next_extent to a larger value to prevent having too many small extents. There is overhead in allocating extents(and releasing extents when you drop or truncate).

alter table A storage(next 1M maxextents null);

select table_name, next_extent, max_extents
from user_tables where table_name = 'A';
A 1048576 2147483645
Re: max_extents almost reached [message #53781 is a reply to message #53775] Thu, 10 October 2002 14:16 Go to previous messageGo to next message
Trifon Anguelov
Messages: 514
Registered: June 2002
Senior Member
Yes. You can do that with the following command:

ALTER TABLE user.table STORAGE(MAXEXTENTS UNLIMITED)
/

There are no issues or bugs as far as I know.

Hope that helps,

clio_usa
OCP - DBA

Visit our Web site

Re: max_extents almost reached [message #53817 is a reply to message #53775] Sun, 13 October 2002 12:11 Go to previous message
JOHN
Messages: 182
Registered: April 1998
Senior Member
Thank you both a lot for your comments !
I can sleep well now for this matter!
I just did what you both suggested, and oracle took it like a glass of beer. Thanks!
Previous Topic: Re: i Have dumps to clear all papers
Next Topic: Error - APP-FND-01270: Error generating Julian SYSDATE
Goto Forum:
  


Current Time: Thu Sep 19 17:03:23 CDT 2024