VM临时D驱动器上的SQL TempDB [英] SQL TempDB on VM Temporary D drive

查看:60
本文介绍了VM临时D驱动器上的SQL TempDB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我读了几篇建议通过将TempDB存储在D系列VM的D驱动器(SSD)上来提高TempDB性能的帖子.

I read couple posts that suggest to improve TempDB performance by storing TempDB on D drive (SSD) of D series VM.

问题在于,由于D驱动器是本地存储上的卷,并且如果VM将被移动到另一台主机,我将丢失D驱动器,将丢失TempDB,并且这将停止SQL Server.但这不是我们想要的方案,因为SQL Server将被停止.

The problem is that since D drive is volume on local storage and if VM will be moved to another host I will lose D drive, will lose TempDB and this will stop SQL server. But this is not the scenario we want because SQL server will be stopped.

Microsoft说:避免使用操作系统或临时磁盘进行数据库存储或记录."

Microsoft says: "void using operating system or temporary disks for database storage or logging."

数据库存储或日志记录也涵盖TempDB吗?

Does database storage or logging covers TempDB also?

Microsoft在Temporary D驱动器上存储TempDB的官方立场是什么?

Whats is official Microsoft position for storing TempDB on Temporary D drive?

谢谢

推荐答案

P30 磁盘  (1用于日志文件, 1用于数据文件和TempDB.如果要更改驱动器号,可以按照本步骤中给出的步骤进行操作 链接.

For better performance of SQL in Azure VM use a minimum of 2 P30 disks (1 for log files and 1 for data files and TempDB. In case you want to change your drive letter you can do it by following the steps given in this link.

------------------------------------------------- ----------------------------------------------

如果此答案有帮助,请单击标记为答案"或上投票".提供其他反馈 在您的论坛体验中,点击

If this answer was helpful, click "Mark as Answer" or "Up-Vote". To provide additional feedback on your forum experience, click here



这篇关于VM临时D驱动器上的SQL TempDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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