ORA-01552: non-system tablespace & amp; #39; xxxx & amp; #39; do not use system rollback segments

Source: Internet
Author: User

ORA-01552: non-system tablespace & #39; xxxx & #39; do not use system rollback segments

ORA-01552: non-system tablespace 'xxxx 'cannot use system rollback segments

Fault analysis:
The UNDO tablespace data file is damaged, causing the update operation to fail.

Troubleshooting:
The new undo tablespace is set to default and AUTO. The database is opened normally.

Microsoft Windows [version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C: \ Documents ents and Settings \ Administrator> sqlplus "/as sysdba"

SQL * Plus: Release 10.2.0.1.0-Production on Tuesday August 26 15:27:45 2014

Copyright (c) 1982,200 5, Oracle. All rights reserved.

Connect:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-Production
With the Partitioning, OLAP and Data Mining options

SQL> select open_mode from v $ database;

OPEN_MODE
----------
READ WRITE

SQL> show parameter undo

NAME TYPE VALUE
-----------------------------------------------------------------------------
Undo_management string MANUAL
Undo_retention integer 900
Undo_tablespace string UNDOTBS1
SQL> alter system set undo_management = auto scope = spfile;

The system has been changed.

SQL> shutdown immediate
The database has been closed.
The database has been detached.
The ORACLE routine has been disabled.
SQL> startup
The ORACLE routine has been started.

Total System Global Area 272629760 bytes
Fixed Size 1248476 bytes
Variable Size 88081188 bytes
Database Buffers 176160768 bytes
Redo Buffers 7139328 bytes
The database has been loaded.
ORA-00607: Internal error when changing data blocks
ORA-00600: Internal error code, parameter: [4194], [19], [13], [], [], [], [], [], []

SQL> shutdown abort
The ORACLE routine has been disabled.
SQL> conn/as sysdba
Already connected to the idle routine.

SQL> startup mount
The ORACLE routine has been started.

Total System Global Area 272629760 bytes
Fixed Size 1248476 bytes
Variable Size 88081188 bytes
Database Buffers 176160768 bytes
Redo Buffers 7139328 bytes
The database has been loaded.
SQL> show parameter undo

NAME TYPE VALUE
-----------------------------------------------------------------------------
Undo_management string AUTO
Undo_retention integer 900
Undo_tablespace string UNDOTBS1

SQL> alter system set undo_management = manual scope = spfile;

The system has been changed.

SQL> shutdown immediate;
ORA-01109: the database is not open

The database has been detached.
The ORACLE routine has been disabled.
SQL> startup
The ORACLE routine has been started.

Total System Global Area 272629760 bytes
Fixed Size 1248476 bytes
Variable Size 88081188 bytes
Database Buffers 176160768 bytes
Redo Buffers 7139328 bytes
The database has been loaded.
The database has been opened.
SQL> select name from v $ datafile;

NAME
--------------------------------------------------------------------------------


E: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ ORACLE \ SYSTEM01.DBF
E: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ ORACLE \ UNDOTBS01.DBF
E: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ ORACLE \ SYSAUX01.DBF
E: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ ORACLE \ USERS01.DBF
E: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ ORACLE \ EXAMPLE01.DBF
E: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ ORACLE \ CCEN. ORA

You have selected 6 rows.

SQL> create undo tablespace undotbs2 datafile 'e: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \
ORACLE \ UNDOTBS02.dbf 'size 200 m;

The tablespace has been created.

SQL> show parameter undo;

NAME TYPE VALUE
-----------------------------------------------------------------------------
Undo_management string MANUAL
Undo_retention integer 900
Undo_tablespace string UNDOTBS1
SQL> alter system set undo_tablespace = undotbs2 scope = spfile;

The system has been changed.

SQL> alter system set undo_management = auto scope = spfile;

The system has been changed.

SQL> show parameter spfile;

NAME TYPE VALUE
-----------------------------------------------------------------------------
Spfile string E: \ ORACLE \ PRODUCT \ 10.2.0 \ DB_1 \
DATABASE \ SPFILEORACLE. ORA
SQL> shutdown immediate;
The database has been closed.
The database has been detached.
The ORACLE routine has been disabled.
SQL> startup
The ORACLE routine has been started.

Total System Global Area 272629760 bytes
Fixed Size 1248476 bytes
Variable Size 88081188 bytes
Database Buffers 176160768 bytes
Redo Buffers 7139328 bytes
The database has been loaded.
The database has been opened.
SQL> show parameter undo

NAME TYPE VALUE
-----------------------------------------------------------------------------
Undo_management string AUTO
Undo_retention integer 900
Undo_tablespace string UNDOTBS2
SQL>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.