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%

评论已关闭