缺少'events_statements_summary_by_digest表'

时间:2016-02-08 13:37:29

标签: mysql performance mysql-5.6

在我的MySQL 5.6.27 默认安装中,'performance_schema'数据库中缺少'events_statements_summary_by_digest'表。

事实上,我认为缺少更多的表格。我在安装过程中出了什么问题?我该如何解决这个问题?

use performance_schema;
show tables;
+----------------------------------------------+
| Tables_in_performance_schema                 |
+----------------------------------------------+
| cond_instances                               |
| events_waits_current                         |
| events_waits_history                         |
| events_waits_history_long                    |
| events_waits_summary_by_instance             |
| events_waits_summary_by_thread_by_event_name |
| events_waits_summary_global_by_event_name    |
| file_instances                               |
| file_summary_by_event_name                   |
| file_summary_by_instance                     |
| mutex_instances                              |
| performance_timers                           |
| rwlock_instances                             |
| setup_consumers                              |
| setup_instruments                            |
| setup_timers                                 |
| threads                                      |
+----------------------------------------------+
17 rows in set (0.00 sec)

1 个答案:

答案 0 :(得分:1)

5.6.9的更改日志说

“如果从早期版本升级到此版本的MySQL,则必须运行mysql_upgrade(并重新启动服务器)以将此更改合并到performance_schema数据库中。(Bug#14075527)”

5.6.5中添加了

@Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case android.R.id.home: onBackAction(); return true; default: return super.onOptionsItemSelected(item); } }