{"id":8607,"date":"2023-01-05T18:18:35","date_gmt":"2023-01-05T21:18:35","guid":{"rendered":"https:\/\/swiv.com.br\/?p=8607"},"modified":"2026-05-27T20:02:29","modified_gmt":"2026-05-27T19:02:29","slug":"ora-00600-internal-error-code-arguments-4194","status":"publish","type":"post","link":"https:\/\/swiv.com.br\/index.php\/2023\/01\/05\/ora-00600-internal-error-code-arguments-4194\/","title":{"rendered":"ORA-00600: internal error code, arguments: [4194], [],"},"content":{"rendered":"\n<p>Depois de um longo per\u00edodo sem escrever, eis me aqui novamente. Hoje, para compartilhar um caso do dia a dia.<\/p>\n\n\n\n<p>Uma inst\u00e2ncia Oracle ca\u00eda um pouco depois de sua inicializa\u00e7\u00e3o, e pod\u00edamos ver a seguinte mensagem no Alert.log:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nThu Dec 29 17:17:16 2022\nDumping diagnostic data in directory=&#x5B;cdmp_20221229171716], requested by (instance=1, osid=2479 (MMON)), summary=&#x5B;incident=671562].\nBlock recovery from logseq 117292, block 72 to scn 231911436605\nRecovery of Online Redo Log: Thread 1 Group 1 Seq 117292 Reading mem 0\n  Mem# 0: \/*\/*\/onlinelog\/redo01.log\nBlock recovery completed at rba 117292.74.16, scn 53.4278169919\nErrors in file \/u01\/app\/oracle\/diag\/rdbms\/trace\/a_pmon_2370.trc  (incident=671451):\nORA-00600: c\u00a6digo de erro interno, argumentos: &#x5B;4194], &#x5B;], &#x5B;], &#x5B;], &#x5B;], &#x5B;], &#x5B;], &#x5B;], &#x5B;], &#x5B;], &#x5B;], &#x5B;]\nUse ADRCI or Support Workbench to package the incident.\nSee Note 411.1 at My Oracle Support for error and packaging details.\nErrors in file \/u01\/app\/oracle\/diag\/rdbms\/trace\/a_pmon_2370.trc:\nORA-00600: c\u00a6digo de erro interno, argumentos: &#x5B;4194], &#x5B;], &#x5B;], &#x5B;], &#x5B;], &#x5B;], &#x5B;], &#x5B;], &#x5B;], &#x5B;], &#x5B;], &#x5B;]\nPMON (ospid: 2370): terminating the instance due to error 472\nSystem state dump requested by (instance=1, osid=2370 (PMON)), summary=&#x5B;abnormal instance termination].\nSystem State dumped to trace file \/u01\/app\/oracle\/diag\/rdbms\/trace\/a_diag_2380.trc\nDumping diagnostic data in directory=&#x5B;cdmp_20221229171719], requested by (instance=1, osid=2370 (PMON)), summary=&#x5B;abnormal instance termination].\nInstance terminated by PMON, pid = 2370\n<\/pre><\/div>\n\n\n<p>Ap\u00f3s algum per\u00edodo investigando no MOS, decidimos nos orientar a partir da Nota &#8220;<strong>Step by step to resolve ORA-600 4194 4193 4197 on database crash (Doc ID 1428786.1)<\/strong>&#8220;. Nela, \u00e9 reportado como causa um constrangimento entre os registros de Redo e Undo (que em alguns casos pode ser derivado de Bug ou de interrup\u00e7\u00e3o abrupta da instance).<\/p>\n\n\n\n<p>Conforme procedimento da nota, montamos o banco de dados, criamos um arquivo PFILE e baixamos a instance:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;oracle@host ] $ sqlplus \/ as sysdba\n\nSQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 30 10:05:55 2022\n\nCopyright (c) 1982, 2011, Oracle.  All rights reserved.\n\nConnected to an idle instance.\n\nSQL&gt; startup mount;\nORACLE instance started.\n\nTotal System Global Area 1068937216 bytes\nFixed Size                  2235208 bytes\nVariable Size             671089848 bytes\nDatabase Buffers          390070272 bytes\nRedo Buffers                5541888 bytes\nDatabase mounted.\nSQL&gt; create pfile=&#039;\/tmp\/bss.ora&#039; from spfile;\n\nFile created.\n\nSQL&gt; shu immediate;\nORA-01109: base de dados n?o aberta\n\n\nDatabase dismounted.\nORACLE instance shut down.\nSQL&gt; exit\n<\/pre><\/div>\n\n\n<p>Neste arquivo PFILE, adicionamos 2 par\u00e2metros conforme abaixo:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n*.undo_management=&#039;manual&#039;\n*.event=&#039;10513 trace name context forever, level 2&#039;\n<\/pre><\/div>\n\n\n<p>Inicializamos a inst\u00e2ncia em modo restrito usando o PFILE editado:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;oracle@host ] $ sqlplus \/ as sysdba\n\nSQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 30 10:23:04 2022\n\nCopyright (c) 1982, 2011, Oracle.  All rights reserved.\n\nConnected to an idle instance.\n\nSQL&gt; startup restrict pfile=&#039;\/tmp\/bss.ora&#039;;\nORACLE instance started.\n\nTotal System Global Area 1068937216 bytes\nFixed Size                  2235208 bytes\nVariable Size             671089848 bytes\nDatabase Buffers          390070272 bytes\nRedo Buffers                5541888 bytes\nDatabase mounted.\nDatabase opened.\n<\/pre><\/div>\n\n\n<p>O resultado da consulta abaixo vai determinar os pr\u00f3ximos passos. Haver\u00e1 sempre um registro vinculado com a tablespace SYSTEM com status ONLINE. Se houver outros segmentos com status &#8220;PARTLY AVAILABLE&#8221; ou &#8220;NEEDS RECOVERY&#8221;, \u00e9 necess\u00e1rio a abertura de um chamado na Oracle. Se estiverem OFFLINE, ou n\u00e3o for reportado mais segmentos (que foi o nosso caso), pode-se seguir:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; select tablespace_name, status, segment_name from dba_rollback_segs where status != &#039;OFFLINE&#039;;\n\nTABLESPACE_NAME                STATUS           SEGMENT_NAME\n------------------------------ ---------------- ------------------------------\nSYSTEM                         ONLINE           SYSTEM\n<\/pre><\/div>\n\n\n<p>O pr\u00f3ximo passo \u00e9 criar uma nova tablespace de UNDO. Antes de sua cria\u00e7\u00e3o, obtemos as informa\u00e7\u00f5es m\u00ednimas da tablespace atual:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSELECT a.tablespace_name, SIZEMB, USAGEMB, (SIZEMB - USAGEMB) FREEMB\nFROM ( SELECT SUM (bytes) \/ 1024 \/ 1024 SIZEMB, b.tablespace_name\nFROM dba_data_files a, dba_tablespaces b\nWHERE a.tablespace_name = b.tablespace_name AND b.contents like &#039;UNDO&#039;\nGROUP BY b.tablespace_name) a,\n( SELECT c.tablespace_name, SUM (bytes) \/ 1024 \/ 1024 USAGEMB\nFROM DBA_UNDO_EXTENTS c\nWHERE status &amp;lt;&gt; &#039;EXPIRED&#039;\nGROUP BY c.tablespace_name) b\nWHERE a.tablespace_name = b.tablespace_name;\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; SELECT a.tablespace_name,\nSIZEMB,\nUSAGEMB,\n(SIZEMB - USAGEMB) FREEMB\nFROM ( SELECT SUM (bytes) \/ 1024 \/ 1024 SIZEMB, b.tablespace_name\nFROM dba_data_files a, dba_tablespaces b\n  2    3    4    5    6    7  WHERE a.tablespace_name = b.tablespace_name AND b.contents like &#039;UNDO&#039;\nGROUP BY b.tablespace_name) a,\n( SELECT c.tablespace_name, SUM (bytes) \/ 1024 \/ 1024 USAGEMB\nFROM DBA_UNDO_EXTENTS c\nWHERE status &amp;lt;&gt; &#039;EXPIRED&#039;\nGROUP BY c.tablespace_name) b\nWHERE a.tablespace_name = b.tablespace_name;  8    9   10   11   12   13\n\nTABLESPACE_NAME                    SIZEMB    USAGEMB     FREEMB\n------------------------------ ---------- ---------- ----------\nUNDOTBS1                            28564     37,125  28526,875\n<\/pre><\/div>\n\n\n<p>Criando nova tablespace (em nosso caso com o mesmo tamanho da atual, por termos espa\u00e7o suficiente):<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; CREATE UNDO TABLESPACE UNDOTBS DATAFILE &#039;****\/datafile\/undotbs.dbf&#039; SIZE 28564M;\n\nTablespace created.\n<\/pre><\/div>\n\n\n<p>Deletando a tablespace atual:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; drop tablespace UNDOTBS1 including contents and datafiles;\n\nTablespace dropped.\n<\/pre><\/div>\n\n\n<p>Baixando a inst\u00e2ncia, e montando o banco de dados com o SPFILE original. Ap\u00f3s isso, alterando o seu par\u00e2metro com a nova tablespace de UNDO. Ao realizar o restart da inst\u00e2ncia, pudemos ver que n\u00e3o tivemos mais os erros reportados no Alert.log, al\u00e9m da nossa inst\u00e2ncia n\u00e3o ser abortada automaticamente como antes:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; SHU IMMEDIATE;\nDatabase closed.\nDatabase dismounted.\nORACLE instance shut down.\nSQL&gt; STARTUP NOMOUNT;\nORACLE instance started.\n\nTotal System Global Area 1068937216 bytes\nFixed Size                  2235208 bytes\nVariable Size             671089848 bytes\nDatabase Buffers          390070272 bytes\nRedo Buffers                5541888 bytes\nSQL&gt; Alter system set undo_tablespace = &#039;UNDOTBS&#039; scope=spfile;\n\nSystem altered.\n\nSQL&gt; SHU IMMEDIATE;\nORA-01507: base de dados n?o montada\n\n\nORACLE instance shut down.\nSQL&gt; STARTUP;\nORACLE instance started.\n\nTotal System Global Area 1068937216 bytes\nFixed Size                  2235208 bytes\nVariable Size             671089848 bytes\nDatabase Buffers          390070272 bytes\nRedo Buffers                5541888 bytes\nDatabase mounted.\nDatabase opened.\nSQL&gt; ALTER SYSTEM CHECKPOINT;\n\nSystem altered.\n\nSQL&gt;\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Depois de um longo per\u00edodo sem escrever, eis me aqui novamente. Hoje, para compartilhar um caso do dia a dia. Uma inst\u00e2ncia Oracle ca\u00eda um pouco depois de sua inicializa\u00e7\u00e3o, e pod\u00edamos ver a seguinte mensagem no Alert.log: Ap\u00f3s algum per\u00edodo investigando no MOS, decidimos nos orientar a partir da Nota &#8220;Step by step to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-8607","post","type-post","status-publish","format-standard","hentry","category-administration"],"_links":{"self":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/8607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=8607"}],"version-history":[{"count":1,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/8607\/revisions"}],"predecessor-version":[{"id":9032,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/8607\/revisions\/9032"}],"wp:attachment":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=8607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=8607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=8607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}