开发者

Is there any standard tool to estimate disk space requirement for SQL Server? [closed]

开发者 https://www.devze.com 2023-03-11 04:19 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported 开发者_如何学Goby facts, references,or expertise, but this question will likely so
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported 开发者_如何学Goby facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 9 years ago.

Is there a tool/application to calculate space requirement for a database in SQL Server? I know sp_spaceused can be used, but it calculates the actual space being taken up at that moment. What I was looking for is a tool that connects to the database and the user can interactively provide input like average number of rows and get the space requirement. This can be used for planning for future.

  1. The tool should be able to connect to a SQL Server instance/database,
  2. Get data size for one row for each table
  3. User should be able to put estimated row counts for all the tables
  4. The tool should be able to estimate the size requirement

With some more input like transactions per day etc, we can estimate the size of the log etc.

Update:

I have started working on a kind of tool to meet this goal. I shall like everybody to pour in their ideas. Once it takes some shape, I am planning to put it in a open-source project site like codeplex.com


Below reads provide good clarity on space estimation

Estimating the Size of an SQL Server Database - http://sqlserverdiaries.com/blog/index.php/2011/05/estimating-the-size-of-an-sql-server-database/

Cindy gross checklist was very good - http://blogs.msdn.com/b/cindygross/archive/2009/03/12/previous-blogs-on-sqlcommunity-com.aspx https://web.archive.org/web/20151026141916/http://blogs.msdn.com/b/cindygross/archive/2009/03/12/previous-blogs-on-sqlcommunity-com.aspx

How to estimate disk space needed for SQL Server - Not accessible in sqlcommunity.com.

One more link, SQL Server Sizing Resources - http://blogs.msdn.com/b/bartd/archive/2010/06/16/sql-server-sizing-resources.aspx https://web.archive.org/web/20190421182553/https://blogs.msdn.microsoft.com/bartd/2010/06/16/sql-server-sizing-resources/


I created a (free) tool to do this - http://mattrandle.me/sql-server-database-size-estimator/

The application produces a spreadsheet by reading schema information from your db. You enter a number of rows per table into the spreadsheet. It tells you approximately how big your db will be.

0

精彩评论

暂无评论...
验证码 换一张
取 消