Java认证如何查看ControlFile中的内容

2012-11-12

    Java认证如何查看ControlFile中保存的内容,由于Control File是二进制文件,用普通的方法很难知道其中到底保存了什么内容,但Oracle提供了一个SQL*PLUS命令来将Control File的内容dump到文本文件中。
    方法如下:
    以SYSDBA身份登入SQL*PLUS
    SQL> oradebug setmypid
    SQL> oradebug dump controlf 3
    将把control file dump到USER_DUMP_DEST初始化参数指定的目录下。
    其中3为dump level。
    level的详细解释如下:
    1 :only the file header
    2 :just the file header, the database info record, and checkpoint progress records
    3 :all record types, but just the earliest and latest records for circular reuse record types
    4 :as above, but includes the 4 most recent records for circular reuse record types
    5+ :as above, but the number of circular reuse records included doubles with each leve

  考试大温馨提示:本内容来源于网络,仅代表作者个人观点,与本站立场无关,仅供您学习交流使用。其中可能有部分文章经过多次转载而造成文章内容缺失、错误或文章作者不详等问题,请您谅解。如有侵犯您的权利,请联系我们,本站会立即予以处理。

分享到:
0
相关阅读
友情链接
© 2018 我考网 http://www.woexam.com 中国互联网举报中心 湘ICP备18023104号 京公网安备 11010802020116号
违法和不良信息举报:9447029@qq.com