日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 >

如何启用和关闭数据库的Oracle归档模式

發(fā)布時間:2024/4/14 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 如何启用和关闭数据库的Oracle归档模式 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

2019獨角獸企業(yè)重金招聘Python工程師標(biāo)準(zhǔn)>>>

  本文簡單介紹如何啟用和關(guān)閉數(shù)據(jù)庫的Oracle歸檔模式。

  一、shutdown normal或shutdown immediate關(guān)閉數(shù)據(jù)庫?oracle培訓(xùn)

  1 .oracle@jumper oracle]$ sqlplus "/ as sysdba"

  2.SQL*Plus: Release 9.2.0.4.0 - Production on Sat Oct 15 15:48:36 2005

  3.Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

  4.Connected to:

  5.Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production

  6.With the Partitioning option

  7.JServer Release 9.2.0.4.0 - Production

  8.SQL> shutdown immediate;

  9.Database closed.

  10.Database dismounted.

  11.ORACLE instance shut down.

  二、啟動數(shù)據(jù)庫到mount狀態(tài)

  1.SQL> startup mount;

  2.ORACLE instance started.

  3.Total System Global Area 101782828 bytes

  4.Fixed Size 451884 bytes

  5.Variable Size 37748736 bytes

  6.Database Buffers 62914560 bytes

  7.Redo Buffers 667648 bytes

  8.Database mounted.

  三、啟用或停止歸檔模式

  如果要啟用Oracle歸檔模式,此處使用

  1.alter database archivelog 命令。

  2.SQL> alter database archivelog;

  3.Database altered.

  4.SQL> alter database open;

  5.Database altered.

  6.SQL> archive log list;

  7.Database log mode Archive Mode

  8.Automatic archival Enabled

  9.Archive destination /opt/oracle/oradata/conner/archive

  10.Oldest online log sequence 148

  11.Next log sequence to archive 151

  12.Current log sequence 151

轉(zhuǎn)載于:https://my.oschina.net/u/1243860/blog/156120

總結(jié)

以上是生活随笔為你收集整理的如何启用和关闭数据库的Oracle归档模式的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。