Skip to content

Commit 0b0dfaf

Browse files
authored
add explicit warning about Azure ReadWrite disk caching (#421)
1 parent 15ef62d commit 0b0dfaf

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

documentation/deployment/azure.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ compilation and SIMD optimizations are limited on ARM. Use `x86_64` instances.
5353

5454
### Storage
5555

56+
:::caution
57+
58+
Be extremely cautious when enabling [Disk Caching](https://learn.microsoft.com/en-us/azure/virtual-machines/premium-storage-performance#disk-caching). You should not use `ReadWrite` caching for the database files under any circumstances, as it breaks the consistency guarantess that the database relies on. Microsoft explicitly discourages its use for [database deployments](https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/storage-configuration?view=azuresql&utm_source=chatgpt.com&tabs=windows2016#new-vms).
59+
60+
Failing to follow this instruction may put your data at risk of corruption,
61+
62+
:::
63+
5664
**Premium SSD v2 (recommended):**
5765

5866
| Workload | Size | IOPS | Throughput |

0 commit comments

Comments
 (0)