1.shutdown normal或shutdown immediate關閉數據庫數據庫
SQL*Plus: Release 12.1.0.1.0 Production on 星期一 12月 15 15:49:47 2014ide
Copyright (c) 1982, 2013, Oracle. All rights reserved.
spa
鏈接到:
日誌
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Productionorm
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing optionsit
SQL> shutdown immediate;
io
數據庫已經關閉。class
已經卸載數據庫。dva
ORACLE 例程已經關閉。im
2.啓動Oracle數據庫到mount狀態
SQL> startup mount;
ORACLE 例程已經啓動。
Total System Global Area 2572144640 bytes
Fixed Size 2405952 bytes
Variable Size 687868352 bytes
Database Buffers 1879048192 bytes
Redo Buffers 2822144 bytes
數據庫裝載完畢。
3.啓用或中止歸檔模式
若是要啓用歸檔模式,此處使用alter database archivelog 命令。
若是要關閉歸檔模式,此處使用alter database noarchivelog 命令。
SQL> alter database archivelog;
數據庫已更改。
SQL> alter database open;
數據庫已更改。
SQL> archive log list;
數據庫日誌模式 存檔模式
自動存檔 啓用
存檔終點 USE_DB_RECOVERY_FILE_DEST
最先的聯機日誌序列 16
下一個存檔日誌序列 18
當前日誌序列 18
上述的內容就是對如何打開或關閉Oracle 12c數據庫的歸檔模式的描述,但願會給你帶來一些幫助。