启动或关闭oracle的归档
1.先查看数据库是否处于归档状态
SQL>archive log list;
Database log mode No Archive Mode表示没有开启归档
Automatic archival Disabled
Archive destination /u01/app/oracle/product/19.2.0/db_1/dbs/arch
Oldest online log sequence 16
Current log sequence 18
2.关闭数据库
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
3.启动数据库到mount状态
SQL>startup mount;
ORACLE instance started.
Total System Global Area 834664552 bytes
Fixed Size 9140328 bytes
Variable Size 381681664 bytes
Database Buffers 436207616 bytes
Redo Buffers 7634944 bytes
Database mounted.
4.启动归档状态
SQL>alter database archivelog;
Database altered.
5.再查看数据库是否处于归档状态
SQL> arching log list;
SP2-0734: unknown command beginning “arching lo…” - rest of line ignored.
SQL> archive log list;
Database log mode Archive Mode表示已经启动
Automatic archival Enabled
Archive destination /u01/app/oracle/product/19.2.0/db_1/dbs/arch
Oldest online log sequence 16
Next log sequence to archive 18
Current log sequence 18
6.现在开始关闭归档,先启动数据库
SQL>alter database open;
Database altered
7…关闭数据库
SQL>shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
8.启动数据库到mount状态
SQL> startup mount
ORACLE instance started.
Total System Global Area 834664552 bytes
Fixed Size 9140328 bytes
Variable Size 381681664 bytes
Database Buffers 436207616 bytes
Redo Buffers 7634944 bytes
Database mounted.
9.关闭归档模式
SQL> alter database noarchivelog;
Database altered.
- 如何启动或关闭oracle的归档(ARCHIVELOG)模式
- oracle入门之1 rac下启动关闭与更改归档模式
- 如何启动或关闭oracle的归档(ARCHIVELOG)模式
- 如何启动或关闭oracle的归档(ARCHIVELOG)模式
- oracle 启动或关闭归档(archivelog)模式
- Oracle 11g RAC关闭和启动及归档参数修改
- 如何启动或关闭oracle的归档(ARCHIVELOG)模式
- oracle的归档(ARCHIVELOG)模式启动和关闭
- ORA-00257归档日志写满的解决方法 背景: 在前一篇博客中我们提到了如何启动或关闭oracle的归档(ARCHIVELOG)模式,在我成功设定数据库为归档模式以后, 第二天再次尝试连接数据库,
- Oracle--启动关闭oracle命令
- Oracle 批处理启动关闭服务
- 设置oracle自动启动与关闭脚本
- oracle启动、关闭、重启脚本
- oracle的启动和关闭
- Oracle 归档模式的打开及关闭
- 为什么Oraclelistener启动后自动关闭
- Oracle归档日志满了导致无法启动ora-03113
- Unix下oracle的启动和关闭
- linux下oracle 10g的启动与关闭
- Oracle 11gR2 RAC集群服务启动与关闭总结