备份指定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.......|

相关推荐
加农炮手Jinx几秒前
Flutter for OpenHarmony:postgrest 直接访问 PostgreSQL 数据库的 RESTful 客户端(Supabase 核心驱动) 深度解析与鸿蒙适配指南
数据库·flutter·华为·postgresql·restful·harmonyos·鸿蒙
xiaohe0731 分钟前
Spring Boot 各种事务操作实战(自动回滚、手动回滚、部分回滚)
java·数据库·spring boot
setmoon2141 小时前
使用Scikit-learn构建你的第一个机器学习模型
jvm·数据库·python
2401_833197731 小时前
为你的Python脚本添加图形界面(GUI)
jvm·数据库·python
执笔画情ora1 小时前
oracle数据库优化-表碎片优化性能。
数据库·oracle
givemeacar2 小时前
Spring Boot中集成MyBatis操作数据库详细教程
数据库·spring boot·mybatis
skiy2 小时前
MySQL Workbench菜单汉化为中文
android·数据库·mysql
IvorySQL2 小时前
PostgreSQL 技术日报 (3月24日)|当 MVCC 成本被重新审视
数据库·postgresql·开源
2401_895521342 小时前
PostgreSQL_安装部署
数据库·postgresql
Hvitur2 小时前
软考架构师【第六章】数据库设计基础知识
数据库·oracle