Skip to content

Commit 94aa46b

Browse files
authored
Merge pull request #98910 from danimir/master
Important update to backup storage consumption
2 parents 7165fda + ded91b4 commit 94aa46b

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

articles/sql-database/sql-database-automated-backups.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ author: anosov1960
1111
ms.author: sashan
1212
ms.reviewer: mathoma, carlrab, danil
1313
manager: craigg
14-
ms.date: 09/26/2019
14+
ms.date: 12/13/2019
1515
---
1616
# Automated backups
1717

@@ -75,19 +75,31 @@ Like PITR, the LTR backups are geo-redundant and protected by [Azure Storage cro
7575

7676
For more information, see [Long-term backup retention](sql-database-long-term-retention.md).
7777

78-
## Storage costs
79-
For single databases and managed instances, a minimum backup storage amount equal to 100% of database size is provided at no extra charge. For elastic pools, a minimum backup storage amount equal to 100% of the allocated data storage for the pool is provided at no extra charge. Additional consumption of backup storage will be charged in GB/month. This additional consumption will depend on the workload and size of the individual databases.
78+
## Backup storage costs
8079

81-
You can use Azure subscription cost analysis to determine your current spending on backup storage.
80+
For single databases, a minimum backup storage amount equal to 100% of database size is provided at no extra charge. For managed instances and elastic pools, a minimum backup storage amount equal to 100% of the allocated data storage is provided at no extra charge.
81+
82+
Additional excess consumption of the backup storage above the free amount will be charged in GB/month. For the cost on using the excess backup storage per GB, see the [Backup storage Point-in-time restore pricing](https://azure.microsoft.com/pricing/details/sql-database/single/) page for details.
83+
84+
You can use Azure subscription Cost Analysis feature to determine your current consumption and costs of the excess backup storage.
8285

8386
![Backup storage cost analysis](./media/sql-database-automated-backup/check-backup-storage-cost-sql-mi.png)
8487

85-
If you go to your subscription and open Cost Analysis blade, you can select meter subcategory **mi pitr backup storage** to see your current backup cost and charge forecast. You can also include other meter subcategories such as **managed instance general purpose - storage** or **managed instance general purpose - compute gen5** to compare backup storage cost with other cost categories.
88+
For example, to understand the backup storage costs for managed instance, please go to your subscription in Azure portal and open the Cost Analysis blade. Select the meter subcategory **mi pitr backup storage** to see your current backup cost and charge forecast. You can also include other meter subcategories such as **managed instance general purpose - storage** or **managed instance general purpose - compute gen5** to compare backup storage cost with other cost categories.
89+
90+
### Fine tune the backup storage consumption
8691

87-
> [!Note]
88-
> You can [change retention period to 7 days](#change-pitr-backup-retention-period-using-azure-portal) to reduce the backup storage cost.
92+
The excess backup storage consumption will depend on the workload and size of the individual databases. You can consider implementing some of the following tuning techniques to further reduce your backup storage consumption:
8993

90-
For more information about storage prices, see the [pricing](https://azure.microsoft.com/pricing/details/sql-database/single/) page.
94+
* Reduce the [backup retention period](#change-pitr-backup-retention-period-using-azure-portal) to the minimum available.
95+
* Avoid performing large write operations more frequently than needed, such are index rebuilds.
96+
* For large data load operations consider using [clustered columnstore indexes](https://docs.microsoft.com/sql/database-engine/using-clustered-columnstore-indexes), reduce number of non-clustered indexes, and also consider bulk load operations with row count around one million.
97+
* In General Purpose service tier, the provisioned data storage is less expensive than the price of the excess backup storage due to which customers with continuously high excess backup storage costs may consider increasing the data storage in order to save on the backup storage.
98+
* Use TempDB in your ETL logic for storing temporary results, instead of permanent tables (applicable to managed instance only).
99+
* Consider turning off TDE encryption for that databases that do not contain sensitive data (development or test databases, for instance). Backups for non-encrypted databases are typically compressed with a higher compression ratio.
100+
101+
> [!IMPORTANT]
102+
> For analytical, data mart \ data warehouse workloads it is strongly recommended to use [clustered columnstore indexes](https://docs.microsoft.com/sql/database-engine/using-clustered-columnstore-indexes), reduce the number of non-clustered indexes, and also consider bulk load operations with row count around one million to reduce the excess backup storage consumption.
91103
92104
## Are backups encrypted
93105

0 commit comments

Comments
 (0)