How to Get True Size of MySQL Database?

前端 未结 10 912
南笙
南笙 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:36

    If you use phpMyAdmin, it can tell you this information.

    Just go to "Databases" (menu on top) and click "Enable Statistics".

    You will see something like this:

    phpMyAdmin screenshot

    This will probably lose some accuracy as the sizes go up, but it should be accurate enough for your purposes.

提交回复
热议问题