检查现有的 BUFFPAGE(缓冲池大小),例如: db2 get db config for ldapdb2 | grep BUFF 7. 获取系统内存大小(以 MB 为单位),例如: lsattr -E -l mem0 8.
基于56个网页-相关网页
Enable the use of the database configuration parameter buffpage.
启用数据库配置参数buffpage。
For applications that only use one buffer pool, change NPAGES to -1 so that BUFFPAGE controls the size of the buffer pool.
对于仅使用一个缓冲池的应用程序,将NPAGES更改成- 1,这样BUFFPAGE就可以控制该缓冲池的大小。
Otherwise the BUFFPAGE parameter is ignored, and the buffer pool is created with the number of pages specified by the NPAGES parameter.
否则会忽略BUFFPAGE参数,并且用NPAGES参数所指定的页数创建缓冲池。
应用推荐