Page 1 of 1

Pivot stage in parellel mode.

Posted: Thu Apr 20, 2006 9:09 am
by Madhu1981
Hi,

I am using pivot stage in my job. The pivot runs in sequential mode as default.

If i cahnge it to parallel, will my functinality affects or not. Shall i change it to parallel.

My Functionality is :

I am getting four fields from pivot input and writting one filed in pivot output.

Kindly help me.

Posted: Thu Apr 20, 2006 9:20 am
by kumar_s
As long as the partition is based on the all the key mentioned in the PIVOT the functionality will not be affected in parallel operation.

Posted: Thu Apr 20, 2006 9:28 am
by ArndW
This is a very basic PX type question that we cannot answer for you. If the pivot can be done within the datasets in each processing node then you should be able to work in parallel. You should try it and see if it works and perhaps provide some feedback to the forum when you've finished.

I looked into the documentation on my PC with 7.5.2 and couldn't find the PIVOT stage documented for PX! I don't know if I might have deleted it by mistake.

Posted: Thu Apr 20, 2006 10:19 am
by DSguru2B
Since pivot stage is completely positional, I dont think it would even give any edge on performance also. Have experience really bad performance with large amount of data when pivoting.

Posted: Thu Apr 20, 2006 11:53 pm
by kumar_s
Also depends on the number of column getting pivoted.

Posted: Fri Apr 21, 2006 12:34 am
by ray.wurlod
Not so. The only difference for execution mode is that, for parallel mode, you must partition (and, ideally, sort) on all pivot key columns. For sequential mode, since all rows are in the same partition, this is not necessary, through sorting is still beneficial.