我想改变mu pgsql数据库配置,我想知道他们用什么单位来描述一些值.大多数情况下,我想了解shared_buffers.
如果我的shared_buffers值是例如16384,那它是KB吗? MB?字节?这个值的单位是多少?
解决方法
对于shared_buffers设置,您可以指定单位,例如
shared_buffers = 3840MB
在官方文档中,它说:
Avoid integers–you need to kNow the underlying unit to figure out what they mean.
附:建议值=可用内存的25%
参考:
> https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
> http://www.postgresql.org/docs/9.1/static/runtime-config-resource.html
> http://samiux.wordpress.com/2009/07/26/howto-performance-tuning-for-postgresql-on-ubuntudebian/
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。