use bbed(BBED-00200: invalid keyword (file))

[[email protected] lib]$ cat filelist.txt

4 /opt/oracle/oradata/orcl11g/users01.dbf

3 /opt/oracle/oradata/orcl11g/undotbs01.dbf

2 /opt/oracle/oradata/orcl11g/sysaux01.dbf

1 /opt/oracle/oradata/orcl11g/system01.dbf

5 /opt/oracle/oradata/orcl11g/zbdba.dbf

6 /opt/oracle/oradata/orcl11g/zbdba01.dbf

7 /opt/oracle/oradata/orcl11g/test.dbf

[[email protected] lib]$ cat par.txt

blocksize=8192

listfile=filelist.txt

mode=edit

[email protected]>select rowid,dbms_rowid.rowid_object(rowid) robject,

2  dbms_rowid.rowid_relative_fno(rowid) fno,

3  dbms_rowid.rowid_block_number(rowid) bno,

4  dbms_rowid.rowid_row_number(rowid) rno from scott.emp where rownum=1;

ROWID                 ROBJECT        FNO        BNO        RNO

------------------ ---------- ---------- ---------- ----------

AAAR3xAAEAAAACXAAB      73201          4        151          1

[email protected]>[email protected]>select * from scott.emp

2  ;

EMPNO ENAME                JOB                       MGR HIREDATE            SAL       COMM     DEPTNO

---------- -------------------- ------------------ ---------- ------------ ---------- ---------- ----------

7499 ALLEN                SALESMAN                 7698 20-FEB-81          1600        300         30

7521 WARD                 SALESMAN                 7698 22-FEB-81          1250        500         30

7566 JONES                MANAGER                  7839 02-APR-81          2975                    20

7654 MARTIN               SALESMAN                 7698 28-SEP-81          1250       1400         30

7698 BLAKE                MANAGER                  7839 01-MAY-81          2850                    30

7782 CLARK                MANAGER                  7839 09-JUN-81          2450                    10

7788 SCOTT                ANALYST                  7566 19-APR-87          3000                    20

7839 KING                 PRESIDENT                     17-NOV-81          5000                    10

7844 TURNER               SALESMAN                 7698 08-SEP-81          1500          0         30

7876 ADAMS                CLERK                    7788 23-MAY-87          1100                    20

7900 JAMES                CLERK                    7698 03-DEC-81           950                    30

7902 FORD                 ANALYST                  7566 03-DEC-81          3000                    20

7934 MILLER               CLERK                    7782 23-JAN-82          1300                    10

[[email protected] lib]$ bbed parfile=par.txt

Password:

BBED: Release 2.0.0.0.0 - Limited Production on Wed Oct 22 07:46:19 2014

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

************* !!! For Oracle Internal Use only !!! ***************

BBED>

BBED> set file 4 block 151

FILE#           4

BLOCK#          151

BBED> map

File: /opt/oracle/oradata/orcl11g/users01.dbf (4)

Block: 151                                   Dba:0x01000097

------------------------------------------------------------

KTB Data Block (Table/Cluster)

struct kcbh, 20 bytes                      @0

struct ktbbh, 72 bytes                     @20

struct kdbh, 14 bytes                      @100

struct kdbt[1], 4 bytes                    @114

sb2 kdbr[14]                               @118

ub1 freespace[7475]                        @146

ub1 rowdata[567]                           @7621

ub4 tailchk                                @8188

BBED>

BBED>

BBED> p *kdbr[0]

rowdata[529]

------------

ub1 rowdata[529]                            @8150     0x3c

BBED> x /rn

rowdata[529]                                @8150

------------

[email protected]: 0x3c (KDRHFL, KDRHFF, KDRHFD, KDRHFH)

[email protected]: 0x02

[email protected]:    0

BBED> p *kdbr[1]

rowdata[486]

------------

ub1 rowdata[486]                            @8107     0x2c

BBED> x /rn

rowdata[486]                                @8107

------------

[email protected]: 0x2c (KDRHFL, KDRHFF, KDRHFH)

[email protected]: 0x00

[email protected]:    8

col    0[3] @8110: 7499

col    1[5] @8114: #########################################

col    2[8] @8120: #########################################

col    3[3] @8129: 7698

col    4[7] @8133: #########################################

col    5[2] @8141: 1600

col    6[2] @8144: 300

col    7[2] @8147: 30

BBED> p *kdbr[2]

rowdata[443]

------------

ub1 rowdata[443]                            @8064     0x2c

BBED> x /rn

rowdata[443]                                @8064

------------

[email protected]: 0x2c (KDRHFL, KDRHFF, KDRHFH)

[email protected]: 0x00

[email protected]:    8

col    0[3] @8067: 7521

col    1[4] @8071: #########################################

col    2[8] @8076: #########################################

col    3[3] @8085: 7698

col    4[7] @8089: #########################################

col    5[3] @8097: 1250

col    6[2] @8101: 500

col    7[2] @8104: 30

时间: 2024-10-10 01:17:17

use bbed(BBED-00200: invalid keyword (file))的相关文章

Invalid signature file digest for Manifest main attributes

Solving a Spark error: Invalid signature file digest for Manifest main attributes When using spark-submit to run a jar, you may encounter this error: Invalid signature file digest for Manifest main attributes The error occurs when one of the included

JWPlayer Uncaught Error: Invalid SRT file

错误场景: JWPlayer 播放视频,添加了字幕和缩略图: 字幕为Srt格式: 1 00:00:00,000 --> 00:00:02,000 战略管理过程 2 00:00:03,000 --> 00:00:05,000 我们说战略管理过程也称作叫 3 00:00:06,000 --> 00:00:08,000 那么在战略管理过程当中涉及到 4 00:00:09,000 --> 00:00:11,000 战略分析战略选择和战略实施 5 00:00:12,000 --> 00

Unity: Invalid serialized file version xxx Expected version: 5.3.4f1. Actual version: 5.3.5f1.

Unity发布安卓项目,如果直接使用Unity打包APK一切Ok,导出Google项目 使用Idea打包 一进去直接Crash. 报错: 1978-2010/? E/Unity﹕ Invalid serialized file version. File: "/data/app/eran.project.b-1/base.apk/assets/bin/Data/globalgamemanagers". Expected version: 5.3.4f1. Actual version:

phpstorm invalid descendent file name

Failed to collect files: Invalid descendent file name "codelog_ddz.\"(]))\",\').txt". 文件名中特殊字符,filezilla上删除重命名就好

Linux GRUB 引导Win 7 ---- error: invalid EFI file path

最近新买了个固态硬盘,先装了个Win 7系统,现在装的系统和以前装系统唯一的区别是引导不是以前的MBR,而是最新看似是个趋势的GPT+UEFI方式. win 7 装完啦,还是和以往的一样装 Ubantu (Ubantu 12.04),ubantu 引导磁盘扇区选择的是装win7是的那个引导磁盘(ESP分区的那个盘): ubantu 安装先是断网安装,安装到一半是抛出错误说GRUB 啥啥啥的错误,网上搜罗了一下说联网就没问题,照做啦联网后确实OK,就这样Ubantu安装一切顺利,安装完成后就发现进

Intellij打包jar文件,“java.lang.SecurityException: Invalid signature file digest for Manifest main attrib

开始使用如下代码进行打包 <build> <!-- mvn assembly:assembly -Dmaven.test.skip=true --> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.2-beta-5</version> <configuration> <appendAsse

Invalid tld file: &quot;/WEB-INF/tags/xxxt.tld&quot;, see JSP 2.2 specification section 7.3.1 for more details

错误描述 在jsp页面引入了自定义的TLD文件的时候,碰到了一个错误 错误原因 不符合 JSP2.2 中对tags的规定. 规定说的是这个: In the jsp-2_2 JSP.7.3.1 Identifying Tag Library Descriptors Tag library descriptor files have names that use the extension .tld, and the extension indicates a tag library descrip

Oracle bbed 实用示例-----File Header Reset

一.查看当前环境 1.1 当前控制文件中的SCN号 [[email protected] ~]$ sqlplus /nolog SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jan 17 10:11:34 2015 Copyright (c) 1982, 2005, Oracle. All rights reserved. SQL> conn /as sysdba Connected. SQL> col name format a65 SQL

oracle特殊恢复-bbed修改某个数据文件头

数据文件头中的scn要与控制文件中的scn一致,数据库才可以open,在open过程中我们可以通过bbed来修改某个数据文件头的scn,来欺骗oracle,来open库. 1.环境如下 使用Oracle 11gR2进行测试,具体版本为11.2.0.4 [email protected] SQL>select file#,name,checkpoint_change#,checkpoint_time from v$datafile;      FILE# NAME