云数据库 GAUSSDB-操作审计:audit_system_function_exec
audit_system_function_exec
参数说明:这个参数决定在执行白名单内的系统函数时是否记录审计日志。
参数类型:整型
参数单位:无
取值范围:0、1
- 0:表示关闭系统函数执行的审计功能。
- 1:表示开启系统函数执行的审计功能。
默认值:0
设置方式:该参数属于SIGHUP类型参数,请参考表1中对应设置方法进行设置。
设置建议:推荐使用默认值。
设置不当的风险与影响:此参数设置为1,当数据库频繁执行白名单内系统函数时会频繁记录审计日志,导致数据库性能下降。
支持记录审计的系统函数白名单如下表所示:
set_working_grand_version_num_manually |
set_config |
pg_terminate_backend |
pg_cancel_backend |
pg_cancel_session |
pg_cancel_invalid_query |
pg_reload_conf |
pg_rotate_logfile |
pg_terminate_session |
pg_terminate_backend |
pg_start_backup |
pg_stop_backup |
pg_create_restore_point |
pg_switch_xlog |
pg_cbm_get_merged_file |
pg_cbm_recycle_file |
pg_enable_delay_ddl_recycle |
pg_disable_delay_ddl_recycle |
pg_cbm_rotate_file |
gs_roach_enable_delay_ddl_recycle |
gs_roach_disable_delay_ddl_recycle |
gs_roach_stop_backup |
pg_last_xlog_receive_location |
pg_xlog_replay_pause |
pg_xlog_replay_resume |
gs_roach_switch_xlog |
gs_pitr_archive_slot_force_advance |
gs_pitr_clean_history_global_barriers |
gs_download_obs_file |
gs_upload_obs_file |
gs_set_obs_file_context |
gs_set_obs_delete_location |
gs_hadr_do_switchover |
gs_set_obs_delete_location_with_slotname |
gs_streaming_dr_in_switchover |
pg_advisory_lock |
pg_advisory_lock_shared |
pg_advisory_unlock |
pg_advisory_unlock_shared |
pg_advisory_unlock_all |
pg_advisory_xact_lock |
pg_advisory_xact_lock_shared |
pg_try_advisory_lock |
pg_try_advisory_lock_shared |
pg_try_advisory_xact_lock |
pg_try_advisory_xact_lock_shared |
gs_get_hadr_key_cn |
pg_create_physical_replication_slot_extern |
pg_create_logical_replication_slot |
pg_drop_replication_slot |
pg_logical_slot_peek_changes |
pg_logical_slot_get_changes |
pg_logical_slot_get_binary_changes |
pg_replication_origin_drop |
pg_replication_origin_session_reset |
local_space_shrink |
gs_space_shrink |
global_space_shrink |
pg_free_remain_segment |
gs_fault_inject |
sqladvisor.init |
sqladvisor.set_weight_params |
sqladvisor.set_cost_params |
sqladvisor.assign_table_type |
gs_repair_file |
local_clear_bad_block_info |
gs_repair_page |
- |
- |
- |
- |
- |
- RDS for MySQL审计日志_开启日志审计_数据库审计_华为云数据库RDS
- 如何查看CTS操作事件_云审计操作事件_CTS指导视频-华为云
- GaussDB数据库云备份_华为GaussDB_高斯数据库云备份
- GaussDB考试_GaussDB数据库考试_高斯数据库考试_华为云
- GaussDB审计_GaussDB数据库审计事件_高斯数据库审计事件_华为云
- GaussDB操作手册_云数据库Gaussdb快速入门_高斯数据库操作手册-华为云
- GaussDB数据库概念_openGauss_华为高斯数据库概念
- GaussDB学习_gaussdb教程_高斯数据库学习_华为云
- GaussDB视频教程_gaussdb查看表结构语句_高斯数据库视频教程_华为云
- GaussDB数据库考试_GaussDB认证_高斯数据库考试_华为云