如何暂时是的Azure虚拟机临时存储? [英] How temporary is Azure VM Temporary Storage?

查看:638
本文介绍了如何暂时是的Azure虚拟机临时存储?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您创建一个VM的Azure,它创建了一个D:驱动器名为临时存储。这是我不清楚这虽然只是暂时的如何。难道重启之间的复位,启动/停止,或者只是如果图像重现?或者擅自?此外,什么是一些用例为这个临时存储?

When you create an Azure VM, it creates a D: drive named "Temporary Storage". It's unclear to me just how temporary this is though. Is it reset between reboots, start/stop, or just if the image is recreated? Or arbitrarily? Also, what are some use cases for this temporary storage?

推荐答案

复位,重新启动的,失败等可以擦拭。它仅用于交换文件等。

Resets, reboots, fail overs etc. can wipe it. It is only to be used for swap files etc.

性能最佳实践在Azure中虚拟机的SQL Server

临时磁盘

临时存储驱动器,标记为 D:驱动器无法持续,而不是保存在Windows Azure Blob存储。它主要用于页面文件和其性能不能保证是predictable。管理任务,例如更改虚拟机的大小,​​重置在 D:的车程。此外,Windows Azure的清除临时存储驱动器上的数据时,虚拟机故障切换。在D:不建议用于存储任何用户或系统数据库文件,包括驱动器的 tempdb中

The temporary storage drive, labeled as the D: drive is not persisted and is not saved in the Windows Azure Blob storage. It is used primarily for the page file and its performance is not guaranteed to be predictable. Management tasks such as a change to the virtual machine size, resets the D: drive. In addition, Windows Azure erases the data on the temporary storage drive when a virtual machine fails over. The D: drive is not recommended for storing any user or system database files, including tempdb.

编辑:有趣的是上面现在已经更新到了低于说,这是为确定将tempdb数据库存储上,如果你使用的是D系列虚拟机

Interestingly enough the above has now been updated to the below which says that is is OK to store your tempdb on if you are using the D-Series Virtual Machines.

临时存储驱动器,标记为 D:驱动器,是不是保存到Azure的Blob存储。不要储存您的数据或日志文件在 D于:的车程。
  只有专卖店的 tempdb中和/或缓冲池的 D 驱动器上扩展使用D系列虚拟机时(虚拟机)。不同于其他VM系列,D系列的VM D盘是SSD为主。这可以改善这种大量使用的临时对象或具有不适合在内存工作集工作负载的性能。欲了解更多信息,请参见在Azure中的虚拟机使用SSD存储的SQL Server的TempDB和缓冲池扩展

The temporary storage drive, labeled as the D: drive, is not persisted to Azure blob storage. Do not store your data or log files on the D: drive. Only store tempdb and/or Buffer Pool Extensions on the D drive when using the D-Series Virtual Machines (VMs). Unlike the other VM series, the D drive in the D-Series VMs is SSD-based. This can improve the performance of workloads that heavily use temporary objects or that have working sets which don't fit in memory. For more information, see Using SSDs in Azure VMs to store SQL Server TempDB and Buffer Pool Extensions.

<一个href=\"http://social.msdn.microsoft.com/Forums/windowsazure/en-US/19d903fb-bfa4-467a-ba1a-6e2c5b2716da/some-azure-virtual-machine-basics-please\">Some Azure的虚拟机基础知识,请

临时存储驱动器的物理盒子,只应作为临时空间的本地驱动器。例如,我们把分页文件到这个驱动器,以节省为每个Windows页中,但没有别的交易成本。我建议你​​不要放任何东西,你需要这个驱动器上的坚持,因为它会在任何硬件故障系统发现,而操作系统磁盘和连接将存储即使是硬件故障仍然坚持任何数据磁盘被删除。

The Temporary storage drive is a local drive on the physical box that should only serve as scratch space. For example, we put the paging file onto this drive to save on transaction costs for each Windows page-in but nothing else. I would recommend you don’t put anything that you need persisted on this drive as it will be deleted upon any hardware failure the system sees whereas the OS disk and any data disks attached will remain persisted in storage even on hardware failures.

这篇关于如何暂时是的Azure虚拟机临时存储?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆