to stephensun123 ,to limin19821 谢谢回复我在全部整理一下我的 情况版本是v9.7(第一次用就用最新的版本了)参数时 dbm cfg: sheapthres=0 ; db cfg: sheapthres_shr=automatic, sortheap=automatic疑问1:sheapthres_shr=automatic, sortheap=automa...
显示全部to stephensun123 ,to limin19821 谢谢回复
我在全部整理一下我的 情况
版本是v9.7(第一次用就用最新的版本了)
参数时 dbm cfg: sheapthres=0 ; db cfg: sheapthres_shr=automatic, sortheap=automatic
疑问1:sheapthres_shr=automatic, sortheap=automatic,都是automatic,是不是就没有什么硬限制或者软限制一说? 只要database_memory足够,那么多大都有可能?
疑问2:sheapthres_shr=automatic, sortheap=automatic 是立刻调整的,还是延迟调整的?
比如sheapthres_shr 是automatic,假设现在automaitc的值是100M(自动调整现在是100M),sortheap是12M(automaitc的值,假设已经调整到12M),现在数据库用到的共享排序的内存是90M,刚好一个session申请了11M的排序内存,那么现在db2会怎么做呢?
是自动扩展sheapthres_shr 到105M,然后给那个session 11M的排序空间?
还是给那个session 10M的排序空间,然后再 自动扩展到105M?
疑问3:sheapthres_shr=automatic, sortheap=automatic 的自动调整的内存大小什么时候会缩小?
如果其他几块自动调整的内存,比如说DBHEAP(AUTOMATIC),locklist(automatic) 刚好不不变的情况下,
而现在 排序又没有那么多的情况下,sheapthres_shr的值 会去调小吗? 还是保留原有的大小
多多讨论才会有更多的收获,谢谢大家参与
收起