ORA-01552 :非系統資料表空間 'xxxx'不能使用系統回退段,ora-01552xxxx

來源:互聯網
上載者:User

ORA-01552 :非系統資料表空間 'xxxx'不能使用系統回退段,ora-01552xxxx


ORA-01552 :非系統資料表空間‘XXXX’不能使用系統回退段


故障分析:
UNDO資料表空間資料檔案受損,導致執行更新操作失敗。


故障解決:
建立的新的undo資料表空間,置為 預設,AUTO,正常開啟資料庫。


Microsoft Windows [版本 5.2.3790]
(C) 著作權 1985-2003 Microsoft Corp.


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


SQL*Plus: Release 10.2.0.1.0 - Production on 星期二 8月 26 15:27:45 2014


Copyright (c) 1982, 2005, Oracle.  All rights reserved.




串連到:
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;


系統已更改。


SQL> shutdown immediate
資料庫已經關閉。
已經卸載資料庫。
ORACLE 常式已經關閉。
SQL> startup
ORACLE 常式已經啟動。


Total System Global Area  272629760 bytes
Fixed Size                  1248476 bytes
Variable Size              88081188 bytes
Database Buffers          176160768 bytes
Redo Buffers                7139328 bytes
資料庫裝載完畢。
ORA-00607: 當更改資料區塊時出現內部錯誤
ORA-00600: 內部錯誤碼, 參數: [4194], [19], [13], [], [], [], [], []




SQL> shutdown abort
ORACLE 常式已經關閉。
SQL> conn /as sysdba
已串連到空閑常式。


SQL> startup mount
ORACLE 常式已經啟動。


Total System Global Area  272629760 bytes
Fixed Size                  1248476 bytes
Variable Size              88081188 bytes
Database Buffers          176160768 bytes
Redo Buffers                7139328 bytes
資料庫裝載完畢。
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;


系統已更改。


SQL> shutdown immediate;
ORA-01109: 資料庫未開啟




已經卸載資料庫。
ORACLE 常式已經關閉。
SQL> startup
ORACLE 常式已經啟動。


Total System Global Area  272629760 bytes
Fixed Size                  1248476 bytes
Variable Size              88081188 bytes
Database Buffers          176160768 bytes
Redo Buffers                7139328 bytes
資料庫裝載完畢。
資料庫已經開啟。
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


已選擇6行。


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


資料表空間已建立。


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;


系統已更改。


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


系統已更改。


SQL> show parameter spfile;


NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
spfile                               string      E:\ORACLE\PRODUCT\10.2.0\DB_1\
                                                 DATABASE\SPFILEORACLE.ORA
SQL> shutdown immediate;
資料庫已經關閉。
已經卸載資料庫。
ORACLE 常式已經關閉。
SQL> startup
ORACLE 常式已經啟動。


Total System Global Area  272629760 bytes
Fixed Size                  1248476 bytes
Variable Size              88081188 bytes
Database Buffers          176160768 bytes
Redo Buffers                7139328 bytes
資料庫裝載完畢。
資料庫已經開啟。
SQL> show parameter undo


NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
undo_management                      string      AUTO
undo_retention                       integer     900
undo_tablespace                      string      UNDOTBS2
SQL>


oracle測試題2

1。可以多列排序。
可以用別名排序。
2。有資料表空間的配額。
有建立表的許可權。
3。視圖可以簡化查詢的書寫。
視圖可以限制對資料的訪問。
視圖可以提高系統的效能。
4。CONTROL FILE。
DATAFILE。
REDO LOG FILE。
5。這個真不會
6。資料表空間可以通過擴大現有的檔案來闊容。
資料表空間的容量只能增大不能縮小。
7。回退段大小是固定的。
讀一致性由回退段來實現的。
 

相關文章

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.