What is the maximum number of records I can store in a SQL table? [duplicate]
Possible Duplicate:
What's the maximum number of rows a single SQL Server table can store?
What is the maximum number of records I can store in a SQL table?
The maximum database size is 524,272 terabytes. The Maximum Capacity Specifications for SQL Server can be found here: http://msdn.microsoft.com/en-us/library/ms143432.aspx
Here is a useful link,
http://msdn.microsoft.com/en-us/library/ms143432.aspx
It says 'Rows per table - limited by available storage'
This depends on a number of things:
- The schema of the records.
- The implementation of SQL (there is MySQL, MariaDB, PostgreSQL, and others).
- The particular database type (e.g. MySQL supports InnoDB and several other database formats).
- The specs of the machine on which it is running (size of the harddisk, for example).
If you are really looking to scale, then you probably want use something like Google AppEngine with its DataStore API built on top of BigTable, or Apache Cassandra, though these won't give you SQL syntax.
MySQL/MariaDB, though, does a pretty good job for smaller data sets, and depending on how scalable you really need to be, it might be the right fit. Or it might make sense to start with MySQL for rapidly getting a product out the door, and then migrating to something more scalable as the need arises.
精彩评论