再谈shared_buffers-数据库管理、开发实践专场(27页).pdf

编号:87339 PDF 27页 1.63MB 下载积分:VIP专享
下载报告请您先登录!

再谈shared_buffers-数据库管理、开发实践专场(27页).pdf

1、刘阳明shared_buffers“Sets the amount of memory the database server uses for shared memory buffers.The default is typically 128 megabytes(128MB),but might be less if your kernel settings will not support it(as determined during initdb).This setting must be at least 128 kilobytes.(Non-default values of B

2、LCKSZ change the minimum.)However,settings significantly higher than the minimum are usually needed for good performance.This parameter can only be set at server start.If you have a dedicated database server with 1GB or more of RAM,a reasonable starting value for shared_buffers is 25%of the memory i

3、n your system.There are some workloads where even larger settings for shared_buffers are effective,but because PostgreSQL also relies on the operating system cache,it is unlikely that an allocation of more than 40%of RAM to shared_buffers will work better than a smaller amount.Larger settings for sh

4、ared_buffers usually require a corresponding increase in max_wal_size,in order to spread out the process of writing large quantities of new or changed data over a longer period of time.On systems with less than 1GB of RAM,a smaller percentage of RAM is appropriate,so as to leave adequate space for t

5、he operating system.”Why shared_buffers 25%40%?“PostgreSQL also relies on the operating system cache”“Larger settings for shared_buffers usually require a corresponding increase in max_wal_size,in order to spread out the process of writing large quantities of new or changed data over a longer period

6、 of time.”Why shared_buffers 25%40%?“PostgreSQL also relies on the operating system cache”Page cache可以看做多进程架构的应用系统的一种共享数据的cache“Larger settings for shared_buffers usually require a corresponding increase in max_wal_size,in order to spread out the process of writing large quantities of new or changed

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(再谈shared_buffers-数据库管理、开发实践专场(27页).pdf)为本站 (云闲) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠