Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 0 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.