MySQL 可以存储多少行?

How many rows can MySQL store?

所以我是初学者,刚自学MySQL几个月。我在工作中总是使用 phpMyAdmin。我过去的工作只涉及 table 大约 100k 行,所以没有大问题。

但是我的客户现在想要在 table 中存储大约 800 万行。 MySQL/phpMyAdmin 存储和处理是不是太多了?

非常感谢。

只是Google它:

In InnoDB, with a limit on table size of 64 terabytes and a MySQL row-size limit of 65,535 there can be 1,073,741,824 rows. That would be minimum number of records utilizing maximum row-size limit. However, more records can be added if the row size is smaller

这就是它所说的。

So as the answer there can be 1,073,741,824 rows.

我们不知道您的记录有多大或多小。短记录可以有几个整数字段,或者我们的记录可能非常大,有数百个文本或 varchar 字段。所以衡量文件大小是最好的方法。这个Officilal Information可能对你有帮助