Page 1 of 1

To make DB2 read in parallel

Posted: Thu Nov 15, 2007 11:59 pm
by vnspn
Hi,

We have a parallel job where we use a DB2 API stage as the source. By default, this stage runs Sequentially.

As we needed to improve the performance, we changed the property of the stage to run Parallely. The source table originally had 1 million records. But what we noticed was, when the job is run on a 4 way parallel, the records out of the DB2 stage was 4 million. Each record is read 4 times; looks like each node reads the same record once.

Is there a way we could make the DB2 stage to read parallely the way we want to; so as to improve the preformance?

Thanks.

Posted: Fri Nov 16, 2007 12:45 am
by ray.wurlod
No.

You use a DB2 Enterprise stage for that.

Posted: Fri Nov 16, 2007 1:09 am
by balajisr
And you need DB2 DPF license as well.

Posted: Fri Nov 16, 2007 2:22 am
by stefanfrost1
and you have to use read method table or a simple sql that doesn't have group by or joins and similar stuff

Posted: Fri Nov 16, 2007 5:19 pm
by vnspn
Thanks All for your inputs.

We would look into having the DB2 Enterprise stage configured. Looks like it has a long set of configuration steps.

Thanks.