#openGauss #入门 #安装 #数据库 #开源
知识来源:docs-opengauss.osinfra.cn/zh/
track_stmt_retention_time
参数说明: 组合参数,控制全量/慢SQL记录的保留时间。以60秒为周期读取该参数,并执行清理超过保留时间的记录,仅sysadmin用户可以访问。
该参数属于SIGHUP类型参数,请参考表1中对应设置方法进行设置。
取值范围: 字符型
该参数分为两部分,形式为'full sql retention time, slow sql retention time'
full sql retention time为全量SQL的保留时间,取值范围为0 ~ 86400
slow sql retention time为慢SQL的保留时间,取值范围为0 ~ 604800
默认值: 3600,604800
#openGauss #入门 #安装 #数据库 #开源