会计考友 发表于 2012-8-4 12:44:44

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

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
页: [1]
查看完整版本: JAVA认证:如何查看Java认证ControlFile中的内容