phpmyadmin优化表读取超时

时间:2012-09-14 16:24:14

标签: mysql optimization phpmyadmin

表格有15,000行,空间使用量如下:

Type     |   Usage
Data     |   437.4 KiB
Index    |   157.0 KiB
Overhead |   7,000 B (this is in red)
Effective|   587.6 KiB
Total    |   594.4 KiB

当我点击优化表格时,它会在大约10分钟后显示读取超时。我有什么想法可以摆脱这种困境吗?

ERROR

The requested URL could not be retrieved

The following error was encountered while trying to retrieve the URL: Myaddress/phpmyadmin/sql.php?

Read Timeout

The system returned: [No Error]

A Timeout occurred while waiting to read data from the network. The network or server may be down or congested. Please retry your request.

1 个答案:

答案 0 :(得分:0)

我不得不使用像PHPMYADMIN这样的网络界面而不是我必须下载 MySQL Workbench 并在查询中使用这些命令行:

use databasename;
check table tablename;
repair table tablename;
optimize table tablename;

CTRL+SHIFT+ENTER