GBase 8c
其他
问答

开启慢SQL的命令gs_guc reload -Z coordinator -N all -I all -c "log_min_duration_statement = 5s",这个参数5S是什么含义?

发表于2024-04-07 14:25:3723次浏览2个评论

【GBase版本】: GBase8c

【操作系统】: Linux x86

【CPU】: intel

【问题描述】*: 开启慢SQL的命令gs_guc reload -Z coordinator -N all -I all -c "log_min_duration_statement = 5s",这个参数5S是什么含义?

评论

登录后才可以发表评论
用户头像
GBase用户137发表于 2年前
5s是5秒,这个参数表示只记录那些耗时超过或等于5秒的SQL语句
最佳回答
GBase用户51820发表于 2个月前
等待有缘人解答。