文件名称:oracle文本导入导出工具-ozoradts
文件大小:19KB
文件格式:ZIP
更新时间:2013-01-25 09:24:57
oracle 导入导出 文本 sqlldr 控制文件
---------------------------------------------------------------------------- - oz_ora_dts: Release 2.21 - Copyright (C) 2009 by Ozai ---------------------------------------------------------------------------- Usage: ozoradts -func keyword=value [,keyword=value,...] -func = -imp/exp Common Valid Keywords: userid = username/password@tnsname data = 数据文件 (默认dts.oz) log = 处理日志文件 control = 控制文件 columnarrayrows = 直接路径字段数组行数,5-5000 (默认5000) columnover = 字段数据分隔符 (默认Tab) rowover = 行数据结束符 (默认换行符) enclose = 字段数据封闭符 (默认无) head = 数据文件是否包含字段名 (默认FALSE) fixlen = 根据字段长度定长输出 (默认FALSE) nullif = NULL值替换符 (默认无) date = date类型字符格式 (默认YYYY-MM-DD HH24:MI:SS) timestamp = timestamp类型字符格式 (默认YYYY-MM-DD HH24:MI:SSXFF) timestamp_tz = timestamp_tz类型字符格式 (默认YYYY-MM-DD HH24:MI:SSXFF TZH:TZM) Import Valid Keywords: table = 导入目标表名 owner = 表schema或所属用户名 (默认登录用户名) sub = 对应表分区 (可选) mode = 导入操作 INSERT/APPEND/REPLACE/TRUNCATE (默认INSERT) buffer = 转换缓冲区大小 (UNIT:MB 默认16) reclen = 记录最大长度,8-2048 (默认2048) parallel = 并行导入 (默认FALSE) skip = Number of logical records to skip (默认0) load = Number of logical records to load (默认全部) errors = Number of errors to allow (默认0) rows = Number of rows in conventional path bind array or between direct path data saves nolog = no logging方式导入 (默认FALSE) Export Valid Keywords: query = select语句,只支持单表查询 table = 导入目标表名 (控制文件) mode = 导入操作 INSERT/APPEND/REPLACE/TRUNCATE (控制文件,默认INSERT) buffer = sqlldr READSIZE and BINDSIZE (控制文件,UNIT:MB 默认16) read = set DB_FILE_MULTIBLOCK_READ_COUNT at session level sort = set SORT_AREA_SIZE at session level (UNIT:MB) hash = set HASH_AREA_SIZE at session level (UNIT:MB) serial = set _serial_direct_read to TRUE if 1 at session level trace = set event 10046 to given level at session level long = 最大长字段长度,8192-65534 (默认8192) feedback = 每 x 行显示处理进度 (默认500000) Import采用直接路径方式,等同于sqlldr的Direct方式导入(DIRECT=TRUE),nolog参数等同于sqldr的UNRECOVERABLE参数 ozoradts -exp userid=test/test@oradb columnover=";" query="select * from fct_serv_product_stats_bk where rownum<5" fixlen=yes enclose=\" nullif=NULL head=yes skip=1 errors=2 rows=3 load=8 control=fct_serv_product.ctl table=serv_pstats data="d:\temp\serv.txt" ozoradts -imp userid=test/test@oradb table=serv_stats data="d:\temp\serv.txt" columnover=";" enclose=\" skip=1 errors=2 rows=3 load=8 如遇软件缺陷与建议邮件至ozai@sohu.com,谢谢!
【文件预览】:
ozoradts.exe