把數據文件導入到其他機器的時候,還以為操作超時找了很長時間問題才發現原來是資料庫文件根本就不完整,不知道為什麼會發生這個問題,研究一下……
原因找到了,原來是innoDB取的是近似值,phpmyadmin文檔的3.11給出了解釋,原文如下:
QUOTE:
3.11 The number of records for InnoDB tables is not correct.
phpMyAdmin uses a quick method to get the row count, and this method only returns an approximate count in the case of InnoDB tables.
See $cfg['MaxExactCount'] for a way to modify those results, but this could have a serious impact on performance.