I have an Azure VM which recently have been resized to D2 size form A2 Basic so it has a new SSD local disk (a temporal disk with no persistence guarantee).
Now it has the swap file, but I think it can be used for more temporary things. What can be moved safely to this disk? For example is safe to move the /tmp
folder?
It is an Ubuntu server, used as a web server (Apache, MySQL).
As we know, the data store in temporary disk will be lose when this VM restart or some update to this host.
The temporary disk is SSD, have a good performance, we can use it like this:
If your workflow involves getting content from the blob, processing it and storing it back to the blob then you could download content to the temporary storage, process the content, then take the processed content and save it back to the blob.
Here a official documentation about how to use temporary disk with SQL server, please refer to this link.