Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


MS SQL Server 2005 Limits


MS SQL Server 2005 Limits

Author
Message
bilalhaider86
bilalhaider86
Grasshopper
Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)

Group: General Forum Members
Points: 23 Visits: 39
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:
kevriley
kevriley
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2751 Visits: 2606
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
bilalhaider86
bilalhaider86
Grasshopper
Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)

Group: General Forum Members
Points: 23 Visits: 39
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:
steveb.
steveb.
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2848 Visits: 7195
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..
kevriley
kevriley
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2751 Visits: 2606
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
GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47267 Visits: 44392
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

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47267 Visits: 44392
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

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


bilalhaider86
bilalhaider86
Grasshopper
Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)

Group: General Forum Members
Points: 23 Visits: 39
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:
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search