mysql中的show table status like ’tablename’中的version表示什么意思?
問題描述
mysql> show table status like ’wp_xdlog’G;*************************** 1. row *************************** Name: wp_xdlog Engine: MyISAMVersion: 10 Row_format: Dynamic Rows: 0 Avg_row_length: 0 Data_length: 0Max_data_length: 281474976710655 Index_length: 1024 Data_free: 0 Auto_increment: 1 Create_time: 2016-05-03 18:26:45 Update_time: 2016-05-03 18:26:45 Check_time: NULL Collation: utf8_general_ci Checksum: NULL Create_options:Comment:1 row in set (0.00 sec)ERROR:No query specified
上面的version版本號是什么意思?官方的解釋是
VersionThe version number of the table’s .frm file.
這個版本號會不會隨著一些操作改變,還是固定的?
問題解答
回答1:沒有試驗過,推測是mysql表結構的版本號,作用么就是跟蹤表結構的歷程,如在replication時,如果表結構的版本不一致,就不應該進行replication.自己可以測試一下,alter一下表結構,在show 一下看看version應該變化了,應該是mysql內部機制使用,對用戶來說是透明的。
相關文章:
1. 關于docker下的nginx壓力測試2. Docker for Mac 創建的dnsmasq容器連不上/不工作的問題3. mac里的docker如何命令行開啟呢?4. 關docker hub上有些鏡像的tag被標記““This image has vulnerabilities””5. docker容器呢SSH為什么連不通呢?6. nignx - docker內nginx 80端口被占用7. docker - 各位電腦上有多少個容器啊?容器一多,自己都搞混了,咋辦呢?8. docker-compose 為何找不到配置文件?9. docker 下面創建的IMAGE 他們的 ID 一樣?這個是怎么回事????10. angular.js使用$resource服務把數據存入mongodb的問題。

網公網安備