MySQL 8.4 Release Notes
下面的表列出了 sys 模式对象,并提供了每个对象的简短描述。The following tables list sys
schema objects and provide a short description of each one.
表 30.1 sys 模式表和触发器Table 30.1 sys Schema Tables and Triggers
| 表或触发器名称Table or Trigger Name | 说明Description |
|---|---|
sys_configsys_config |
sys 模式配置选项表sys schema configuration options table |
sys_config_insert_set_usersys_config_insert_set_user |
sys_config 插入触发器sys_config insert trigger |
sys_config_update_set_usersys_config_update_set_user |
sys_config 更新触发器sys_config update trigger |
表 30.2 sys 模式视图Table 30.2 sys Schema Views
表 30.3 sys 模式存储过程Table 30.3 sys Schema Stored Procedures
表 30.4 sys 架构存储函数Table 30.4 sys Schema Stored Functions
| 函数名称Function Name | 说明Description | 已弃用Deprecated |
|---|---|---|
extract_schema_from_file_name()extract_schema_from_file_name() |
从文件名中提取架构名称部分Extract schema name part of file name | |
extract_table_from_file_name()extract_table_from_file_name() |
从文件名中提取表名部分Extract table name part of file name | |
format_bytes()format_bytes() |
将字节数转换为带单位的数值Convert byte count to value with units | 是Yes |
format_path()format_path() |
用符号系统变量名替换路径名中的目录Replace directories in path name with symbolic system variable names | |
format_statement()format_statement() |
将长语句截断为固定长度Truncate long statement to fixed length | |
format_time()format_time() |
将皮秒时间转换为带单位的值Convert picoseconds time to value with units | 是Yes |
list_add()list_add() |
向列表中添加项目Add item to list | |
list_drop()list_drop() |
从列表中移除项目Remove item from list | |
ps_is_account_enabled()ps_is_account_enabled() |
账户的性能模式监控是否启用Whether Performance Schema instrumentation for account is enabled | |
ps_is_consumer_enabled()ps_is_consumer_enabled() |
性能模式消费者是否启用Whether Performance Schema consumer is enabled | |
ps_is_instrument_default_enabled()ps_is_instrument_default_enabled() |
性能模式监控是否默认启用Whether Performance Schema instrument is enabled by default | |
ps_is_instrument_default_timed()ps_is_instrument_default_timed() |
Performance Schema 工具默认是否计时Whether Performance Schema instrument is timed by default | |
ps_is_thread_instrumented()ps_is_thread_instrumented() |
针对连接 ID 的 Performance Schema 仪表化是否已启用Whether Performance Schema instrumentation for connection ID is enabled | |
ps_thread_account()ps_thread_account() |
与 Performance Schema 线程 ID 关联的账户Account associated with Performance Schema thread ID | |
ps_thread_id()ps_thread_id() |
与连接 ID 关联的 Performance Schema 线程 IDPerformance Schema thread ID associated with connection ID | 是Yes |
ps_thread_stack()ps_thread_stack() |
连接 ID 的事件信息Event information for connection ID | |
ps_thread_trx_info()ps_thread_trx_info() |
线程 ID 的事务信息Transaction information for thread ID | |
quote_identifier()quote_identifier() |
作为标识符的引用字符串Quote string as identifier | |
sys_get_config()sys_get_config() |
sys schema 配置选项值sys schema configuration option value | |
version_major()version_major() |
MySQL 服务器主版本号MySQL server major version number | |
version_minor()version_minor() |
MySQL 服务器小版本号MySQL server minor version number | |
version_patch()version_patch() |
MySQL 服务器补丁版本号MySQL server patch release version number |