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 Alter bufferpool

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-09-04, 08:46
udbraja udbraja is offline
Registered User
 
Join Date: Sep 2004
Posts: 111
Unhappy DB2 Alter bufferpool

Hi,

We have total memory of 32gb
BP_ALL bufferpool = 160000 16k pages
BP_Temp bufferpool = 60000 16k pages

We reduced system memory to 16gb.
Altered BP_ALL bp to 80000 16k pages with default immediate
Altered BP_temp bp to 30000 16k pages with default immediate

I think alter bp is dymanic in v8.2 (AIX 5.2)

But when we try to issue the query or load,
System iowait is around 80-90% and paging space around 60%.

Usually the below statement takes 2 hours to complete with the original conf of 32gb memory and ....
INSERT INTO X.CURR SELECT * FROM Y.CURR <-- where 290 millions rows present in Y.CURR.

After the alter the same statement took 22 hours still it completed 1/4th.

Do we need to recycle the instance, once we alter bp?

Thanks
Raj
Reply With Quote
  #2 (permalink)  
Old 12-09-04, 13:01
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Raj
Not able to comment on paging etc ..

to know if your bp change has happened, you may do 'db2 get snapshot for bufferpools on <dbname> .. You will find the information you need in the output

Cheers
sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 12-09-04, 15:10
udbraja udbraja is offline
Registered User
 
Join Date: Sep 2004
Posts: 111
Once I lowered the BP size, immediately
I took the BP snapshot and it shows the Lowered BP size.

Still, performance is very poor. I think agents and bp fills/tightens up the 16gb memory thinking of 32gb.

Thanks
Raj
Reply With Quote
  #4 (permalink)  
Old 12-09-04, 16:41
dbamota dbamota is offline
Registered User
 
Join Date: Sep 2003
Posts: 237
have you looked at the system with NMON,or TOPAS?What other applications,databases are running on the system? What does vmo -L say?
When you shrink the bufferpool, no guarantee thet memory segments were released to OS; an OS shutdown and startup will . Increasing NUM_IOCLEANERS and maybe NUM_IOSERVERS may help; also look at alter bufferpool numblockpages ..; its a sequential read; bufferpool is fragmented; would help to have contiguous large blocks.
__________________
mota
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