Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 3.05 KB

estimate-the-size-of-a-database.md

File metadata and controls

42 lines (34 loc) · 3.05 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords monikerRange
Estimate the Size of a Database
When you design a database in SQL Server, estimating its size can help you determine the hardware configuration you need for performance and disk space.
WilliamDAssafMSFT
wiassaf
03/01/2017
sql
supportability
conceptual
space allocation [SQL Server], database size
calculating database size
increasing database size
database size [SQL Server], estimating
predicting database size
size [SQL Server], databases
estimating database size
designing databases [SQL Server], estimating size
>=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current

Estimate the Size of a Database

[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW] When you design a database, you may have to estimate how large the database will be when filled with data. Estimating the size of the database can help you determine the hardware configuration you will require to do the following:

  • Achieve the performance required by your applications.

  • Guarantee the appropriate physical amount of disk space required to store the data and indexes.

Estimating the size of a database can also help you determine whether the database design needs refining. For example, you may determine that the estimated size of the database is too large to implement in your organization and that more normalization is required. Conversely, the estimated size may be smaller than expected. This would allow you to denormalize the database to improve query performance.

To estimate the size of a database, estimate the size of each table individually and then add the values obtained. The size of a table depends on whether the table has indexes and, if they do, what type of indexes.

In This Section

Topic Description
Estimate the Size of a Table Defines the steps and calculations needed to estimate the amount of space required to store the data in a table and associated indexes.
Estimate the Size of a Heap Defines the steps and calculations needed to estimate the amount of space required to store the data in a heap. A heap is a table that does not have a clustered index.
Estimate the Size of a Clustered Index Defines the steps and calculations needed to estimate the amount of space required to store the data in a clustered index.
Estimate the Size of a Nonclustered Index Defines the steps and calculations needed to estimate the amount of space required to store the data in a nonclustered index.