欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

ORA-00600: internal error code, arguments: [4194]解决方法

程序员文章站 2022-06-13 20:38:17
...

发现告警日志里有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