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 > Sort heap threshold

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-23-05, 10:14
AnilKale AnilKale is offline
Registered User
 
Join Date: Feb 2005
Posts: 118
Sort heap threshold

Using UDB DB2 ver 7.2 for AIX

I noticed that the SORTHEAP is set to 51200 and SHEAPTHRES is set to 20000.
Since the sort heap cannot exceed the sort heap threshold, clearly these values are meaningless from a tuning point of view.
Now my question is what does DB2 do when it encounters such conflicting values ? Does it simply go and use the default values ? or does it treat the sort heap threshold are the correct value and makes ajustments to the sort heap accordingly ?
As an extension of this question, my question is how does db2 handle the values at the database level when they don't agree with what is specified at the database manager level ?
There are many db parameters(such as buffpage, dbheap,logbufsz etc) that make up the database global memory. Same with private memory, that is there are many parms that go into defining the private memory.
So how does db2 reconcile the discrepancies that arise from setting the incorrect values (values that either don't make sense or simply cannot be done) of various configuration parameters ?
looking forward to hear from you all.

thanks and regards,
Anil
Reply With Quote
  #2 (permalink)  
Old 02-24-05, 02:13
jacampbell jacampbell is offline
Registered User
 
Join Date: Jan 2005
Posts: 191
My guess is that this is equivalent to specifying SORTHEAP 20000.

Generally, DB2 will apply restrictions from the most global through to the most localised. It might be a deliberate decision to have an instance memory limit that is less than the sum of the database limits. In this case the last database to ask for memory might not get all it wants.

James Campbell
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