备份指定oracle block 防止误操作

C:\Users\ZMI\GolandProjects\parseOracleKcvfh>tempfile_1760606373175.exe -dbfile C:\Users\ZMI\Desktop\database-study\asm-diskb\example01.dbf -backuphdr C:\workbase\block3.bin -blocknumber 3

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

##powered by :黄林杰_Huanglinjie

##version : 2023-v11

##联系方式:17767151782

##blog: https://blog.csdn.net/lixora/

##info: Oracle 11g datafile header parse

##demo : parseOracleKcvfh.exe -dbfile c:\lixora.dbf

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -modify -bas 123456 -wrp 000

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -ccc 123456

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -sta 8192

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -cptime 1234567890

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -cpc 123456

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -seqkcbh 1

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -forcetailchk

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -rdbakcbh 400001

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -rlsbas ABCD1234

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -rlswrp ABCD

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -rlc 12ABCD

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -rlsbas ABCD1234

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -rlswrp 1234

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -rlsbas ABCD1234 -rlswrp 1234

##demo : parseOracleKcvfh.exe -copysrc C:\source.dbf -copydst C:\target.dbf -copyblk 10 -copytoblk 10

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -crsbas ABCD1234

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -crswrp 1234

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -crsbas ABCD1234 -crswrp 1234

##demo : parseOracleKcvfh.exe -dbfile C:\system01.dbf -blocknumber 0

成功备份块 #3 到文件: C:\workbase\block3.bin

C:\Users\ZMI\GolandProjects\parseOracleKcvfh>tempfile_1760606373175.exe -dbfile C:\workbase\block1.bin -blocknumber 0

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

##powered by :黄林杰_Huanglinjie

##version : 2023-v11

##联系方式:17767151782

##blog: https://blog.csdn.net/lixora/

##info: Oracle 11g datafile header parse

========================================> BLOCK SUMMARY <========================================

TypeKCBH: 0x0b

FrmtKCBH: 0xa2

RDBAKCBH: 0x01400001 (RFILE#: 5 BLOCK#: 1)

seq_kcbh: 0x01

ChkvalKCBH on disk chkval is: 0xdc40

kcvfhcrs.KSCNBAS (Creation SCN Base): 0x000edda6

kcvfhcrs.KSCNWRP (Creation SCN Wrap): 0x0000

KCCFHDBI: 1384114315

KCCFHDBNX: HELOWIN

KCVCPSCN_KSCNBAS: 0x00107f38,ckp scn-base:1081144

KCVCPSCN_KSCNWRP: 0x0000,ckp scn-wrap:0

KCVFHSTA: 0x0000

KCVFHTNM: EXAMPLE

KCVFHTSN: 6

KCVFHCRT: 0x330a9d35,CREATION TIME:1997-02-19 14:27:01

KCVFHCCC: 0x0000001c,controlfile-chkpoint-count:28

KCVFHCPC: 0x0000001d,chkpoint-count:29

KCVCPTime: 0x35a8d155,chkpoint-TIME:1998-07-12 23:08:05

KCCFHCSQ: 0x00000346

KCVFHRLC: 0x35a81156

KCVFHRLS.KSCNBAS: 0x0010746c

KCVFHRLS.KSCNWRP: 0x0000

KCCFHFSZ: 0x3200, FILE SIZE(bytes):104865792

KCCFHFNO: 5

KCVFHRFN: 5

tailchk: 0x00000b01

compute tailchk: 0x00000b01 (bas_kcbh: 00000000 TypeKCBH: 0b seq_kcbh: 01)

NEW chkval_kcbh: compute chkval is: 0xdc40

Block checksum ok

C:\Users\ZMI\GolandProjects\parseOracleKcvfh>tempfile_1760606373175.exe -dbfile C:\workbase\block1.bin -blocknumber 0 -hexdump

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

##powered by :黄林杰_Huanglinjie

##version : 2023-v11

##联系方式:17767151782

##blog: https://blog.csdn.net/lixora/

##info: Oracle 11g datafile header parse

Hex dump of block #0


00000000: 0b a2 00 00 01 00 40 01 00 00 00 00 00 00 01 04 |......@.........|

00000010: 40 dc 00 00 00 00 00 00 00 00 20 0b 8b e8 7f 52 |@......... ....R|

00000020: 48 45 4c 4f 57 49 4e 00 46 03 00 00 00 32 00 00 |HELOWIN.F....2..|

00000030: 00 20 00 00 05 00 03 00 00 00 00 00 00 00 00 00 |. ..............|

00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

00000060: 00 00 00 00 a6 dd 0e 00 00 00 00 00 35 9d 0a 33 |............5..3|

00000070: 56 11 a8 35 6c 74 10 00 00 00 00 00 00 00 00 00 |V..5lt..........|

00000080: 00 00 00 00 00 00 00 00 00 00 00 00 1d 00 00 00 |................|

00000090: e8 4d a0 35 1c 00 00 00 00 00 00 00 00 00 00 00 |.M.5............|

000000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

000000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

000000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

000000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

000000e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

000000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

00000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

00000140: 00 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00 |................|

00000150: 07 00 45 58 41 4d 50 4c 45 00 00 00 00 00 00 00 |..EXAMPLE.......|

相关推荐
jiayou642 天前
KingbaseES 实战:深度解析数据库对象访问权限管理
数据库
李广坤3 天前
MySQL 大表字段变更实践(改名 + 改类型 + 改长度)
数据库
爱可生开源社区4 天前
2026 年,优秀的 DBA 需要具备哪些素质?
数据库·人工智能·dba
随逸1774 天前
《从零搭建NestJS项目》
数据库·typescript
加号35 天前
windows系统下mysql多源数据库同步部署
数据库·windows·mysql
シ風箏5 天前
MySQL【部署 04】Docker部署 MySQL8.0.32 版本(网盘镜像及启动命令分享)
数据库·mysql·docker
李慕婉学姐5 天前
Springboot智慧社区系统设计与开发6n99s526(程序+源码+数据库+调试部署+开发环境)带论文文档1万字以上,文末可获取,系统界面在最后面。
数据库·spring boot·后端
百锦再5 天前
Django实现接口token检测的实现方案
数据库·python·django·sqlite·flask·fastapi·pip
tryCbest5 天前
数据库SQL学习
数据库·sql
jnrjian5 天前
ORA-01017 查找机器名 用户名 以及library cache lock 参数含义
数据库·oracle