发现告警日志里有ORA-00600: internal error code, arguments: [4194]错误。
发现告警日志里有ora-00600: internal error code, arguments: [4194]错误。
这种错误说明undo表空间有问题
解决如下:
SQL> create undo tablespace undotbs2 datafile '/oradata/jiaojie/undotbs02.dbf' size 2g;
create undo tablespace undotbs2 datafile '/oradata/jiaojie/undotbs02.dbf' size 2g
*
ERROR at line 1:
ORA-00607: Internal error occurred while making a change to a data block
ORA-00600: internal error code, arguments: [4194], [12], [6], [], [], [], [],
[]
SQL> create pfile='/home/Oracle/initjiaojie.ora' from spfile;
File created.
SQL> shutdown immediate
ORA-03113: end-of-file on communication channel
SQL>
SQL>
SQL>
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup pfile='/home/oracle/initjiaojie.ora';
ORACLE instance started.
Total System Global Area 2147483648 bytes
Fixed Size 2097624 bytes
Variable Size 1040191016 bytes
Database Buffers 1073741824 bytes
Redo Buffers 31453184 bytes
Database mounted.
Database opened.
SQL> create undo tablespace undotbs2 datafile '/oradata/jiaojie/undotbs02.dbf' size 2g;
create undo tablespace undotbs2 datafile '/oradata/jiaojie/undotbs02.dbf' size 2g
*
ERROR at line 1:
ORA-01543: tablespace 'UNDOTBS2' already exists
--没想到前边虽然报错,但却把UNDOTBS2创建起了
SQL> show parameter undo
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
undo_management string MANUAL
undo_retention integer 900
undo_tablespace string SYSTEM
SQL> alter system set undo_tablespace='undotbs2';
alter system set undo_tablespace='undotbs2'
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-30014: operation only supported in Automatic Undo Management mode
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 2147483648 bytes
Fixed Size 2097624 bytes
Variable Size 1040191016 bytes
Database Buffers 1073741824 bytes
Redo Buffers 31453184 bytes
Database mounted.
Database opened.
SQL> alter system set undo_tablespace='undotbs2';
System altered.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 2147483648 bytes
Fixed Size 2097624 bytes
Variable Size 1040191016 bytes
Database Buffers 1073741824 bytes
Redo Buffers 31453184 bytes
Database mounted.
Database opened.
SQL> show parameter undo
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
undo_management string AUTO
undo_retention integer 900
undo_tablespace string undotbs2
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号