473,387 Members | 1,290 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

DBHEAP configuration for buffer pool size

In a DB2 V8.1 performance tuning document from a 3rd party vendor, I
found this statement. Can anyone verify this?

"DB2 requires 100 bytes of memory for every buffer pool and extended
storage page that is allocated to a database for use as a descriptor
in the database heap, so the size of the DBHEAP configuration
parameter should be considered before creating large buffer pools. For
example, a 1 gigabyte buffer pool with a page size of 4 KB will
require approximately 25 megabytes of database heap memory to store
the 262,144 descriptors required by the buffer pool."
Nov 12 '05 #1
3 5396
Mark ... this was true in V7.x ... but is "not" true in V8.x since we now use memory pools
in V8.x rather than the old memory model in V7.x.
Some details that may help you ... at a very high level (meaning not all possibilities
have been listed):

For Version 7

In bytes:

(logbufsz * 4K)

+ (catalogcache_sz * 4K)

+ 8K per table space

+ 4K per table

+ 100 bytes per page of Extended Storage

For Version 8

In bytes:

(logbufsz * 4K)

+ 10K per table space

+ 4K per table

+ ( 1K + 4*extents used ) per range clustered table (RCT)

This is documented (and more) at:
http://www-1.ibm.com/support/docview...=utf-8&lang=en
--

Bob
Engagement Specialist - DB2 Information Management Software - IBM Software Group
IBM Toronto Lab
[My comments are solely my own and are not meant to represent an official IBM position -
ask my cat!]

"Mark" <m0****@yahoo.com> wrote in message
news:a5**************************@posting.google.c om...
In a DB2 V8.1 performance tuning document from a 3rd party vendor, I
found this statement. Can anyone verify this?

"DB2 requires 100 bytes of memory for every buffer pool and extended
storage page that is allocated to a database for use as a descriptor
in the database heap, so the size of the DBHEAP configuration
parameter should be considered before creating large buffer pools. For
example, a 1 gigabyte buffer pool with a page size of 4 KB will
require approximately 25 megabytes of database heap memory to store
the 262,144 descriptors required by the buffer pool."

Nov 12 '05 #2
"Bob [IBM]" <Bo******@canada.com> wrote in message
news:2s*************@uni-berlin.de...
Mark ... this was true in V7.x ... but is "not" true in V8.x since we now use memory pools in V8.x rather than the old memory model in V7.x.
Some details that may help you ... at a very high level (meaning not all possibilities have been listed):

For Version 7

In bytes:

(logbufsz * 4K)

+ (catalogcache_sz * 4K)

+ 8K per table space

+ 4K per table

+ 100 bytes per page of Extended Storage

For Version 8

In bytes:

(logbufsz * 4K)

+ 10K per table space

+ 4K per table

+ ( 1K + 4*extents used ) per range clustered table (RCT)

This is documented (and more) at:
http://www-1.ibm.com/support/docview...=utf-8&lang=en --

Bob
Engagement Specialist - DB2 Information Management Software - IBM Software Group IBM Toronto Lab


Thank you for the link. So even for version 7, then the 100 bytes per page
only applies to the use of extended storage for buffer pools?

I don't understand why this stuff is not documented in the manual
("Administration Guide: Performance").
Nov 12 '05 #3
same topic but not same question : what's the advantages of bufferpools in
estore mode ?

Thanks

seb

"Mark A" <no****@nowhere.com> a écrit dans le message de
news:Oj************@news.uswest.net...
"Bob [IBM]" <Bo******@canada.com> wrote in message
news:2s*************@uni-berlin.de...
Mark ... this was true in V7.x ... but is "not" true in V8.x since we now
use memory pools
in V8.x rather than the old memory model in V7.x.
Some details that may help you ... at a very high level (meaning not all possibilities
have been listed):

For Version 7

In bytes:

(logbufsz * 4K)

+ (catalogcache_sz * 4K)

+ 8K per table space

+ 4K per table

+ 100 bytes per page of Extended Storage

For Version 8

In bytes:

(logbufsz * 4K)

+ 10K per table space

+ 4K per table

+ ( 1K + 4*extents used ) per range clustered table (RCT)

This is documented (and more) at:

http://www-1.ibm.com/support/docview...=utf-8&lang=en --

Bob
Engagement Specialist - DB2 Information Management Software - IBM

Software Group
IBM Toronto Lab


Thank you for the link. So even for version 7, then the 100 bytes per page
only applies to the use of extended storage for buffer pools?

I don't understand why this stuff is not documented in the manual
("Administration Guide: Performance").

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Tron Thomas | last post by:
As part of applying for a programming position at a company, I recently I had submitted some code samples to one of the developers for review. This is the feedback I received: One of his...
7
by: eric | last post by:
Hi there, BP hit ratio = 1 - (BP physical reads / BP logical reads). If all the BP physical reads are asynchronous, it should mean that the pages are brought up to the bufferpool before the...
36
by: xixi | last post by:
hi, we are using db2 udb v8.1 on windows, i try to use the configuration advisor to get recommendation on the parameter setting, at first, i give the target memory for DB2 is 80% of the physical...
11
by: Issam | last post by:
Hello all, I am trying to change a db2 configuration parameter from within my jdbc code. When I use the following: Statement stmt2 = con.createStatement(); stmt2.executeUpdate( "update db cfg...
2
by: Kush | last post by:
Hi. I am kind of new to DB2 and to this newsgroup so please bear with me.. My question is: IBM installation creates 250 4k bufferpools by default. I want to increase this number to 1000, no...
6
by: Angel Tsankov | last post by:
Hi, I remember reading in a book (or in an article) that the optmial buffer growth factor is about 1.6. Now I need to find this book but I can't remember its title. Can someone help me with this?
4
by: Patrick Finnegan | last post by:
Is there a DB2 setting that will force a table to be cached in the buffer pool? We have four tables that we want to cache completely in the buffer pool to ensure that all the data is read from...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.