Where are Oracle bulk loader logs?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
mekrreddy
Participant
Posts: 88
Joined: Wed Oct 08, 2008 11:12 am

Where are Oracle bulk loader logs?

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
mekrreddy
Participant
Posts: 88
Joined: Wed Oct 08, 2008 11:12 am

Post 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..
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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?
-craig

"You can never have too many knives" -- Logan Nine Fingers
mekrreddy
Participant
Posts: 88
Joined: Wed Oct 08, 2008 11:12 am

Post 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.??
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Re: Oracle bulk loader error

Post by ray.wurlod »

mekrreddy wrote:...load into an ORCLE table ...
The database from Lord of the Rings. _ :lol:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply