简体   繁体   English

将SQL Server tempdb文件分布到整个lun

[英]Spread SQL Server tempdb files across a lun

我已经阅读了很多关于在lun上分布tempdb和数据库文件以优化sql server的知识,我的问题是,如果我只有一个LUN,传播tempdb会产生任何积极的效果,还是最好请求额外的单独磁盘来获得性能好处?

Having more than one database file (no matter which database) on one single physical disk (LUN or not) does not provide improved performance most of the time. 单个物理磁盘(是否有LUN)上具有多个数据库文件(无论哪个数据库)在大多数情况下都无法提高性能。

Regarding tempdb, it will improve the performance if there is allocation contention. 关于tempdb,如果存在分配争用,它将提高性能。 In that case you should create as many equally sized database files as the number of logical processors. 在这种情况下,您应该创建与逻辑处理器数量一样多的大小相等的数据库文件。

But if you can request more LUN's why to assign them to tempdb? 但是,如果您可以请求更多LUN,为什么要将它们分配给tempdb? Is tempdb so overloaded? tempdb是否超载? Typically you will get better overall performance if the new LUN's is assigned to other databases. 通常,如果将新的LUN分配给其他数据库,则总体性能会更好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM