在RAC设置中备份归档日志会减慢sudoers设置中的速度
适用场景
问题描述
DEBUG Execution Monitor Thread [sudo/opt/NetApp/snapcenter/spl/bin/sc_command_executor oracle "test -f '/<MNT>/archivelog/<SID>/1_129413_1053564278.arc' && echo true || echo false"] c.n.c.e.ShellResult - EXE-00001: Shell result [0:00:00.427] (ExitValue: 0):
DEBUG Execution Monitor Thread [sudo/opt/NetApp/snapcenter/spl/bin/sc_command_executor oracle "test -f '/<MNT>/archivelog/<SID>/1_129413_1053564278.arc' && echo true || echo false"] c.n.c.e.ShellResult - EXE-00001: Shell result [0:00:00.414] (ExitValue: 0):
DEBUG Execution Monitor Thread [sudo/opt/NetApp/snapcenter/spl/bin/sc_command_executor oracle "test -f '/<MNT>/archivelog/<SID>/1_129413_1053564278.arc' && echo true || echo false"] c.n.c.e.ShellResult - EXE-00001: Shell result [0:00:00.430] (ExitValue: 0):
DEBUG Execution Monitor Thread [sudo/opt/NetApp/snapcenter/spl/bin/sc_command_executor oracle "test -f '/<MNT>/archivelog/<SID>/1_129413_1053564278.arc' && echo true || echo false"] c.n.c.e.ShellResult - EXE-00001: Shell result [0:00:00.407] (ExitValue: 0):
DEBUG Execution Monitor Thread [sudo/opt/NetApp/snapcenter/spl/bin/sc_command_executor oracle "test -f '/<MNT>/archivelog/<SID>/1_129413_1053564278.arc' && echo true || echo false"] c.n.c.e.ShellResult - EXE-00001: Shell result [0:00:00.410] (ExitValue: 0):
在大约400毫秒(在此特定情况下)的情况下、对同一文件运行五次相应的操作大约需要两秒钟。如果有足够的归档日志(例如300-400)、则完全备份可能会延迟相当长的一段时间。例如、360个归档日志x 5次检查x 2秒= 3600秒= 1小时。