{"id":3914,"date":"2021-04-18T08:14:56","date_gmt":"2021-04-18T08:14:56","guid":{"rendered":"https:\/\/swiv.com.br\/solved-issue-switchover-verify-online-redo-logfile-1-requires-clearing\/"},"modified":"2026-05-27T20:02:32","modified_gmt":"2026-05-27T19:02:32","slug":"solved-issue-switchover-verify-online-redo-logfile-1-requires-clearing","status":"publish","type":"post","link":"https:\/\/swiv.com.br\/index.php\/2021\/04\/18\/solved-issue-switchover-verify-online-redo-logfile-1-requires-clearing\/","title":{"rendered":"[Solved] Issue: SWITCHOVER VERIFY: Online Redo Logfile 1 requires clearing"},"content":{"rendered":"\n<p>Ambiente primary:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; SELECT NAME,OPEN_MODE,DATABASE_ROLE FROM V$DATABASE;\n \nNAME      OPEN_MODE            DATABASE_ROLE\n--------- -------------------- ----------------\nCORTEX    READ WRITE           PRIMARY\n \nSQL&gt; SHO PARAMETER UNIQUE\n \nNAME                                 TYPE        VALUE\n------------------------------------ ----------- ------------------------------\ndb_unique_name                       string      cortexDR\n<\/pre><\/div>\n\n\n<p>Ambiente physical standby:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; SELECT NAME,OPEN_MODE,DATABASE_ROLE FROM V$DATABASE;\n \nNAME      OPEN_MODE            DATABASE_ROLE\n--------- -------------------- ----------------\nCORTEX    MOUNTED              PHYSICAL STANDBY\n \nSQL&gt; SHO PARAMETER UNIQUE\n \nNAME                                 TYPE        VALUE\n------------------------------------ ----------- ------------------------------\ndb_unique_name                       string      cortex\n<\/pre><\/div>\n\n\n<p>Ao tentar realizar o comando de verify, um warning \u00e9 reportado:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; ALTER DATABASE SWITCHOVER TO cortex VERIFY;\nALTER DATABASE SWITCHOVER TO cortex VERIFY\n*\nERROR at line 1:\nORA-16475: succeeded with warnings, check alert log for more details\n<\/pre><\/div>\n\n\n<p>No alert temos:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nALTER DATABASE SWITCHOVER TO cortex VERIFY\n2021-04-18T04:57:36.424612-03:00\nSWITCHOVER VERIFY: Send VERIFY request to switchover target CORTEX\nSWITCHOVER VERIFY WARNING: switchover target has dirty online redo logfiles that require clearing. It takes time to clear online redo logfiles. This may slow down switchover process.\nORA-16475 signalled during: ALTER DATABASE SWITCHOVER TO cortex VERIFY...\n<\/pre><\/div>\n\n<p>O Oracle Note &#8220;<strong>12c Data guard Switchover Best Practices using SQLPLUS (Doc ID 1578787.1)<\/strong>&#8221; (Link <a href=\"\/\/support.oracle.com\/epmos\/faces\/DocumentDisplay?_afrLoop=11923266502377&amp;id=1578787.1&amp;displayIndex=1&amp;_afrWindowMode=0&amp;_adf.ctrl-state=sd3wsggk6_136#aref_section23\\&quot;\" target=\"\\&quot;_blank\\&quot;\" rel=\"\\&quot;noreferrer noopener\" noopener=\"\">AQUI<\/a>) nos traz uma pista do problema:<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-235.png\" alt=\"\" class=\"wp-image-7888\"\/><\/figure>\n\n\n\n<p>Validando que meu standby n\u00e3o possui o par\u00e2metro preenchido:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; SELECT NAME,OPEN_MODE,DATABASE_ROLE FROM V$DATABASE;\n \nNAME      OPEN_MODE            DATABASE_ROLE\n--------- -------------------- ----------------\nCORTEX    MOUNTED              PHYSICAL STANDBY\n \nSQL&gt; show parameter log_file_name_convert;\n \nNAME                                 TYPE        VALUE\n------------------------------------ ----------- ------------------------------\nlog_file_name_convert                string\n<\/pre><\/div>\n\n\n<p>Inserindo os valores apropriados do par\u00e2metro do standby:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; ALTER SYSTEM SET log_file_name_convert=&#039;+DG_DATA\/CORTEXDR&#039;,&#039;+DG_DATA\/CORTEX&#039;,&#039;+DG_FRA\/CORTEXDR&#039;,&#039;+DG_FRA\/CORTEX&#039; SCOPE=SPFILE;\n \nSystem altered.\n \nSQL&gt; SHU IMMEDIATE;\nORA-01109: database not open\n \n \nDatabase dismounted.\nORACLE instance shut down.\nSQL&gt; STARTUP MOUNT;\nORACLE instance started.\n \nTotal System Global Area 2583690520 bytes\nFixed Size                  8899864 bytes\nVariable Size             553648128 bytes\nDatabase Buffers         2013265920 bytes\nRedo Buffers                7876608 bytes\nDatabase mounted.\n<\/pre><\/div>\n\n\n<p>Agora o comando de verify \u00e9 realizado com sucesso, sem nenhuma considera\u00e7\u00e3o a ser tratada:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; ALTER DATABASE SWITCHOVER TO cortex VERIFY;\n \nDatabase altered.\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n2021-04-18T05:11:49.530419-03:00\nALTER DATABASE SWITCHOVER TO cortex VERIFY\n2021-04-18T05:11:53.226049-03:00\nSWITCHOVER VERIFY: Send VERIFY request to switchover target CORTEX\n2021-04-18T05:11:56.635946-03:00\nSWITCHOVER VERIFY COMPLETE: READY FOR SWITCHOVER\nCompleted: ALTER DATABASE SWITCHOVER TO cortex VERIFY\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Ambiente primary: Ambiente physical standby: Ao tentar realizar o comando de verify, um warning \u00e9 reportado: No alert temos: O Oracle Note &#8220;12c Data guard Switchover Best Practices using SQLPLUS (Doc ID 1578787.1)&#8221; (Link AQUI) nos traz uma pista do problema: Validando que meu standby n\u00e3o possui o par\u00e2metro preenchido: Inserindo os valores apropriados do [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-3914","post","type-post","status-publish","format-standard","hentry","category-high-availability"],"_links":{"self":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/3914","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=3914"}],"version-history":[{"count":1,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/3914\/revisions"}],"predecessor-version":[{"id":9165,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/3914\/revisions\/9165"}],"wp:attachment":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=3914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=3914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=3914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}