Maximum Number of Tables in MySQL

前端 未结 5 1322
野的像风
野的像风 2020-12-16 12:44

What is the maximum number of tables that MySQL can handle?

5条回答
  •  庸人自扰
    2020-12-16 12:54

    Here's an official answer from MySql: https://dev.mysql.com/doc/refman/8.0/en/database-count-limit.html

    8.4.5 Limits on Number of Databases and Tables

    MySQL has no limit on the number of databases. The underlying file system may have a limit on the number of directories.

    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.

提交回复
热议问题