ITPub博客

首页 > 数据库 > Oracle > online清理oracle 监听日志推荐的做法

online清理oracle 监听日志推荐的做法

原创 Oracle 作者:paulyibinyi 时间:2016-10-08 12:01:41 0 删除 编辑
参考metalink id

How to Rotate or Purge Listener Log Data to Avoid Large listener.log File? (文档 ID 1457196.1)


LSNRCTL>
LSNRCTL> set current_listener <listenername>
LSNRCTL> set log_status off

In another window rename the log file. Then return to previous window

LSNRCTL> set log_status on

which will create a new and empty listener.log file which will continue logging.



来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7199859/viewspace-2125925/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
学习数据库

注册时间:2007-12-11

  • 博文量
    901
  • 访问量
    6811400