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 > Stmtheap, Applheapsz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-24-06, 06:11
Breako Breako is offline
Registered User
 
Join Date: Jan 2006
Posts: 119
Stmtheap, Applheapsz

Hi,
Can anyone tell me the best value practise to set these parameters to?
The defaults seem to be quite low?
Many thanks
Reply With Quote
  #2 (permalink)  
Old 10-24-06, 10:37
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
I cannot give specific values to set them to, but you want to set them to the smallest value that works for your system. stmtheap is used for dynamic SQL compiling. If you have alot of dynamic SQL and it is not just basic select * from mytable stuff, then this obviously need increasing from the default. How big depends on your application. If it is too small, you will get a specific error about increasing this parameter. applheapsz is another one that depends on you application. The best way to tune this is to start at the default. If you get the error saying it is too small, increase it a little bit. Keep on doing this until the error stops.

Andy
Reply With Quote
  #3 (permalink)  
Old 11-02-06, 02:06
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,
general recommendation about applheapsz is: if error in db2diag.log double the size of applheapsz, if problem persists double it again.
Hope this helps,
Grofaty
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