How to Get True Size of MySQL Database?

前端 未结 10 872
南笙
南笙 2020-12-02 04:35

I would like to know how much space does my MySQL database use, in order to select a web host. I found the command SHOW TABLE STATUS LIKE \'table_name\' so when

10条回答
  •  伪装坚强ぢ
    2020-12-02 04:45

    SUM(Data_free) may or may not be valid. It depends on the history of innodb_file_per_table. More discussion is found here.

提交回复
热议问题