Saturday, November 24, 2018

Limit on number of tables in a MySql Database




Is there a limit on number of tables which can be created in a MySql database?
Is this limit engine specific?
For MyISAM?


Answer



It is engine specific. InnoDB I think supports 2 billion tables across the tablespace.
MyIsam does not place any limit on the number of tables, you will be limited though by things like the inodes in the underlying filesystem or limits on the operating system.



Here is reference http://www.mysqlfaqs.net/mysql-faqs/Database-Structure/What-is-limit-on-the-maximum-number-of-tables-allowed-in-MySQL



On a practical level I'd expect that the performance of your application would collapse before you reached the limits.



No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...