积极答复者
一个关于优化数据库性能的问题

问题
答案
-
你可以使用查询调控器防止查询长时间运行,不过当心正常的查询因为超时被干掉。
想不想时已是想,不如不想都不想。
- 已标记为答案 Amy PengMicrosoft employee, Moderator 2013年7月3日 9:35
-
sp_configure 选项中, 有一些 Query 相关的选项, 可以做一定的限制
可以通过 Profile 来捕获性能不好的操作,
- 已标记为答案 Amy PengMicrosoft employee, Moderator 2013年7月3日 9:35
-
Use resource governor to limit cpu and memory usage for certain session.
- 已标记为答案 Amy PengMicrosoft employee, Moderator 2013年7月3日 9:35
-
楼上讲的很对,使用resource governor 限制某些操作对于内存和CPU的使用,比如你可以限制备份占用的CPU和内存。在2014之前不能对IO进行控制。
Please Mark As Answer if it is helpful.
- 已标记为答案 Amy PengMicrosoft employee, Moderator 2013年7月3日 9:35
全部回复
-
你可以使用查询调控器防止查询长时间运行,不过当心正常的查询因为超时被干掉。
想不想时已是想,不如不想都不想。
- 已标记为答案 Amy PengMicrosoft employee, Moderator 2013年7月3日 9:35
-
sp_configure 选项中, 有一些 Query 相关的选项, 可以做一定的限制
可以通过 Profile 来捕获性能不好的操作,
- 已标记为答案 Amy PengMicrosoft employee, Moderator 2013年7月3日 9:35
-
Use resource governor to limit cpu and memory usage for certain session.
- 已标记为答案 Amy PengMicrosoft employee, Moderator 2013年7月3日 9:35
-
楼上讲的很对,使用resource governor 限制某些操作对于内存和CPU的使用,比如你可以限制备份占用的CPU和内存。在2014之前不能对IO进行控制。
Please Mark As Answer if it is helpful.
- 已标记为答案 Amy PengMicrosoft employee, Moderator 2013年7月3日 9:35
-
可以。
Resource Governor for IO
The Resource Governor is a very important feature for consolidating databases and managing CPU and Memory between them. However, there has been no way to control IO, which is also a very important asset to manage. This new feature will make SQL Server 2014 even better for “SQL Server hotels” or other consolidated environments.
Please Mark As Answer if it is helpful.