retrict the number of process of one stage with in a job

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
mathewb
Premium Member
Premium Member
Posts: 22
Joined: Tue Jul 17, 2007 10:35 pm

retrict the number of process of one stage with in a job

Post by mathewb »

I have a job which has to extract the data parallel and then insert the data into Netezza. Since the insert into NZ is fast I want only 1 process to insert. In order to extract, I have an parallel odbc stage for which I need to specify at least 4 nodes to pull data fast. So how do I restrict the one stage with in the job to create only one process. Even if I specify node map constraint as node 0, it creates 4 process to insert. Job flow is like
ODBCstage (4process)-->copy stage-->NZstage.
v2kmadhav
Premium Member
Premium Member
Posts: 78
Joined: Fri May 26, 2006 7:31 am
Location: London

Post by v2kmadhav »

you could change the netezza stage execution properties to sequential. did you try that?
mathewb
Premium Member
Premium Member
Posts: 22
Joined: Tue Jul 17, 2007 10:35 pm

Post by mathewb »

v2kmadhav wrote:you could change the netezza stage execution properties to sequential. did you try that?
I tried this earlier but used node constraint along with this and it gave me some error. I will try just specifying the sequential.
mathewb
Premium Member
Premium Member
Posts: 22
Joined: Tue Jul 17, 2007 10:35 pm

Post by mathewb »

No..it is not helping. The NZ stage is invoking the number of nodes specified for the job and not getting restricted by any of these.
dh_Madhu
Premium Member
Premium Member
Posts: 65
Joined: Sat Apr 23, 2005 3:19 am
Location: Stirling, Scotland

Post by dh_Madhu »

may be develop a server job ....Database server can be taxed for the extraction process....
Regards,
Madhu Dharmapuri
mathewb
Premium Member
Premium Member
Posts: 22
Joined: Tue Jul 17, 2007 10:35 pm

Post by mathewb »

dh_Madhu wrote:may be develop a server job ....Database server can be taxed for the extraction process....
the extraction has to be a parallel odbc process and hence I need parallel job.
mathewb
Premium Member
Premium Member
Posts: 22
Joined: Tue Jul 17, 2007 10:35 pm

Post by mathewb »

dh_Madhu wrote:may be develop a server job ....Database server can be taxed for the extraction process....
the extraction has to be a parallel odbc process and hence I need parallel job.
mandyli
Premium Member
Premium Member
Posts: 898
Joined: Wed May 26, 2004 10:45 pm
Location: Chicago

Post by mandyli »

Hi

Use sequential mode and don't use Node Constraint option.

Thanks
Man
mandyli
Premium Member
Premium Member
Posts: 898
Joined: Wed May 26, 2004 10:45 pm
Location: Chicago

Post by mandyli »

Hi

Use sequential mode and don't use Node Constraint option.

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

Post by ray.wurlod »

Have you tried limiting the Netezza stage to a single-node node pool?
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