Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to increase maxextents of ROLLBACK segment_type?

RE: How to increase maxextents of ROLLBACK segment_type?

From: Mark Leith <mark_at_cool-tools.co.uk>
Date: Wed, 28 Aug 2002 03:58:20 -0800
Message-ID: <F001.004C130B.20020828035820@fatcity.com>


Jonny

The SYSTEM rollback segment is/was created initially on a database build, and the recommendation has always been to add extra rollback segments straight away for normal transactional processing. You really *should* have other rollback segments available for your users.. What output do you get from the following SQL:

select segment_name, status from dba_rollback_segs;

To further answer your question the statement should be:

alter rollback segment system storage (maxextents 1024);

Note: you don't have to qualify that it's "sys.system"..

And to forestall you should you get a further error (ORA-02226: invalid MAXEXTENTS value (max allowed: 505)):

alter rollback segment system storage (maxextents 505);

HTH Mark
-----Original Message-----
Sent: 28 August 2002 12:33
To: Multiple recipients of list ORACLE-L

Mark,
Thanks, your command doesn't help. To answer your question, Database was setup'd by previous DBA. Still i've never seen this type of segment... SQL> alter rollback SEGMENT sys.system storage (maxextents 1024); alter rollback SEGMENT sys.system storage (maxextents 1024)

                          *

ERROR at line 1:
ORA-02244: invalid ALTER ROLLBACK SEGMENT option

Jonny
  Mark Leith <mark_at_cool-tools.co.uk> wrote: Do you mind if I ask why? Do you have any other rollback segments in place other than the SYSTEM one?

In answer to your question though, look at the error message.. You missed out the word "segment".

alter rollback SEGMENT sys.system storage (maxextents 1024);

HTH Mark



Mark Leith | T: +44 (0)1905 330 281
Sales & Marketing | F: +44 (0)870 127 5283 Cool Tools UK Ltd | E: mark_at_cool-tools.co.uk

http://www.cool-tools.co.uk
Maximising throughput & performance

-----Original Message-----
Sent: 28 August 2002 10:53
To: Multiple recipients of list ORACLE-L

Dear Gurus,
Could you please help me out with this - I want to increase the maxextents of below segment.
TIA,
SQL> select OWNER,SEGMENT_NAME! ! ,SEGMENT_TYPE,EXTENTS,MAX_EXTENTS 2 from dba_segments
3 where ((max_extents-extents)/max_extents)*100 <40 and max_extents != 0 4 /
OWNER SEGMENT_NAME SEGMENT_TYPE EXTENTS MAX_EXTENTS

------ --------------- ------------------ ---------- -----------
SYS SYSTEM ROLLBACK 505 505
SQL> connect sys
Enter password:
Connected.
SQL> alter ROLLBACK sys.system storage (maxextents 1024); alter ROLLBACK sys.system storage (maxextents 1024) *
ERROR at line 1:
ORA-01902: SEGMENT keyword expected

TIA
Jonny

Get a bigger mailbox -- choose a size that fits your needs.

http://uk.docs.yahoo.com/mail_storage.html

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Mark Leith
INET: mark_at_cool-tools.co.uk

Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
---------------------------! ! -----------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L

(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). Get a bigger mailbox -- choose a size that fits your needs. http://uk.docs.yahoo.com/mail_storage.html -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Mark Leith INET: mark_at_cool-tools.co.uk Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Wed Aug 28 2002 - 06:58:20 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US