简体   繁体   English

SQL Azure resource_stats视图为空

[英]SQL Azure resource_stats view is empty

We're having trouble with the reliability of our SQL Azure database , and in an effort to see if we are consuming excessive resources I tried to view our stats records. 我们在SQL Azure数据库的可靠性方面遇到了麻烦,为了查看我们是否在消耗过多的资源,我尝试查看统计信息记录。 MSDN offers some initial guidance on querying sys.resource_stats MSDN提供了有关查询sys.resource_stats的一些初始指南

Our sys.resource_stats view returns no records at all. 我们的sys.resource_stats视图根本不返回任何记录。

没有统计数据

If I try to view the monitoring in the Azure portal, I get an error that the server could not retrieve metrics. 如果尝试在Azure门户中查看监视,则会收到错误消息,指出服务器无法检索指标。

门户网站中没有统计信息

We have no idea why this view would not return any records or how to fix it. 我们不知道为什么该视图不返回任何记录或如何解决它。

There is known issue that causes this telemetry not to be displayed. 存在导致该遥测不显示的已知问题。 A fix for this issue is beeing roll-out. 解决此问题的方法是推出蜜蜂。

You can query the sys.dm_db_resource_stats in the database itself (not master) to get the utilization data for the last hour. 您可以查询数据库本身(不是主数据库)中的sys.dm_db_resource_stats以获取最后一小时的利用率数据。 This view also has the advantage of showing finer granular data than sys.dresource_stats in master. 与主数据库中的sys.dresource_stats相比,该视图还具有显示更精细的粒度数据的优势。

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

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