联系:手机/微信(+86 17813235971) QQ(107644445)
作者:惜分飞©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]
老古董的东西,在你一不小心的时候就可能遇到,测试了dul成功挖ORACLE 8.0数据库
创建模拟环境
SVRMGR> select * from v$version; BANNER ---------------------------------------------------------------- Oracle8 Release 8.0.5.0.0 - Production PL/SQL Release 8.0.5.0.0 - Production CORE Version 4.0.5.0.0 - Production TNS for 32-bit Windows: Version 8.0.5.0.0 - Production NLSRTL Version 3.3.2.0.0 - Production 5 rows selected. SVRMGR> create table t_xifenfei 2> as 3> select * from dba_tables; Statement processed. SVRMGR> select count(*) from t_xifenfei; COUNT(*) ---------- 183 1 row selected. SVRMGR> shutdown immediate; Database closed. Database dismounted. ORACLE instance shut down.
dul参数配置
osd_big_endian_flag=false osd_dba_file_bits=10 osd_c_struct_alignment=32 osd_file_leader_size=1 dc_columns=2000000 dc_tables=10000 dc_objects=1000000 dc_users=400 dc_segments=100000 control_file = control.txt db_block_size=2048 export_mode=true compatible=8 file = dump
dul挖数据
C:\dul>dul8.exe dictv8.ddl Data UnLoader 8.0.6.8 - Internal Use Only - on Thu Jul 26 20:08:33 2012 with 64-bit io functions Copyright (c) 1994/2000 Bernard van Duijnen All rights reserved. DUL: Warning: Recreating file "dul.log" Parameter altered Parameter altered Parameter altered Parameter altered . unloading table OBJ$ 2681 rows unloaded . unloading table TAB$ 187 rows unloaded . unloading table COL$ 11181 rows unloaded . unloading table USER$ 23 rows unloaded . unloading table TABPART$ 0 rows unloaded . unloading table IND$ 221 rows unloaded . unloading table ICOL$ 419 rows unloaded . unloading table LOB$ 13 rows unloaded Life is DUL without it C:\dul>dul8.exe Data UnLoader 8.0.6.8 - Internal Use Only - on Thu Jul 26 20:13:44 2012 with 64-bit io functions Copyright (c) 1994/2000 Bernard van Duijnen All rights reserved. DUL: Warning: Recreating file "dul.log" Loaded 23 entries from USER.dat Loaded 2681 entries from OBJ.dat Loaded 188 entries from TAB.dat Loaded 11218 entries from COL.dat Loaded 0 entries from TABPART.dat Loaded 221 entries from IND.dat Loaded 13 entries from LOB.dat Loaded 419 entries from ICOL.dat DUL> unload table chf.t_xifenfei; . unloading table T_XIFENFEI 183 rows unloaded
启动8.0数据库
C:\oracle\ora80\BIN>SVRMGR30.EXE Oracle Server Manager Release 3.0.5.0.0 - Production (c) Copyright 1997, Oracle Corporation. All Rights Reserved. Oracle8 Release 8.0.5.0.0 - Production PL/SQL Release 8.0.5.0.0 - Production SVRMGR> connect internal/xifenfei Connected. SVRMGR> startup ORACLE instance started. Total System Global Area 15077376 bytes Fixed Size 49152 bytes Variable Size 12906496 bytes Database Buffers 2048000 bytes Redo Buffers 73728 bytes Database mounted. Database opened.
imp导入数据
C:\dul>imp chf/xifenfei file=dump001.dmp full=y Import: Release 8.0.5.0.0 - Production on 星期二 11月 1 23:34:36 2011 (c) Copyright 2000 Oracle Corporation. All rights reserved. 连接到: Oracle8 Release 8.0.5.0.0 - Production PL/SQL Release 8.0.5.0.0 - Production 经由常规路径导出由EXPORT:V07.00.07创建的文件 警告: 此对象由 Bernard's DUL 导出, 而不是当前用户 . 正在将Bernard's DUL的对象导入到 CHF . . 正在导入表 "T_XIFENFEI" 183行被导入 成功终止导入,但出现警告。
测试恢复数据
SVRMGR> connect chf/xifenfei Connected. SVRMGR> select count(*) from t_xifenfei; COUNT(*) ---------- 183 1 row selected.
再次证明了dul确实异常的强大,第三方的工具在某些方面确实不是它的对手