云数据库 GAUSSDB-审计开关:audit_file_remain_threshold
audit_file_remain_threshold
参数说明:审计目录下审计文件个数的最大值。
参数类型:整型
参数单位:个
取值范围:100 ~ 1048576
默认值:1048576
设置方式:该参数属于SIGHUP类型参数,请参考表1中对应设置方法进行设置。
设置建议:推荐使用默认值。详情请参考以下须知。
1048576(196核CPU/1536G内存,128核CPU/1024G内存,104核CPU/1024G内存,96核CPU/1024G内存,96核CPU/768G内存,80核CPU/640G内存,64核CPU/512G内存,60核CPU/480G内存,32核CPU/256G内存,16核CPU/128G内存,8核CPU/64G内存,4核CPU/32G内存);1024(4核CPU/16G内存),不要随意调整此参数,如果需要控制审计日志的存储空间和时间,请使用audit_resource_policy、audit_space_limit和audit_file_remain_time参数进行控制。
设置不当的风险与影响:设置不当可能会导致audit_resource_policy无法生效。