今天学习到了归档模式,遇到了如下困惑的问题,虽然已经明白了,不过还是发个帖子,自己mark一下,哈
现在在学习归档模式的自动归档和手动归档,学习过程中有如下疑惑:
1.刚启动数据库,查看归档状态:
idle> archive log list
Database log mode
Archive Mode
Automatic archival
Enabled
Archive destination
USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 4
Next log sequence to archive 6
Current log sequence 6
但是我查看参数
log_archive_start
boolean FALSE
这个明明是false呀,为什么上面查看的自动归档状态是enable,false不是应该是手动归档吗?
2.
执行
idle> alter system archive log stop;
System altered.
那在查看系统进程,归档进程应该是被kill掉才对吧?
我在查看,归档进程也还是在的,就算重启database,也还是启动归档进程的,疑惑中。。。
解决说明如下:
1.10g的联机文档,log_archive_start 已经没有这个参数的说明了,oracle 10g归档模式启动后就是自动归档模式。
2.查看联机sql reference的alter systemarchive log stop;
STOP Clause
In earlier releases, this clause disabled automatic archiving of redo log file groups for the thread assigned to your instance. This clause has been deprecated. It has no effect, and if you specify it, Oracle Database writes a message to the alert log.
这个stop子句已经没有意义了,so pass这个问题啦,^_^