环境:window2003+ora8.1.7 用sqlloader 定长导入数据, load data infile 'test.txt' append into table test( sqno position(1:6) integer external, flag position(7:7) char, date1 position(8:13) char, time1 position(14:19) char, amt position(20:38) integer external ":amt/100", date2 position(39:43) char ) 出现下面的错误, sql*loader: Release 8.1.7.0.0 - Production on 星期四 10月 28 08:13:58 2004 (...
Version: Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production 使用parallel direct path load 方式加载一张表,9个进程并行加载。 表大小:1000万条记录,每条记录100字节 ,9个分区 表空间存储参数:extent management local uniform size 10M SEGMENT SPACE MANAGEMENT AUTO 问题:加载后,此表占用空间达6G以上,如果将他export出来再import进去,则占用空间只有1G左右,比较正常。 请问这是为什么?
sql*loader可以实现批量外部数据导入到oracle中的功能,对于数据量大的工作,具有非常高效的特点。以下实验仅为简单验证: 1、 外部源数据: "1","Unmi","3","2009-1-5 20:34:44" "2","","5","2008-10-15" "3","petersu","8","2009-1-2" "4","antony","","" "5","robbie","1","2008-12-23" 可以把此数据复制到一个文件中命名为peter.csv 2、 抽象出来的数据文件peter.sql内容为: Create table users( User_id number, User_name ...
首先编辑这几个文件: in.txt 参数文件 input.ctl 控制文件 input.txt 即要导入的数据文件(文件格式可以自定) in.txt 参数文件,如下: userid=system/****@oracle9_bytime --口令,密码,服务名 control=c:\input.ctl --控制文件 log=input.log --日志 bad=input.bad --坏...
load data infile 'c:\test9.txt' append into table test (id position(1:3),username position(4:6),password position(7:9),hiredate position(10:12)) test9.txt为1112aaaabdie 这样写就不行 load data infile * append into table test (id position(1:3),username position(4:6),password position(7:9),hiredate position(10:12)) begindata 1112aaaabdie 这样写就可以,哪位高人能指点一下为何?
现有两千多个文本格式的数据文件,共10G,每个文件大概6M,要用sql loader导入到数据库中。运行sql loader的PC机内存为512M。 sql loader多次load文件是否会很耗时? 每次load多大文件比较合适?
用sql*loader将数据文件的数据导入数据库. 数据文件内容是(条件在下面) (test.dat) A20030826 Dabcdefghi12 Dbcdefghij23 Dcdefghijk34 要求写一个ctl文件,实现功能如下: 现有B表,只有一个字段比如mydate,且最多有一条记录. 如果test.dat中'A'开头的那行数据的position(2,9)=B表mydate字段的值,那么就将test.dat中的'D'开头的数据插入到A表,否则不做insert处理. 我的疑问是 1) ctl文件中,寻找'A'开头并且position(2,9)=B表mydat...
:oops: 请教:如何手动安装sql*loader(windows2000),我使用oracle universal install 再安装怎么没有找到呢?(oracle 8.1.5) 非常着急!多谢 :em51: