Oracle enterprise stage- Degree of parallelism

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
goutam
Premium Member
Premium Member
Posts: 109
Joined: Thu Jul 26, 2007 6:53 am

Oracle enterprise stage- Degree of parallelism

Post by goutam »

Hi folks,

I have a doubt on oracle enterprise stage's degree of parallelism when it acts as source.

When read method= Table (stage automatically reads in parallel).
what is the degree of parallelism here if my table is partitioned?
what is degree of parallelism here if my table is not partitioned?

when read method = user defined SQL or auto generated SQL
and and partition table property is not set stage reads sequentially. Is it sequentially per partition or runs on only one Node i.e conductor node?

when read method = user defined SQL or auto generated SQL,
and partition table property is set
I think degree of parallelism is no of partitions rather than no of nodes in ATP_CONFIG_FILE . Please confirm this.
Goutam Sahoo
goutam
Premium Member
Premium Member
Posts: 109
Joined: Thu Jul 26, 2007 6:53 am

Re: Oracle enterprise stage- Degree of parallelism

Post by goutam »

goutam wrote:Hi folks,

I have a doubt on oracle enterprise stage's degree of parallelism when it acts as source.

When read method= Table (stage automatically reads in parallel).
what is the degree of parallelism here if my table is partitioned?
what is degree of parallelism here if my table is not partitioned?

when read method = user defined SQL or auto generated SQL
and and partition table property is not set stage reads sequentially. Is it sequentially per partition or runs on only one Node i.e conductor node?

when read method = user defined SQL or auto generated SQL,
and partition table property is set
I think degree of parallelism is no of partitions rather than no of nodes in ATP_CONFIG_FILE . Please confirm this.



Any idea about the above topic??
Goutam Sahoo
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Learn patience.

DSXchange is an all-volunteer site, where people post as and when they can, and usually don't if they have nothing to contribute. "Pushing", as you have done, may be regarded as offensive.

If you need the answer urgently, sign up with your support provider for premium service, and learn how expensive "urgent" can be.


What research have YOU conducted in an attempt to answer your question? What results have you seen?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
goutam
Premium Member
Premium Member
Posts: 109
Joined: Thu Jul 26, 2007 6:53 am

Post by goutam »

ray.wurlod wrote:Learn patience.

DSXchange is an all-volunteer site, where people post as and when they can, and usually don't if they have nothing to contribute. "Pushing", as you have done, may be regarded as offensive.

If you need the answer urgently, sign up with your support provider for premium service, and learn how expensive "urgent" can be.


What research have YOU conducted in an attempt to answer your question? What results have you seen?
Coul n't do a research as i don't have select privillege on system table to read a particular table thru oracle enterprise satge. What i can do is to read the parallel job developer guide and get the things clear.

Could you please tell me what exactly we put in partition table property to read the table in parallel.

Can a table be read in parallel even if a table is not physically partitioned?
Goutam Sahoo
ds_teg
Premium Member
Premium Member
Posts: 51
Joined: Tue Aug 11, 2009 6:53 am
Location: Chicago

Post by ds_teg »

Any update on this question ??
ds_teg
Premium Member
Premium Member
Posts: 51
Joined: Tue Aug 11, 2009 6:53 am
Location: Chicago

Post by ds_teg »

Any update on this question ??
thompsonp
Premium Member
Premium Member
Posts: 205
Joined: Tue Mar 01, 2005 8:41 am

Post by thompsonp »

Are you able to run PX jobs against any of your Oracle tables?

I suggest you try running a simple job that extracts from a single table, passes data through a parallel stage e.g. a transformer and writes it to a dataset. Observe how the job behaves.

Try running the job on one node then on multiple nodes.

Once you have understood this try the same on a partitioned table with and without the partition table option (which should be set to the table name).

When it comes to reading an Oracle table in parallel you need to define exactly what you mean. I suspect you mean can DataStage have multiple readers, but a table can be read by Oracle using parallel query even though the data is sent in a single stream to the client (DataStage, Toad or some other).
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

I think degree of parallelism for extracting is no. of nodes in ATP_CONFIG_FILE . the degree of parallelism for executing the query will depend on the Parallel hint option.
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

Hi

Degree of parallelism within oracle is the parallel hint option
regardless of using the Parallel extender.

In PX the degree of parallelism is the number of nodes

Pls correct me if i am wrong.

Regards
Sreeni
Post Reply