{"id":523,"date":"2008-05-28T10:39:33","date_gmt":"2008-05-28T10:39:33","guid":{"rendered":""},"modified":"2017-07-28T18:05:49","modified_gmt":"2017-07-28T09:05:49","slug":"oracle-9i-archive-mode-%eb%b3%80%ea%b2%bd","status":"publish","type":"post","link":"https:\/\/heyo.net\/wp\/523","title":{"rendered":"[oracle] 9i archive mode \ubcc0\uacbd"},"content":{"rendered":"<p>* \uae30\ubcf8\uac1c\ub150.. <br \/>\n&nbsp;&nbsp; &#8211; spfile \ubcc0\uacbd<br \/>\n&nbsp;&nbsp; &#8211; shutdown&nbsp;&nbsp;(\ubcc0\uacbd\ub41c spfile \uc801\uc6a9\uc744 \uc704\ud574 \uc7ac\uae30\ub3d9)<br \/>\n&nbsp;&nbsp; &#8211; startup mount<br \/>\n&nbsp;&nbsp; &#8211; archive mode \ubcc0\uacbd<br \/>\n&nbsp;&nbsp; &#8211; alter database open<\/p>\n<p>* archive mode \ud655\uc778<br \/>\nSQL&gt; archive log list<br \/>\nDatabase log mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;No Archive Mode<br \/>\nAutomatic archival&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Disabled<br \/>\nArchive destination&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/ora_edu1\/user19\/arch<br \/>\nOldest online log sequence&nbsp;&nbsp;&nbsp;&nbsp; 0<br \/>\nCurrent log sequence&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<\/p>\n<p>(Database log mode \uc640 Automatic archival \uc740 \uc11c\ub85c \ub9de\uc544 \ub5a8\uc5b4\uc838\uc57c \ud55c\ub2e4. No archive Mode-Disable, Archive Mode-Enable)<\/p>\n<p>* archive \ud30c\ub77c\uba54\ud130 \ud655\uc778<br \/>\nSQL&gt; show parameter log_archive&nbsp;&nbsp;\ud639\uc740 SQL&gt; select name, value from v$parameter where name like &#8216;log_archive%&#8217;<\/p>\n<p>\n\u25cb archive mode \ub85c \ubcc0\uacbd<br \/>\n1) \ud544\uc218 \ud30c\ub77c\uba54\ud130 \ubcc0\uacbd<br \/>\nSQL&gt; alter system set log_archive_start=true scope=spfile;<br \/>\nSQL&gt; alter system set log_archive_dest_1=&#8217;location=\/archive\/common\/&#8217; scope=spfile;<br \/>\nSQL&gt; alter system set log_archive_format=&#8217;comm_%t_%s.arc&#8217; scope=spfile;<\/p>\n<p>2) Database \uc7ac\uae30\ub3d9<br \/>\nSQL&gt; shutdown immedate;<br \/>\nSQL&gt; startup mount;<\/p>\n<p>3) archive log mode \ubcc0\ud658<br \/>\nSQL&gt; alter database archivelog;<\/p>\n<p>4) \ud655\uc778 \ubc0f database open<br \/>\nSQL&gt; archive log list;<br \/>\nSQL&gt; alter database open;<\/p>\n<p>5) \uc544\uce74\uc774\ube0c \ud30c\uc77c \uac15\uc81c \uc0dd\uc131(\uc81c\ub300\ub85c \ub410\ub294\uc9c0 \ud655\uc778\uc744 \uc704\ud574)<br \/>\nSQL&gt; alter system switch logfile;<br \/>\nSQL&gt; \/<br \/>\nSQL&gt; \/<\/p>\n<p>\u25cb noarchive mode \ub85c \ubcc0\uacbd<br \/>\n1) \ud544\uc218 \ud30c\ub77c\uba54\ud130 \ubcc0\uacbd<br \/>\nSQL&gt; alter system set log_archive_start=false scope=spfile;<\/p>\n<p>2) Database \uc7ac\uae30\ub3d9<br \/>\nSQL&gt; shutdown immedate;<br \/>\nSQL&gt; startup mount;<\/p>\n<p>3) archive log mode \ubcc0\ud658<br \/>\nSQL&gt; alter database noarchivelog;<\/p>\n<p>4) \ud655\uc778 \ubc0f database open<br \/>\nSQL&gt; archive log list;<br \/>\nSQL&gt; alter database open;<\/p>\n<p><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_523\" class=\"pvc_stats all  \" data-element-id=\"523\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/heyo.net\/wp\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>* \uae30\ubcf8\uac1c\ub150.. &nbsp;&nbsp; &#8211; spfile \ubcc0\uacbd &nbsp;&nbsp; &#8211; shutdown&nbsp;&nbsp;(\ubcc0\uacbd\ub41c spfile&#8230;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_523\" class=\"pvc_stats all  \" data-element-id=\"523\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/heyo.net\/wp\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-523","post","type-post","status-publish","format-standard","hentry","category-prog_tip"],"_links":{"self":[{"href":"https:\/\/heyo.net\/wp\/wp-json\/wp\/v2\/posts\/523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/heyo.net\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/heyo.net\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/heyo.net\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/heyo.net\/wp\/wp-json\/wp\/v2\/comments?post=523"}],"version-history":[{"count":1,"href":"https:\/\/heyo.net\/wp\/wp-json\/wp\/v2\/posts\/523\/revisions"}],"predecessor-version":[{"id":65961,"href":"https:\/\/heyo.net\/wp\/wp-json\/wp\/v2\/posts\/523\/revisions\/65961"}],"wp:attachment":[{"href":"https:\/\/heyo.net\/wp\/wp-json\/wp\/v2\/media?parent=523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/heyo.net\/wp\/wp-json\/wp\/v2\/categories?post=523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/heyo.net\/wp\/wp-json\/wp\/v2\/tags?post=523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}