Page 1 of 1

Where are Oracle bulk loader logs?

Posted: Thu Aug 27, 2009 12:05 pm
by mekrreddy
I am getting the following error when trying to load into an ORCLE table
using Load and Append,

job_0001,0:The system(sqlldr CONTROL=ora.1306720.90647.0.log
BAD=ora.1306720.90647.0.log.bad SILENT=header PARFILE= ora.1306720.90647.0.par) failed: see the log file for oracle specific message.

To view the logfile mentioned in the error i dont know the location of the file..

I see this kind of errors in this forum but does not have any solution, please help me out.

Thanks in advance.

Posted: Thu Aug 27, 2009 12:12 pm
by chulett
The .log and .bad files are created in your "scratch" space defined by the config file in use at the time the job was run.

Posted: Thu Aug 27, 2009 12:23 pm
by mekrreddy
Thanks hullet

I found the log and control file, it says all the rows are successfully loaded, 0 rejected, in that case why this fatal error?

thanks..

Posted: Thu Aug 27, 2009 12:29 pm
by chulett
All loaded and zero rejected doesn't mean everything was fine. Keep reading, are there any ORA errors mentioned after that? Duplicates in a unique index, perhaps?

Posted: Thu Aug 27, 2009 1:55 pm
by mekrreddy
hullet,

index XXXXXX was made unusable due to SKIP_INDEX_MAINTANANCE optio requested.
does not say anything about else about indexes,

any other issue.??

Posted: Thu Aug 27, 2009 1:59 pm
by chulett
No, isn't that enough? :wink:

That's your fatal and you have an UNUSABLE index on your table now. Talk to your DBA about how to fix that. And see about not skipping "index maintenance" for any future loads.

Re: Oracle bulk loader error

Posted: Thu Aug 27, 2009 4:35 pm
by ray.wurlod
mekrreddy wrote:...load into an ORCLE table ...
The database from Lord of the Rings. _ :lol: