Report this

What is the reason for this report?

What is the maximum number of tables, rows per table and column per table limit in MySQL

Posted on October 21, 2021
Priyanka Malik

By Priyanka Malik

Developer Support Engineer ||

What is the maximum number of tables, rows per table and columns per table can be created in Managed MySQL database cluster?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

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. Our managed database cluster uses InnoDB. InnoDB permits up to 4 billion tables.

For reference: https://dev.mysql.com/doc/refman/8.0/en/database-count-limit.html

Hope that this helps. Regards, Priyanka

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.