如何清理Oracle11g RAC日志文件
展开全部
1.库日志
SQL> show parameter audit_file_dest
NAME TYPE VALUE
----------------------------------------------- ------------------------------
audit_file_dest string /oracle/admin/ora11g/adump
SQL> show parameter dump_dest
NAME TYPE VALUE
----------------------------------------------- ------------------------------
background_dump_dest string /oracle/diag/rdbms/ora11g/ora11g/trace
core_dump_dest string /oracle/diag/rdbms/ora11g/ora11g/cdump
user_dump_dest string /oracle/diag/rdbms/ora11g/ora11g/trace
2.集群日志
alert日志:
$CRS_HOME/grid/log/[hostname]/alert*.log
后台进程日志:
crsd.Log: $ORA_CRS_HOME/grid/log/[hostname]/crsd/crsd.Log
ocssd.Log: $ORA_CRS_HOME/grid/log/[hostname]/cssd/ocsd.Log
evmd.Log: $ORA_CRS_HOME/grid/log/[hostname]/evmd/evmd.Log
SQL> show parameter audit_file_dest
NAME TYPE VALUE
----------------------------------------------- ------------------------------
audit_file_dest string /oracle/admin/ora11g/adump
SQL> show parameter dump_dest
NAME TYPE VALUE
----------------------------------------------- ------------------------------
background_dump_dest string /oracle/diag/rdbms/ora11g/ora11g/trace
core_dump_dest string /oracle/diag/rdbms/ora11g/ora11g/cdump
user_dump_dest string /oracle/diag/rdbms/ora11g/ora11g/trace
2.集群日志
alert日志:
$CRS_HOME/grid/log/[hostname]/alert*.log
后台进程日志:
crsd.Log: $ORA_CRS_HOME/grid/log/[hostname]/crsd/crsd.Log
ocssd.Log: $ORA_CRS_HOME/grid/log/[hostname]/cssd/ocsd.Log
evmd.Log: $ORA_CRS_HOME/grid/log/[hostname]/evmd/evmd.Log
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询