ORA-01552: non-system tablespace 'xxxx 'cannot use system rollback segments, ora-01552xxxx
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>
Oracle Test Question 2
1. You can sort multiple columns.
Aliases can be used for sorting.
2. There is a tablespace quota.
You have the permission to create a table.
3. View can simplify query writing.
A view can restrict access to data.
View can improve the system performance.
4. Control file.
DATAFILE.
Redo log file.
5. No.
6. Tablespaces can be resized by expanding existing files.
The tablespace capacity can only be increased and cannot be reduced.
7. The size of the rollback segment is fixed.
Read consistency is achieved by rollback segments.