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 > Db2 9.7 parallal processing ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-26-11, 07:31
shaikhemran shaikhemran is offline
Registered User
 
Join Date: Dec 2011
Posts: 3
Exclamation Db2 9.7 parallal processing ?

Hi,
I am not familiar with db2 internal working , and I have a one serious problem to handle

actually I have been using db2 8.2 on win2003 4 core CPU and it was working fine since my heavy data report started tacking 24hrs to complete , So I bought IBM Server with 8 core and 12 GB of RAM
Now problem is using EE db2 9.7 on RHEL 6 , my report process only use 2 CPU out of 8 core and If I initiate second thread manually only then process spreads to 4 CPU,

So problem is why in linux 9.7 my process is limited to 2 CPU in Db2 EE but use 4 CPU on db 8.2 on windows automatically

(and workgroup edition use only one CPU )
I have already run the INTRA_PARALLEL, but no luck
Reply With Quote
  #2 (permalink)  
Old 12-26-11, 21:04
fengsun2 fengsun2 is offline
Registered User
 
Join Date: Nov 2011
Posts: 124
Have you recycled instance after you alter set INTRA_PARALLEL to Yes?
Maybe you also need to alter the db cfg (DFT_DEGREE) to any to let db2 choose query parallel degree.
You can use db2expln or db2exfmt to see query degree for the specific sql。
Reply With Quote
  #3 (permalink)  
Old 12-27-11, 00:41
shaikhemran shaikhemran is offline
Registered User
 
Join Date: Dec 2011
Posts: 3
what do u mean by recycle , restart ? yes I have
Reply With Quote
  #4 (permalink)  
Old 12-27-11, 03:27
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Is DB2 properly licenced? It behaves like an express-C version....
Check with "db2licm -l"
Reply With Quote
  #5 (permalink)  
Old 12-27-11, 03:33
shaikhemran shaikhemran is offline
Registered User
 
Join Date: Dec 2011
Posts: 3
no it is not license yet , but It not express-c it is sure enterprise edition 9.7 I have checked it with db2licm -l

it is under evaluation till we come over this problem
Reply With Quote
  #6 (permalink)  
Old 12-27-11, 05:31
fengsun2 fengsun2 is offline
Registered User
 
Join Date: Nov 2011
Posts: 124
yeah , recycle = restart.
Maybe access plans for your query have been changed when you migrate your system on db2 v9.7。
You can use get snapshot for application to see how much agents associated with your application when runing the data report.
"Maximum associated agents = XX"
and Not all excuting phases of a query can't be processed parallelly ( fetch ,compile,etc)
anyway it will be ealier to dig out what the problem is if you put the exactly access plan here.
Reply With Quote
  #7 (permalink)  
Old 12-27-11, 11:12
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
The important thing is, how you determine that the DB2 process uses as many CPU cores as you think it does.

As for the differences between DB2 8.2 on Windows and 9.7 on Linux, they have completely different process models and you cannot possibly compare the two.
Reply With Quote
  #8 (permalink)  
Old 12-27-11, 11:14
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by shaikhemran View Post
no it is not license yet , but It not express-c it is sure enterprise edition 9.7 I have checked it with db2licm -l

it is under evaluation till we come over this problem
In the beginning of db2diag.log there is a banner printed that shows how much memory and how many CPU cores the instance actually uses.
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