今天凌晨的第3个节点日志切换,引起其他节点日志切换
-rw-r----- 1 oracle oinstall 1066656256 Jan 27 04:49 Arc_3_47431_592235202.arc
-rw-r----- 1 oracle oinstall 13001728 Jan 27 04:49 Arc_2_47623_592235202.arc
-rw-r----- 1 oracle oinstall 62631424 Jan 27 04:49 Arc_1_49511_592235202.arc
-rw-r----- 1 oracle oinstall 1066656256 Jan 27 04:50 Arc_3_47432_592235202.arc
-rw-r----- 1 oracle oinstall 1066656768 Jan 27 04:50 Arc_3_47433_592235202.arc
-rw-r----- 1 oracle oinstall 1066656768 Jan 27 04:51 Arc_3_47434_592235202.arc
-rw-r----- 1 oracle oinstall 374784 Jan 27 04:51 Arc_2_47624_592235202.arc
-rw-r----- 1 oracle oinstall 1909248 Jan 27 04:51 Arc_1_49512_592235202.arc
-rw-r----- 1 oracle oinstall 1067990016 Jan 27 04:51 Arc_3_47435_592235202.arc
-rw-r----- 1 oracle oinstall 1066656256 Jan 27 04:52 Arc_3_47436_592235202.arc
-rw-r----- 1 oracle oinstall 1066656768 Jan 27 04:52 Arc_3_47437_592235202.arc
我在测试环境下试验,第一个节点如果不断的switch logfile ,也是会引起第2个节点的switch logfile
官方说alter system switch logfile 只作用于一个节点。
ALTER SYSTEM CHECKPOINT LOCAL affects only the instance to which you are
currently connected, rather than the default instance or all instances.
■ ALTER SYSTEM CHECKPOINT or ALTER SYSTEM CHECKPOINT GLOBAL affects
all instances in the cluster database.
■ ALTER SYSTEM SWITCH LOGFILE affects only the current instance.
■ To force a global log switch, use the ALTER SYSTEM ARCHIVE LOG
CURRENT statement.
■ The INSTANCE option of ALTER SYSTEM ARCHIVE LOG enables you to
archive each online redo log file for a specific instance.
但是如果一个节点非常的繁忙,那么另一个节点会自动归档,目的是怕第一个节点宕掉,尽量减少损失。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8135069/viewspace-686375/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8135069/viewspace-686375/
本文通过实验发现,在Oracle集群环境中,当一个节点频繁进行日志切换时,可能会触发其他节点的日志切换。官方文档指出,ALTER SYSTEM SWITCH LOGFILE仅影响当前实例,但实践中观察到的情况有所不同,尤其是在一个节点非常繁忙的情况下。
710

被折叠的 条评论
为什么被折叠?



