- 论坛徽章:
- 0
|
mysql> show global status like '%open%';
+--------------------------+---------+
| Variable_name | Value |
+--------------------------+---------+
| Com_ha_open | 0 |
| Com_show_open_tables | 1 |
| Open_files | 156 |
| Open_streams | 0 |
| Open_table_definitions | 92 |
| Open_tables | 144 |
| Opened_files | 3238018 |
| Opened_table_definitions | 69010 |
| Opened_tables | 128226 |
| Slave_open_temp_tables | 0 |
+--------------------------+---------+
10 rows in set (0.00 sec)
mysql> flush tables;
ERROR 1160 (08S01): Got an error writing communication packets
mysql> show global status like '%open%';
+--------------------------+---------+
| Variable_name | Value |
+--------------------------+---------+
| Com_ha_open | 0 |
| Com_show_open_tables | 1 |
| Open_files | 19 |
| Open_streams | 0 |
| Open_table_definitions | 11 |
| Open_tables | 11 |
| Opened_files | 3238040 |
| Opened_table_definitions | 69021 |
| Opened_tables | 128237 |
| Slave_open_temp_tables | 0 |
+--------------------------+---------+
10 rows in set (0.00 sec)
这个怎么解决,哪位大神给点建议 |
|