Connection to Oracle in a DSEE environment

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
sathyanveshi
Participant
Posts: 66
Joined: Tue Dec 07, 2004 12:48 pm

Connection to Oracle in a DSEE environment

Post by sathyanveshi »

Hi,

I need to extract data from a Oracle table using a Parallel Job. If I use a 4-node configuration, will the job implicitly create 4 different connections/sessions to Oracle? In that case, if I have 20 different Parallel jobs, will I end up creating 80 connections to Oracle?

Please throw some light on this...

Cheers,
Mohan
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I would certainly think so.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sathyanveshi
Participant
Posts: 66
Joined: Tue Dec 07, 2004 12:48 pm

Post by sathyanveshi »

Fine. In that case, what if my Oracle supports only 50 sessions? How will the parallel jobs execute?

Cheers,
Mohan
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Fewer than 20 at a time! :roll:

With 20 four-node jobs simultaneously you're generating over 200 processes:
  • 20 conductor processes

    80 section leader processes

    80n player processes (one per stage)
Do you have more than 200 CPUs?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

sathyanveshi wrote:Fine. In that case, what if my Oracle supports only 50 sessions? How will the parallel jobs execute?
Poorly. :wink:

As Ray notes, how many are you planning on running at the same time?
-craig

"You can never have too many knives" -- Logan Nine Fingers
sathyanveshi
Participant
Posts: 66
Joined: Tue Dec 07, 2004 12:48 pm

Post by sathyanveshi »

Hi,

I am planning to run 27 parallel jobs at a time,each containing 2 stages.

Cheers,
Mohan
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

That's 27 conductor processes, 108 section leader processes and 216 player processes (assuming no combination), a total of 351 processes. Do you have at least 175 CPUs on your system? It is recommended (as a rule of thumb) not to use more than two processes per CPU in PX jobs.

Can you find an approach that does not run all 27 jobs simultaneously?
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