SQL> shutdown immediate 一致性关闭数据库
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount; 启动到mount状态
ORACLE instance started.
Total System Global Area 1185853440 bytes
Fixed Size 2252664 bytes
Variable Size 754974856 bytes
Database Buffers 419430400 bytes
Redo Buffers 9195520 bytes
Database mounted.
SQL> alter database archivelog; 开启归档日志
Database altered.
SQL> archive log list; 查看归档日志
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /ora/oracle/product/11.2.0/db_1/dbs/arch
Oldest online log sequence 4
Next log sequence to archive 6
Current log sequence 6
SQL> alter database open; 打开数据库
Database altered.
oracle之如何开启归档日志
于 2020-11-06 09:22:02 首次发布