java认证
Java认证如何查看ControlFile中的内容?
关注:41004  答案:1  悬赏:20
离问题结束还有
  • 待解决
  • 2017-09-30 08:38
最佳答案
暂无最佳答案    我来回答
全部回答
  • 1楼
  • 2017-09-30 09:27
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 考试大温馨提示:本内容来源于网络,仅代表作者个人观点,与本站立场无关,仅供您学习交流使用。其中可能有部分文章经过多次转载而造成文章内容缺失、错误或文章作者不详等问题,请您谅解。如有侵犯您的权利,请联系我们,本站会立即予以处理。 编辑特别推荐: Java中基本数据类型与应用 Servlet中的八大Listener 40个轻量级JavaScript库介绍