表示 进入内容 11
Displaying posts with tag: CHECK TABLE (reset)
MySQL的檢查表


Original post: http://anothermysqldba.blogspot.com/2013/06/mysql-check-table.html
MySQL的檢查表的命令是非常有用的,誰想要做到以下幾點:

  • 檢查版本兼容性
  • 檢查數據一致性
  • 升級
  • 一般表錯誤

這個過程是很簡單的:
> show tables;
+-----------------+
| Tables_in_world |
+-----------------+
| City |
| Country |
| CountryLanguage |
+-----------------+

> check table City\G
*************************** 1. row ***************************
Table: world.City
Op: check
Msg_type: status
Msg_text: OK


[获取更多]
表示 进入内容 11