Unix Technical Forum

Private Sort Memory Allocation Problem

This is a discussion on Private Sort Memory Allocation Problem within the DB2 forums, part of the Database Server Software category; --> Hi folks, The following is an error that is logged to the db2diag.log file whenever I run a db2look ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 10:47 AM
Tim.D
 
Posts: n/a
Default Private Sort Memory Allocation Problem

Hi folks,

The following is an error that is logged to the db2diag.log file
whenever I run a db2look command.

"Not enough memory available for a (private) sort heap of size
8192"

Can someone please advise which instance / db parameter I have to
increase to satisfy this memory requirement.

Many thanks,

Tim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-26-2008, 10:47 AM
Pierre Saint-Jacques
 
Posts: n/a
Default Re: Private Sort Memory Allocation Problem

The parm. is at the db cfg level and is called SORTHEAP
It is set at 8192 pages or 32mb approx.
It is assigned to each statement where the optimizer identifies a piped
sort meaning the soreted result set is held there.

Careful about setting it to high as db2 has at the instance (dbm cfg) a
parm. that you should also look at which is: SHEAPTHRESH

HTH, Pierre.

Tim.D a écrit:
> Hi folks,
>
> The following is an error that is logged to the db2diag.log file
> whenever I run a db2look command.
>
> "Not enough memory available for a (private) sort heap of size
> 8192"
>
> Can someone please advise which instance / db parameter I have to
> increase to satisfy this memory requirement.
>
> Many thanks,
>
> Tim


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:10 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com