Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
DB2 parallelism

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
jzhardy

New User


Joined: 31 Oct 2006
Posts: 76
Location: brisbane

PostPosted: Sun Jun 21, 2020 5:26 am    Post subject: DB2 parallelism
Reply with quote

I have a set of queries Q1 .. QN which are result set compatible.

eg Q1 might be:
Code:
select id -- id is dec 9
from some_table where id in (1,2,3);


Q2 might be:

Code:
Select id -- id is dec 9
from another_table where id in (5,6,7);


If I string these together as:
Q1 union all Q2 union all ... Qn

does DB2 guarantee internal parallelism ?

Assume that I have set current degree = 'ANY'

what other considerations are there ? traps for the unwary etc.
Back to top
View user's profile Send private message

Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2419
Location: NY,USA

PostPosted: Mon Jun 22, 2020 11:00 am    Post subject:
Reply with quote

Many factors affects that and DBA can be the best person to tell about it on your query since the setting vary per site.

Start from here and then reach out to DBAs

https://www.ibm.com/support/knowledgecenter/SSEPEK_11.0.0/perf/src/tpc/db2z_whenparallelnotused.html
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DSNUTILB - parallelism vasanthz DB2 3 Mon Jan 19, 2015 10:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us