GBase 8c
性能调优
文章
FAQ : TPCC 执行报错Lock wait timeout
GBase社区管理员发表于2023-04-27 13:09:0626次浏览0个评论
修改参数
gs_guc reload -Z coordinator -N all -I all -c "update_lockwait_timeout = 20min"
gs_guc reload -Z datanode -N all -I all -c "update_lockwait_timeout = 20min"
第二:修改shared_buffers,锁的原因为大并发下业务线程获取 buffer 页面时通常要先刷脏,这动作会耗些时间和buffers
推荐值
max_process_memory 是物理内存70%
shared_buffers 是max_process_memory的40%
评论已关闭
热门帖子
- 12025-12-01浏览数:182765
- 22023-05-09浏览数:25067
- 42023-09-25浏览数:18527
- 52020-05-11浏览数:17529
