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 > Problem when calculating DBHEAP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-17-06, 09:23
db2kevin db2kevin is offline
Registered User
 
Join Date: Jun 2006
Posts: 27
Problem when calculating DBHEAP

hi all,

I want to calculate DB2 heap size (DBHEAP). In version IBM give the formulas:
In bytes:
(logbufsz * 4K)
+ 10K per table space
+ 4K per table
+ ( 1K + 4*extents used ) per range clustered table (RCT)

However I do not know how to calculate the value ( 1K + 4*extents used ) per range clustered table (RCT)

Anyone can guide me how to get the information to calculate this values. Plz give me an example if it is possible.

Thx much
Reply With Quote
  #2 (permalink)  
Old 08-17-06, 13:42
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
which version is this calculation for?
Reply With Quote
  #3 (permalink)  
Old 08-17-06, 14:22
db2kevin db2kevin is offline
Registered User
 
Join Date: Jun 2006
Posts: 27
it is version 8.1 fixpak 7
Reply With Quote
  #4 (permalink)  
Old 08-17-06, 21:03
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
I have not seen that calculation. Assuming your logbufsz is 256 or less (which it should normally be), the almost every database can use 2048 for dbheap with plenty to spare. In version 7, dbheap depended on the size of the bufferpools, but this is no longer true.

You really should upgrade to the latest fixpack because FP7 is the first release of 8.2 and it has a lot of bugs. There have been more than 1500 APARs fixed in the fixpacks after FP7.
__________________
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
  #5 (permalink)  
Old 08-18-06, 10:09
db2kevin db2kevin is offline
Registered User
 
Join Date: Jun 2006
Posts: 27
We just upgraded to fixpak 9 yesterday.

The formulas is from IBM for fixpak 4 and newer:

http://www-1.ibm.com/support/docview...id=swg21141490
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