July 3, 2008 at 2:58 am
After googling many hours i am posting this questions on this forum.
Please if possible provide brief info about other limits.
Thanks.
How many records does a table in MS Sql Server 2005 can hold? OR
Limit of records in a table in MS SQL Server 2005?
Or Comparison between different DBMS on the limit of Records in a table.
Thanks.
Simply
hehe:
July 3, 2008 at 3:10 am
Try this link
http://msdn.microsoft.com/en-us/library/ms143432.aspx
It states that the maximum rows per table is only limited by your available storage
Kev
July 3, 2008 at 3:43 am
Thank you kev for your quick response i have visited the link but still did not find exact answer.
i got following info.
columns in a table=246
Bytes for each column=1024
Total bytes in a table for each row=246*1024=251904bytes or 246 K bytes of one row.
My question was how many rows maximum in a table.
look at this article.
http://www.mssqlcity.com/Articles/Compare/sql_server_vs_access.htm
Simply
hehe:
July 3, 2008 at 3:54 am
bilalhaider86 (7/3/2008)
My question was how many rows maximum in a table.
As stated and as in the link, it depends on how much storage space you have on your server, so it can not be tied down to a number, if you have a lot of storage you can have a lot of rows..
July 3, 2008 at 4:07 am
bilalhaider86 ,
I'm not sure where you got those values from, but that article is about SQL2000 and you originally asked about SQL2005.
Plus be careful when calculating the number of bytes per row, as SQL will store some data off-row if the on-row limit is reached - so whilst the spec says 8060 bytes per row, you can store more than that depending on the data types involved.
The link for SQL2000 is http://msdn.microsoft.com/en-us/library/aa933149(SQL.80).aspx - and again the maximum number of rows is only limited by the available storage.
Kev
July 3, 2008 at 4:47 am
The capacity specs are listed in books online. to briefly summarise:
Database size 524,258 terabytes
Files per database: 32,767
File size (data): 16 terabytes
Rows per table: Limited by available storage
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2008 at 4:52 am
kevriley (7/3/2008)
Plus be careful when calculating the number of bytes per row, as SQL will store some data off-row if the on-row limit is reached - so whilst the spec says 8060 bytes per row, you can store more than that depending on the data types involved.
Plus you have the LOB data that's stored off row.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2008 at 5:09 am
Thanks kev.
I got those values from the link you have shared to me in the first reply.
And i was in need of the information about the records limits in MS SQL Server 2005, which you provided me in the latest reply. That it depends on the storage.
The link which i shared was a comparison between SQL Server 2000 and MS Access.
Again thanks for your valuable participation.
Regards.
Bilal Haider.
Simply
hehe:
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply