Maximum Number of Tables in MySQL

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

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

5条回答
  •  悲&欢浪女
    2020-12-16 12:51

    The fact that you are asking this question is probably an indicator that you are not taking a best practice approach to your problem.

    One potential situation where you could need a lot of tables is when you are developing multi-tenant application where for each tenant you create separate set of tables (let's say with tentantId as a table name prefix). See this article (part Data Isolation): http://www.javacodegeeks.com/2013/11/architecting-a-multi-tenant-application.html

提交回复
热议问题