Home » RDBMS Server » Server Utilities » Sql*loader for large # of records (7500)
Sql*loader for large # of records (7500) [message #69947] Thu, 21 March 2002 13:10 Go to next message
Steven Pelletier
Messages: 3
Registered: March 2002
Junior Member
I am having trouble with loading 7500 items into a table. The sqlldr stops at 640. Where is the parameter that allows me to adjust this?

The current statement I am using is as follows.

Sqlldr username/password item.ctl test.log test.bad test.csv load=7500.

the item.ctl looks like this.

load data
infile 'test.csv'
badfile 'test.bad'
discardfile 'test.dsc'
Insert into table items
fields terminated by "," optionally enclosed by '"'
(ID integer external,
SPEC_DESCRIPTION char,
IMAGEPATH char,
INVENTORY integer external,
SEGMENT1 char,
SEGMENT2 char,
CAT_SEGMENT1 char,
CAT_SEGMENT2 char,
TEMPLATE_NAME char,
PRICE char)

Thank you for your help,

Steven
Re: Sql*loader for large # of records (7500) [message #69957 is a reply to message #69947] Fri, 22 March 2002 07:26 Go to previous messageGo to next message
Grant
Messages: 578
Registered: January 2002
Senior Member
Use the errors option and specify more than the default which is 50.
Re: Sql*loader for large # of records (7500) [message #69959 is a reply to message #69947] Fri, 22 March 2002 08:19 Go to previous messageGo to next message
Steven Pelletier
Messages: 3
Registered: March 2002
Junior Member
I am not currently getting any errors. The process just stops after 640 records.
Re: Sql*loader for large # of records (7500) [message #69961 is a reply to message #69947] Fri, 22 March 2002 10:32 Go to previous message
Steven Pelletier
Messages: 3
Registered: March 2002
Junior Member
I found the problem.

There is a variable that is not listed for readsize I changed this to meet the size of the file and it went right through.
Previous Topic: 94. not able to backup my database with recovery catalog
Next Topic: SQL*Loader: ORA-01401: inserted value too large for column
Goto Forum:
  


Current Time: Thu Apr 25 08:44:42 CDT 2024