加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

macos – 如何增加max_locks_per_transaction

发布时间:2020-12-13 18:04:19 所属栏目:百科 来源:网络整理
导读:我一直在执行一种密集的模式删除和在PostgreSQL服务器上创建, ERROR: out of shared memory HINT: You might need to increase max_locks_per_transaction. 我需要增加max_locks_per_transaction但是如何在MAC OSX中增加它 你可能会找到../data/ postgresql.
我一直在执行一种密集的模式删除和在PostgreSQL服务器上创建,

ERROR: out of shared memory

HINT: You might need to increase max_locks_per_transaction.

我需要增加max_locks_per_transaction但是如何在MAC OSX中增加它

你可能会找到../data/ postgresql.conf文件,然后用记事本编辑,设置max_locks_per_transaction = 1024
如果它看起来像#max_locks_per_transaction …你必须删除#.

它必须看起来像那样:
max_locks_per_transaction = 1024#min 10

比保存并重新启动postgresql

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读