0 pts.
 sqlloader problem while loading from a huge csv file
Hi all, I am new to this community. Hope to have a great learning experience here. The error I am receiving while loading a huge file is: SQL*Loader-510: Physical record in data file is longer than the maximum(1048576) Actually the csv file I am loading from is huge, has 9lac+ records. Increasing the readsize doesnt help... Let me write down the full command I am issuing: C:>sqlldr "test/test@conf" control='E:control_location.ctl',log='E:log_location.log',data='E:data_location.txt',errors=0,direct=true,commit_discontinued=true,readsize=3000000; returns an error... LRM-00104: '3000000;' is not a legal integer for 'readsize' Please suggest me a way out. Thank you all in advance, Avishek.

Software/Hardware used:
ASKED: September 6, 2005  2:12 AM
UPDATED: September 14, 2005  12:08 PM

Answer Wiki:
I would try to investigate the 3000000 number that is referenced in the error message, could a number this size fit into a type 'integer' column? Perhaps, the column in question needs a size change...
Last Wiki Answer Submitted:  September 6, 2005  4:18 pm  by  Whizzconsult   0 pts.
All Answer Wiki Contributors:  Whizzconsult   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Hi,

When I am trying the command with the normal read buffer size, then it gave the error:
SQL*Loader-510: Physical record in data file is longer than the maximum(1048576)

That is why I tried it with a higher buffer value. Trying with a lesser value gives the above error msg.

 0 pts.

 

The error means just what it says, in this case; one or more of your records is too long for the loader to handle. You’ll need to investigate the use of one of SQL*Loader’s workaround methods; Concatenate or ContinueIf.

SQL*Loader-510: physical record in datafile is longer than the maximum

Cause: The datafile has a physical record that is too long.

Action: Use CONCATENATE or CONTINUEIF. Break up the physical records.

If you don’t have the documentation for SQL*Loader, or access to Oracle’s site, you can find the relevant section here: http://tbw.verbundstudium.de/faecher/datenbanken/loader/loader_ref.pdf

 0 pts.