关于DB2排序相关参数优化问题

请教大家个参数调整的问题,如果DB2设置私有排序,sheapthres = n,sortheap为每个代理私有排序的限制,同时设置sheapthres_shr非0,用于内部并行,这个可以理解。
DB2启用了共享排序, sheapthres = 0, 数据库级参数sortheap感觉就没用了,为什么还要设置大小,sortheap这个参数是否可以忽略不用设置?
参与5

3同行回答

drdb2drdb2系统工程师se
Under the shared sort model, all sortheap allocations are from the shared sort heap (sheapthres_shr), which is part of database shared memory (database_memory);sortheap defines the maximum number of private or shared memory pages possibly allocated f...显示全部
Under the shared sort model, all sortheap allocations are from the shared sort heap
(sheapthres_shr), which is part of database shared memory (database_memory);
sortheap defines the maximum number of private or shared memory pages possibly allocated for an operation.

不管shared sort model or private sort model, sortheap 都是要定义的, 因为它决定:每个sort操作最大可以allocate多少sort memory。 自己画个图可能更清楚些。收起
互联网服务 · 2015-04-11
浏览1499
drdb2drdb2系统工程师se
I think that is exactly.显示全部
I think that is exactly.收起
互联网服务 · 2015-04-12
浏览1444
dbalisimmydbalisimmy项目经理大话西游
回复 2# drdb2 非常感谢专家的答疑!SORTHEAP参数 : 如果排序为专用排序,那么此参数将影响代理程序专用内存。如果排序为共享排序,那么此参数将影响数据库共享内存。每个排序都有一个独立的排序堆,也就是SORTHEAP。Right?...显示全部
回复 2# drdb2

非常感谢专家的答疑!
SORTHEAP参数 : 如果排序为专用排序,那么此参数将影响代理程序专用内存。如果排序为共享排序,那么此参数将影响数据库共享内存。每个排序都有一个独立的排序堆,也就是SORTHEAP。
Right?收起
软件开发 · 2015-04-12
浏览1419

提问者

dbalisimmy
项目经理大话西游

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2015-04-11
  • 关注会员:1 人
  • 问题浏览:5106
  • 最近回答:2015-04-12
  • X社区推广