MySQL Variables have_profiling 数据库 参数变量解释及正确配置使用

本站中文解释

have_profiling 是 MySQL 表状态变量,表示是否支持数据库的查询分析模块的记录。

它对应 MySQL 的选项 –-with-profiling-protocol ,用于是否开启profile记录特性;

如果这个选项被勾选,表状态变量 have_profiling 的值则变成YES,否则是 NO。

设置方式:在编译安装MySQL 时,运行 configure 脚本时添加 –-with-profiling-protocol 配置选项:

$ configure –with-profiling-protocol

官方英文解释

have_profiling

YES if statement profiling capability is
present, NO if not. If present, the
profiling system variable controls whether
this capability is enabled or disabled. See
Section 13.7.5.31, “SHOW PROFILES Statement”.

This variable is deprecated; expect it to be removed in a
future release of MySQL.


数据运维技术 » MySQL Variables have_profiling 数据库 参数变量解释及正确配置使用