gdul

一直想自己也写个dul工具,无奈理解得不够深入
几天前看到别人用java也写了一个,不过不是免费,不知道那天自己能写一个

记录一下免费gdul工具,记录一下,说不定哪天能派上用场

GDUL>bootstrap
bootstrap finished.
GDUL>list user

GDUL>set user gyh
GDUL>list table 

GDUL>unload table t_num


GDUL>unload user gyh

GDUL>help
USAGE:
bootstrap:init dictionary,you should run bootstrap command first
help
desc
exit|quit
list datafile
list user:list users of database
list table: list table of current user
unload table :unload table rows to TXT
unload user
rowid
rdba <0xnnnnnnnn>
show user:show current user
show table
set user
version

::::::::::::::
control.gdul
::::::::::::::
1,/software/app/oracle/oradata/test/system01.dbf
2,/software/app/oracle/oradata/test/undotbs01.dbf
3,/software/app/oracle/oradata/test/sysaux01.dbf
4,/software/app/oracle/oradata/test/users01.dbf
上面这个文件是写明相对文件号和文件名
::::::::::::::
init.gdul
::::::::::::::
db_block_size=8192
osd_big_endian_flag=false
block_checksum=true
export_mode=true
ldr_enclose_char=|
file_leader_size=0
上面这个文件是指定参数,export_mode=true会导出成dmp,否则导出成文本。

你可能感兴趣的:(du)