Hello suresh Reddy,
Greetings! Welcome to Microsoft Q&A Platform.
Temporary Storage in Azure VMs, often referred to as the local SSD, can indeed offer higher IOPS and throughput compared to Premium SSDs. As the performance metrics on temp drive has it varies with every VM size. Hence, it's not been documented and since temp drive are provided to VMs, from underlying compute machine itself the read/write operations will be fast. However, it can't be expanded or increased based on requirement. You may have to increase the size of VMs if you need more temp drive space and if that temporary files are important, then you need to go for premium disks as it provides persistent data. About temporary files, we are not sure what duration is temporary for your VMs.
Note: If 2-3 hours of data is temporary for you and if any VM crash happens redeploying VM, those files are gone. Best for temporary data, caching, or scratch space where data loss is acceptable.
Suitable for applications requiring persistent storage with high performance, such as databases and critical applications.
Temporary Storage:
IOPS: Can be significantly higher, depending on the VM size.
- Generally higher due to the local nature of the storage.
- Lower latency as it is directly attached to the VM.
Premium SSD:
- IOPS: Up to 20,000 IOPS for the largest sizes.
- Throughput: Up to 900 MB/.
- Slightly higher compared to local SSDs but still very low.
Hope this answer helps! please let us know if you have any further queries. I’m happy to assist you further.
Please "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.