Page 1 of 1

Pivot perfomance is bad

Posted: Tue Dec 05, 2006 11:50 am
by santoshkumar
Hi,

I am running a job in DS7.5.1A and it is taking for 0.6 million records 3 hours.

Design:

oracle source--->Xfm------>Pivot----------->DataSet.

From oracle stage to Xfm it is taking only 3 minutes.

Pivot stage is the overhead.

How can i improve the performance.
I am pivoting 16 columns to rows.

Thanks.

Re: Pivot perfomance is bad

Posted: Tue Dec 05, 2006 11:57 am
by thebird
santoshkumar wrote: Pivot stage is the overhead.
The pivot stage is known to give a performance overhead, especially when pivoting too many columns.

By default the Pivot stage runs in a Sequential mode - have you changed this to run in a parallel mode? This should improve the performance a little bit.

Aneesh

Posted: Tue Dec 05, 2006 1:28 pm
by santoshkumar
Is there any other way i can replicate the pivot stage functionality and improve performance.

Posted: Tue Dec 05, 2006 1:50 pm
by thebird
santoshkumar wrote:Is there any other way i can replicate the pivot stage functionality and improve performance.
Did you try to run in a Parallel mode? Any significant difference?

Posted: Tue Dec 05, 2006 4:20 pm
by santoshkumar
Not much of diff.

I am just thinking of having 8 output links form tranformer to pivot with each having pivot columns.

I think this should give me some improvement.

If anyone has any other thought just let me know..

Posted: Tue Dec 05, 2006 4:22 pm
by thebird
santoshkumar wrote:I am just thinking of having 8 output links form tranformer to pivot with each having pivot columns.
Why dont you try writing the Pivot Logic inside the Transformer and checkout the performance?

Posted: Tue Dec 05, 2006 9:22 pm
by santoshkumar
how can i achieve in a transformer