Maximum Row in DBMS

余生长醉 提交于 2020-01-21 10:07:28

问题


Is there any limit to maximum row of table in DBMS (specially MySQL)?

I want create table for saving logfile and it's row increase so fast I want know what shoud I do to prevent any problem.


回答1:


You should periodically move log rows out to a historical database for data mining and purge them from the transactional database. It's a common practice.




回答2:


I don't think there is an official limit, it will depend on maximum index sizes and filesystem restrictions.

From mySQL 5.0 Features:

Support for large databases. We use MySQL Server with databases that contain 50 million records. We also know of users who use MySQL Server with 200,000 tables and about 5,000,000,000 rows.




回答3:


There's probably some sort of limitation, dependent on the engine used and the table structure. I've got a table with appx 45 million entries in a database I administrate, I've heard of (much) higher numbers.



来源:https://stackoverflow.com/questions/2822522/maximum-row-in-dbms

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!