WEB开发网
开发学院数据库Oracle Oracle内部工具Block Corruption介绍 阅读

Oracle内部工具Block Corruption介绍

 2007-05-11 12:22:11 来源:WEB开发网   
核心提示: 2.创建BBED参数文件等,[oracle@jumper conner]$ more filelist.txt1 /opt/oracle/oradata/conner/system01.dbf 4404019202 /opt/oracle/oradata/conner/undotbs01.

2.创建BBED参数文件等。

[oracle@jumper conner]$ more filelist.txt
1 /opt/oracle/oradata/conner/system01.dbf  440401920
2 /opt/oracle/oradata/conner/undotbs01.dbf 104857600
3 /opt/oracle/oradata/conner/users01.dbf   27262976
[oracle@jumper conner]$ more par.bbd
blocksize=8192
listfile=filelist.txt
mode=edit

3.使用BBED

[oracle@jumper conner]$ bbed parfile=par.bbd
Password:
BBED: Release 2.0.0.0.0 - Limited Production on Sun Sep 11 20:01:01 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
************* !!! For Oracle Internal Use only !!! ***************
BBED> set file 3
    FILE#      3
BBED> show
    FILE#      3
    BLOCK#     1
    OFFSET     0
    DBA       0x00c00001 (12582913 3,1)
    FILENAME    /opt/oracle/oradata/conner/users01.dbf
    BIFILE     bifile.bbd
    LISTFILE    filelist.txt
    BLOCKSIZE    8192
    MODE      Edit
    EDIT      Unrecoverable
    IBASE      Dec
    OBASE      Dec
    WIDTH      80
    COUNT      512
    LOGFILE     log.bbd
    SPOOL      No

4.回滚误操作

如果操作中发生误操作,可以使用revert命令回滚。

上一页  1 2 3 4 5  下一页

Tags:Oracle 内部 工具

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接