嗨,我不明白爲什麼我的MYSQL行爲奇怪。爲什麼行中的差異數?
在這裏,我想知道的表中存在site_details序記錄數得到這個我已經執行 select count(*) from site_details;
我已經得到了結果作爲
+----------+
| count(*) |
+----------+
| 2024 |
+----------+
然後去驗證我一再執行 mysql> SHOW TABLE STATUS FROM msp LIKE 'site_details'\G
我有結果像
*************************** 1. row ***************************
Name: site_details
Engine: InnoDB
Version: 10
Row_format: Compact
Rows: 1612
Avg_row_length: 71
Data_length: 114688
Max_data_length: 0
Index_length: 81920
Data_free: 7340032
Auto_increment: NULL
Create_time: 2012-10-01 08:05:09
Update_time: NULL
Check_time: NULL
Collation: utf8_general_ci
Checksum: NULL
Create_options:
Comment:
1 row in set (0.00 sec)
鄂畢服務行之間的計數值差值計數兩個查詢
,然後在不修改我的表我已經再次執行相同的查詢 mysql> SHOW TABLE STATUS FROM msp LIKE 'site_details'\G
和奇怪的是我有喜歡
*************************** 1. row ***************************
Name: site_details
Engine: InnoDB
Version: 10
Row_format: Compact
Rows: 1934
Avg_row_length: 59
Data_length: 114688
Max_data_length: 0
Index_length: 81920
Data_free: 7340032
Auto_increment: NULL
Create_time: 2012-10-01 08:05:09
Update_time: NULL
Check_time: NULL
Collation: utf8_general_ci
Checksum: NULL
Create_options:
Comment:
1 row in set (0.00 sec)
結果觀察行上述查詢的列我已經得到類似2024的結果1612 1934
爲什麼會出現這種情況?