sys.dm_pdw_exec_requests返回记录 [英] sys.dm_pdw_exec_requests records returned

查看:92
本文介绍了sys.dm_pdw_exec_requests返回记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的SQL数据仓库今天遇到了一个问题,当时有人丢了几张桌子,我们无法确定谁(也没人举手).当我发现有关"sys.dm_pdw_exec_requests"的信息时, DMV为时已晚,因为它只返回 最后10000条记录.有什么方法可以检索更多记录或找到在最后10000个请求之前发生的特定操作(例如DROP OBJECT).

I've had a problem with my SQL Data warehouse today when someone dropped a few tables and we could not identify who(nobody raised their hand as well). When I found about the "sys.dm_pdw_exec_requests" DMV it was too late as it only returns the last 10000 records. Is there any way to retrieve more records or find a specific action(DROP OBJECT for example) that happened before the last 10000 requests.

有什么想法或建议吗?

谢谢

推荐答案

嗨丹,

您是否知道或已使用SQL数据库审核?我找不到有效识别过去的X动作的方法,但是,如果对感兴趣的特定事件启用了数据库审计,则接下来的信息将得到 出现这种情况的时间.

Are you aware of or have you used SQL database auditing? I could not find a means to effectively identify the past X actions but, if you enable database auditing for the specific events you are interested in tracking, you will have the information the next time a scenario like this plays out. 

SQL数据库审核入门

对Azure进行审核

Auditing for Azure SQL Database and SQL Data Warehouse tracks database events and writes them to an audit log in your Azure storage account, OMS workspace or Event Hubs. Auditing also:

  • 帮助您维护法规遵从性,了解数据库活动,并深入了解可能表明业务问题或怀疑违反安全性的差异和异常情况.
  • Helps you maintain regulatory compliance, understand database activity, and gain insight into discrepancies and anomalies that could indicate business concerns or suspected security violations.

启用并促进遵守合规性标准,尽管它不能保证合规性.有关支持标准合规性的Azure程序的详细信息,请参阅

Enables and facilitates adherence to compliance standards, although it doesn't guarantee compliance. For more information about Azure programs that support standards compliance, see the Azure Trust Center.

如果您还有其他疑问,请告诉我们.谢谢,〜迈克

Please let us know if you have any additional questions. Thanks, ~Mike



这篇关于sys.dm_pdw_exec_requests返回记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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