Max tables in a MySQL database

前端 未结 5 858
没有蜡笔的小新
没有蜡笔的小新 2021-02-19 07:19

Is it bad to have too many tables in a database? I have about 160 tables in one database. Is it better to split it into several database rather than using a single database? Sin

5条回答
  •  借酒劲吻你
    2021-02-19 07:29

    according to MySQL reference manual:

    MySQL has no limit on the number of tables. The underlying file system may have a limit on the number of files that represent tables. Individual storage engines may impose engine-specific constraints. InnoDB permits up to 4 billion tables.

提交回复
热议问题