{"id":2131,"date":"2021-01-28T19:46:43","date_gmt":"2021-01-28T19:46:43","guid":{"rendered":"https:\/\/swiv.com.br\/how-to-drop-oracle-database\/"},"modified":"2026-05-27T20:02:52","modified_gmt":"2026-05-27T19:02:52","slug":"how-to-drop-oracle-database","status":"publish","type":"post","link":"https:\/\/swiv.com.br\/index.php\/2021\/01\/28\/how-to-drop-oracle-database\/","title":{"rendered":"How to drop Oracle database"},"content":{"rendered":"\n<p>Como tudo na vida, \u00e9 mais f\u00e1cil destruir do que construir. Para dropar um Oracle database, basta usar o exemplo abaixo:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;oracle@oel7 12.2.0.1]$ sqlplus \/ as sysdba\n \nSQL*Plus: Release 12.2.0.1.0 Production on Thu Jan 28 16:35:11 2021\n \nCopyright (c) 1982, 2016, Oracle.  All rights reserved.\n \n \nConnected to:\nOracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production\n \nSQL&gt; select instance_name,status from v$instance;\n \nINSTANCE_NAME    STATUS\n---------------- ------------\nBSS              OPEN\n \nSQL&gt; DROP DATABASE;\nDROP DATABASE\n*\nERROR at line 1:\nORA-01586: database must be mounted EXCLUSIVE and not open for this operation\n<\/pre><\/div>\n\n\n<p>Como especificado na documenta\u00e7\u00e3o, o banco deve estar montado e no modo exclusivo e restrito:<\/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; shu immediate;\nDatabase closed.\nDatabase dismounted.\nORACLE instance shut down.\nSQL&gt;\nSQL&gt;\nSQL&gt; STARTUP MOUNT EXCLUSIVE RESTRICT\nORACLE instance started.\n \nTotal System Global Area 2147483648 bytes\nFixed Size                  8622776 bytes\nVariable Size            1291849032 bytes\nDatabase Buffers          838860800 bytes\nRedo Buffers                8151040 bytes\nDatabase mounted.\nSQL&gt; DROP DATABASE;\n \nDatabase dropped.\n \nDisconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production\nSQL&gt;\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Como tudo na vida, \u00e9 mais f\u00e1cil destruir do que construir. Para dropar um Oracle database, basta usar o exemplo abaixo: Como especificado na documenta\u00e7\u00e3o, o banco deve estar montado e no modo exclusivo e restrito:<\/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":[19],"class_list":["post-2131","post","type-post","status-publish","format-standard","hentry","category-administration","tag-oracle-database"],"_links":{"self":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/2131","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=2131"}],"version-history":[{"count":1,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/2131\/revisions"}],"predecessor-version":[{"id":9263,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/2131\/revisions\/9263"}],"wp:attachment":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=2131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=2131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=2131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}