Is there any way to find out how much diskspace a table in MSSQL uses? Or even better, how much diskspace a single row consumes?
|
feedback
|
|
In SQL Server Management Studio, right click on the Database and choose Reports|"Disk Usage By Tables". Also, I don't know what version of SQL Server it was introduced in, but there is a sproc sp_spaceused that you can pass an object; For example:
| |||||
feedback
|
|
For a table you can use | ||||
|
feedback
|
|
In the management studio, you can right click on the database and go to properties. It will have a size field that will tell you the size of the current database. | |||
|
feedback
|
|
In SQL Server Management Studio, right-click on the table, select "Properties" and move to the "Storage" page. | |||
|
feedback
|
|
Somewhat related - this script could be useful: Finding the biggest tables in a database | |||
|
feedback
|