MySQL 8.4 Release Notes
8.5.2.5 MySQL 企业数据屏蔽和去标识化 组件变量
MySQL Enterprise Data Masking and De-Identification 组件支持以下系统变量。使用这些变量来配置相关组件操作。变量只有在安装了相应的 MySQL Enterprise Data Masking and De-Identification 组件时可用(见第8.5.2.1节,“MySQL Enterprise Data Masking and De-Identification 组件安装”)。
-
component_masking.dictionaries_flush_interval_secondsCommand-Line Format --component-masking.dictionaries-flush-interval-seconds=#System Variable component_masking.dictionaries_flush_interval_secondsScope Global Dynamic No SET_VARHint AppliesNo Type Integer Default Value 0Minimum Value 60Maximum Value (Unix) 18446744073709551615Maximum Value (Windows) 4294967295Unit 秒 设置在重启或之前执行后,等待的时间间隔,以便尝试将数据屏蔽字典表flush到内存数据屏蔽字典缓存。值如下所示:
-
0:不flush
-
1 - 59 inclusive:向上取整,发出警告
-
>= 60:等待这些秒数执行刷新
-
-
component_masking.masking_databaseCommand-Line Format --component-masking.masking-database[=value]System Variable component_masking.masking_databaseScope 全局 Dynamic 否 SET_VARHint Applies否 Type 字符串 Default Value mysql在服务器启动时,指定用于数据掩码字典的数据库。该变量只读。
使用该变量来设置和持久化非默认值(
mysql)。关于将数据掩码组件使用备用位置的数据掩码表的安装信息,见Install Using a Dedicated Schema。关于使用PERSIST ONLY关键字的总体指导,见第15.7.6.1节,“变量赋值语法”。