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 > advice on bufferpool

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-07-08, 08:18
sanjai sanjai is offline
Registered User
 
Join Date: Jan 2007
Posts: 33
advice on bufferpool

hi,

i need advise from db2 experts on bufferpool.

scenario is given below.

i have a (32k) tablespace and bufferpool for the same 600mb and this tablespace contains around 120 gb of datas.

tablespace 32k bufferpool 32k total size of data (tables)
20000 120 gb

How much i can increase the bufferpool size in order to support the 120gb of data and performance?

pls advice


regards

Sanjai
Reply With Quote
  #2 (permalink)  
Old 07-07-08, 18:51
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
If you have a 64 instance, you can allocate as much real unused memory as your server currently has. Real means physical memory, and not virtual. Unused means no other process on that server is using it (it is free memory). Just increase the bufferpool size (number of pages).

If you have a 32 bit instance, you are limited to about 1 GB - 2GB for bufferpools depending on the operating system.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 07-08-08, 01:18
sanjai sanjai is offline
Registered User
 
Join Date: Jan 2007
Posts: 33
Thanks Mr. Marcus, For DWH environment, if i alter the buffer pool as block based bufferpool will the performance improve. kindly advice

regards

sanjai
Reply With Quote
  #4 (permalink)  
Old 07-10-08, 20:12
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Block based might help if you have a lot of table scans.

Since it is very unlikely that you can fit all the data in bufferpools and keep it there with a large data warehouse, you have to figure out which data should be (such as indexes and highly used small tables) put in a seperate bufferpool that has about the same amount of memory as there is data assigned to that bufferpool. This will enable your bufferpool hit ratio to be high for at least some important objects (indexes and small tables), even if the larger tables will have a lower bufferpool hit ratio.

In order to assign indexes to a seperate bufferpool than the table data, it must be in a DMS tablespace, and you must specify a seperate tablespace for indexes when the table is created.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390

Last edited by Marcus_A; 07-11-08 at 22:45.
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