Need logic for Soring for huge Volume of records

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
sriec12
Participant
Posts: 56
Joined: Mon Nov 01, 2010 5:34 pm

Need logic for Soring for huge Volume of records

Post by sriec12 »

Table A : 110 M
Table B : 180 M

I am doing INNER JOIN to get common records, it produces 85 million records.

Problem: In 85 millions records, I am doing HASH partition(2 keys) and unique at Transformer. Next it loads to oracle database , when it loading it getting aborted after some time due to

Error message: ORA-02396: exceeded maximum idle time, please connect again


Can I use Sort stage instead of sorting on the link ? Does it works ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sort in the database and then add a Sort stage set to "Don't sort already sorted'.

ps. What is your idle timeout?
-craig

"You can never have too many knives" -- Logan Nine Fingers
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Post by prasson_ibm »

Hi,
Are you using oracle connector stage in target,there i think you can increase the timeout or it can never be timeout.
Post Reply