If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > (intra_parallel) = Yes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-02-08, 15:51
rmarzullo rmarzullo is offline
Registered User
 
Join Date: May 2007
Posts: 56
(intra_parallel) = Yes

I have couple instances in DB2 v7.1.0 and some in DB2 v8.2.9.
I am in the process of upgrading the rest of them but all my old instances have (INTRA_PARALLEL) = YES.
Reading http://www-128.ibm.com/developerwork...ex.html#design I noticed that this parameter will be better = YES if I am using DSS or DW systems which is not the case.

In v7 this parameter seems to not have big impact since v7 doesn't have share memory pools like v8.
I am having messages on my new v8 instances because shared sort heap and long term memory ....

Should I change this parameter back to No? Do I need to change anything else (other related parameters)?

Thanks
Reply With Quote
  #2 (permalink)  
Old 04-02-08, 16:11
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
If you choose to leave the intra-partition parallelism enabled make sure that the application group memory is configured properly. You can find a detailed discussion here: http://www-1.ibm.com/support/entdocv...id=swg21179841

(you may need to register at the IBM web site in order to access the link, but it is free.)

However, enabling the intra-partition parallelism in OLTP systems is generally not recommended, because the overhead of workload distribution between subagents in most cases exceeds the benefits. You can check statement explain plans to see if your workload uses parallel execution at all.
Reply With Quote
  #3 (permalink)  
Old 04-03-08, 04:41
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
You can also control with the CURRENT DEGREE special register for each session how much of the intra-partition parallelism will be exploited. So if you have a mixed workload, then this would be a way to control things through the application.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #4 (permalink)  
Old 04-03-08, 09:14
rmarzullo rmarzullo is offline
Registered User
 
Join Date: May 2007
Posts: 56
Wink

Quote:
Originally Posted by n_i
If you choose to leave the intra-partition parallelism enabled make sure that the application group memory is configured properly. You can find a detailed discussion here: http://www-1.ibm.com/support/entdocv...id=swg21179841

(you may need to register at the IBM web site in order to access the link, but it is free.)

However, enabling the intra-partition parallelism in OLTP systems is generally not recommended, because the overhead of workload distribution between subagents in most cases exceeds the benefits. You can check statement explain plans to see if your workload uses parallel execution at all.
Thanks for the LINK and the advice about OLTP and enabling this parameter. What really bugs me is the fact that in all old systems we had (and still have some in v7) all instances have this parameter set to YES and as far as I know none of those databases are DSS or DW type. They are pretty much accessed either Perl/Scripts or Powerbuiler applications where users pull data from or insert data into...but since DB2 v8 changed its memory structure, I am inclined to turn to NO and monitor the DB for while.
I am working for this company for year so far and all DB2 instances were built by people no longer in the company so I am trying to understand why some things were defined this way.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On