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 > How to make buffer pools to be used

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-07-04, 04:41
NNicole NNicole is offline
Registered User
 
Join Date: May 2003
Posts: 57
How to make buffer pools to be used

Hello all!

I noticed that my database uses only one default bp even I created three of them. I have only one TS for user data (userspace) and snapshot for tablespaces shows that only one BP is in use.

I don't know why is that. They have the same page size an TS, and this is the command I issued to create them:
create bufferpool bp1 immediate size 20000 pagesize 4k

Is there anything I can do to make them usefull?
(DB2 v8.1.6, AIX 5.2)

Thank you in advance
NNicole
Reply With Quote
  #2 (permalink)  
Old 09-07-04, 05:09
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Each tablespace can be associated with only one bufferpool .... So, if you have one TS then only one bufferpool will be used ...

You can associate a tabelspace with a bufferpool either when creating the tablespace or by altering the tablespace ...

HTH

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 09-07-04, 05:13
burchard burchard is offline
Registered User
 
Join Date: Sep 2004
Location: Copenhagen, Denmark
Posts: 1
Smile How to make buffer pools to be used

Tablespaces are associated to bufferpools. To make a bufferpool active you must submit a statement like: ALTER TABLESPACE USERSPACE1 BUFFERPOOL BP1;

Regards Gerhard Burchard
Reply With Quote
  #4 (permalink)  
Old 09-07-04, 06:23
NNicole NNicole is offline
Registered User
 
Join Date: May 2003
Posts: 57
Thank you very much.
Before I thought that I can have more than one BP per TS ...
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