Oracle write hangs infinitely

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

lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Please try one more test to see whether you are able to import the table definitions using Oracle's Plug-in.
vasa_dxx
Participant
Posts: 39
Joined: Sun Sep 28, 2008 2:59 am
Contact:

Post by vasa_dxx »

The job hangs only when I try to Load Oracle.
But i succeeds when i do an Upsert/insert.

I need to configure sqlloader????
Two wrongs don't make a right. But three lefts do.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Excellent job of narrowing down the problem. So now you actually can get a data file and the SQL script and could reproduce the problem outside of DataStage so I would suggest you involve the DBA so that he or she can monitor what happens when you run it.
vasa_dxx
Participant
Posts: 39
Joined: Sun Sep 28, 2008 2:59 am
Contact:

Post by vasa_dxx »

Thanks ArndW.
I can't see your suggestions after third line.
I set APT_ORA_WRITE_FILES =' (DIRECT=TRUE, PARALLEL=FALSE) '
Inspired by the success of Oraupsert , I tried Upsert on a table using a sort Stage whose Output is 918553 records. Now the same Porblem of hang is reproduced.
Does DS use sqllloader when the records cross a certain limit?
Two wrongs don't make a right. But three lefts do.
srividya
Participant
Posts: 62
Joined: Thu Aug 25, 2005 2:31 am
Location: Ashburn,VA

Post by srividya »

DBA should be able to help you.

from tuning perspective ths might help you

Creating indexes on the table you are trying to load
Partitioning the table
increasing the intial table size

Thanks
Srividya
vasa_dxx
Participant
Posts: 39
Joined: Sun Sep 28, 2008 2:59 am
Contact:

Post by vasa_dxx »

Thanks everybody for the Technical guidance.
The issue isn't resolved yet, but hope it soon due to diligence efforts by the members of this forum.

Although not complete resolution, but narrowing down the possibilty of cause gave me a good knowledge of the basics required.

Thanks Folks,
Two wrongs don't make a right. But three lefts do.
Post Reply