Home » RDBMS Server » Server Administration » Extent rollback segment (ora 1562)
Extent rollback segment (ora 1562) [message #53812] Sat, 12 October 2002 04:28 Go to next message
M. Oudeman
Messages: 4
Registered: October 2002
Junior Member
I get "ORA-01562: failed to extend rollback segment number" when trying to perform a operation.

The actual RB-egment has a max_extend of 121.

I tried to alter this:
"SQL> alter rollback segment rb1 storage (maxextents 1000);"

But then I get:
"ORA-01681: Parameter unlimited_rollback_segments must be set to TRUE for this operation
ORA-02226: invalid MAXEXTENTS value (max allowed: 121)"

Does anyone know what I should do now?

Thanks.
Re: Extent rollback segment (ora 1562) [message #53815 is a reply to message #53812] Sat, 12 October 2002 11:22 Go to previous messageGo to next message
Trifon Anguelov
Messages: 514
Registered: June 2002
Senior Member
Drop and re-create your rollback segment with the desired MAXEXTENTS parameter.

One thing to watch out is either someone from your users is currently using this RBS. Ready to use script for that could be found Here

Hope that helps,

clio_usa
OCP - DBA

Visit our Web site

Re: Extent rollback segment (ora 1562) [message #53820 is a reply to message #53815] Sun, 13 October 2002 20:35 Go to previous messageGo to next message
Trifon Anguelov
Messages: 514
Registered: June 2002
Senior Member
Here is what the docs are telling us:

Parameter: UNLIMITED_ROLLBACK_SEGMENTS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Parameter type: string
Default value: FALSE
Range of values: TRUE / FALSE

Description:
~~~~~~~~~~~~

This must be set to TRUE to use UNLIMITED EXTENT FORMAT blocks for rollback segments. Eg: If MAXEXTENTS for the DB has a max value of 121 (2K block size) then to use a storage clause with MAXEXTENTS higher than this requires this parameter be set to TRUE.

Hope that helps,

clio_usa
OCP - DBA

Visit our Web site

Re: Extent rollback segment (ora 1562) [message #53837 is a reply to message #53820] Mon, 14 October 2002 11:40 Go to previous messageGo to next message
M. Oudeman
Messages: 4
Registered: October 2002
Junior Member
How can I give the parameter UNLIMITED_ROLLBACK_SEGMENTS the value TRUE.

Is there a SQL-command for this?
Is this a registry option?

Thanks,

Martijn Oudeman
Re: Extent rollback segment (ora 1562) [message #53848 is a reply to message #53820] Mon, 14 October 2002 19:08 Go to previous messageGo to next message
Trifon Anguelov
Messages: 514
Registered: June 2002
Senior Member
Open your init.ora file and add the line:

UNLIMITED EXTENT FORMAT = TRUE

Saev the file and restart your database instance. Now the parameter would be setup.

Hope that helps,

clio_usa
OCP - DBA

Visit our Web site

Re: Extent rollback segment (ora 1562) [message #53878 is a reply to message #53820] Tue, 15 October 2002 11:49 Go to previous messageGo to next message
M. Oudeman
Messages: 4
Registered: October 2002
Junior Member
This is tougher than you think.

I searched my machine and found that I do not have a ora.init file.

I did place a txt-file in the Ora95/bin (and ora95/database directory (in this directory the datafile are located) and started the instance but did not help.
I am running a personal oracle database version 7.3.4.

Do you have clues where I should put this file?
Re: Extent rollback segment (ora 1562) [message #53882 is a reply to message #53820] Tue, 15 October 2002 21:39 Go to previous message
M. Oudeman
Messages: 4
Registered: October 2002
Junior Member
This is tougher than you think.

I searched my machine and found that I do not have a ora.init file.

I did place a txt-file in the Ora95/bin (and ora95/database directory (in this directory the datafile are located) and started the instance but did not help.
I am running a personal oracle database version 7.3.4.

Do you have clues where I should put this file?
Previous Topic: patch question
Next Topic: HELP!! - Missing DB service
Goto Forum:
  


Current Time: Thu Sep 19 17:09:28 CDT 2024