You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-sql/includes/virtual-machines-best-practices-storage.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,17 @@
1
1
---
2
2
author: MashaMSFT
3
3
ms.author: mathoma
4
-
ms.date: 03/20/2025
4
+
ms.date: 12/09/2025
5
5
ms.service: virtual-machines
6
6
ms.topic: include
7
7
---
8
8
- Monitor the application and [determine storage bandwidth and latency requirements](/azure/virtual-machines/premium-storage-performance#counters-to-measure-application-performance-requirements) for SQL Server data, log, and `tempdb` files before choosing the disk type.
9
9
- If available, configure the `tempdb` data and log files on the D: local SSD volume when you deploy a [new virtual machine](../virtual-machines/windows/storage-configuration.md#new-vms), or after you've [installed SQL Server manually](../virtual-machines/windows/tempdb-ephemeral-storage.md). The SQL IaaS Agent extension handles the folder and permissions needed upon re-provisioning.
10
10
- To optimize storage performance, plan for highest uncached IOPS available and use data caching as a performance feature for data reads while avoiding [virtual machine and disks capping](/azure/virtual-machines/premium-storage-performance#throttling).
11
+
- Set [host caching](/azure/virtual-machines/disks-performance#virtual-machine-uncached-vs-cached-limits) to **read-only** for data file disks.
12
+
- Set [host caching](/azure/virtual-machines/disks-performance#virtual-machine-uncached-vs-cached-limits) to **none** for log file disks.
13
+
- Don't enable read/write caching on disks that contain SQL Server data or log files.
14
+
- Always stop the SQL Server service before changing the cache settings of your disk.
11
15
- When using the [Ebdsv5 or Ebsv5](/azure/virtual-machines/ebdsv5-ebsv5-series) series SQL Server VMs, use [Premium SSD v2](../virtual-machines/windows/storage-configuration-premium-ssd-v2.md) for the best price performance. You can deploy your SQL Server VM with Premium SSD v2 by using the Azure portal (currently in preview).
12
16
- If your workload requires more than 160,000 IOPS, use [Premium SSD v2](../virtual-machines/windows/performance-guidelines-best-practices-storage.md#premium-ssd-v2) or [Azure Ultra Disks](../virtual-machines/windows/performance-guidelines-best-practices-storage.md#azure-ultra-disk).
13
17
- Place data, log, and `tempdb` files on separate drives.
@@ -20,14 +24,9 @@ ms.topic: include
20
24
- For failover cluster instances (FCI) place `tempdb` on the shared storage.
21
25
- If the FCI workload is heavily dependent on `tempdb` disk performance, then as an advanced configuration place `tempdb` on the local ephemeral SSD (default `D:\`) drive, which isn't part of FCI storage. This configuration needs custom monitoring and action to ensure the local ephemeral SSD (default `D:\`) drive is available all the time as any failures of this drive won't trigger action from FCI.
22
26
- Stripe multiple Azure data disks using [Storage Spaces](/windows-server/storage/storage-spaces/overview) to increase I/O bandwidth up to the target virtual machine's IOPS and throughput limits.
23
-
- Set [host caching](/azure/virtual-machines/disks-performance#virtual-machine-uncached-vs-cached-limits) to **read-only** for data file disks.
24
-
- Set [host caching](/azure/virtual-machines/disks-performance#virtual-machine-uncached-vs-cached-limits) to **none** for log file disks.
25
-
- Don't enable read/write caching on disks that contain SQL Server data or log files.
26
-
- Always stop the SQL Server service before changing the cache settings of your disk.
27
27
- When migrating several different workloads to the cloud, [Azure Elastic SAN](../virtual-machines/windows/storage-configuration-azure-elastic-san.md) can be a cost-effective consolidated storage solution. However, when using Azure Elastic SAN, achieving desired IOPS/throughput for SQL Server workloads often requires overprovisioning capacity. While not typically appropriate for single SQL Server workloads, you can attain a cost-effective solution when combining low-performance workloads with SQL Server.
28
28
- For development and test workloads, and long-term backup archival consider using standard storage. It isn't recommended to use Standard HDD/SSD for production workloads.
29
29
-[Credit-based Disk Bursting](/azure/virtual-machines/disk-bursting#credit-based-bursting) (P1-P20) should only be considered for smaller dev/test workloads and departmental systems.
30
-
- To optimize storage performance, plan for highest uncached IOPS available, and use data caching as a performance feature for data reads while avoiding [virtual machine and disks capping/throttling](/azure/virtual-machines/premium-storage-performance#throttling).
31
30
- Format your data disk to use 64-KB allocation unit size for all data files placed on a drive other than the temporary `D:\` drive (which has a default of 4 KB). SQL Server VMs deployed through Azure Marketplace come with data disks formatted with allocation unit size and interleave for the storage pool set to 64 KB.
32
31
- Configure the storage account in the same region as the SQL Server VM.
33
32
- Disable Azure geo-redundant storage (geo-replication) and use LRS (local redundant storage) on the storage account.
0 commit comments