在 Azure SQL DB 中安装 FirstResponderKit?

Hen*_*sen 4 azure-sql-database sp-blitz sp-blitzfirst

我刚刚从 BrentOzar.com 下载了 FirstResponderKit 的最新版本 (20190128),并尝试将其安装在 Azure SQL DB 上。我收到这些错误:

Msg 40515, Level 15, State 1, Procedure sp_AllNightLog, Line 16 [Batch Start Line 13]
Reference to database and/or server name in 'master.sys.procedures' is not supported in this version of SQL Server.
Msg 40515, Level 15, State 1, Procedure sp_AllNightLog_Setup, Line 16 [Batch Start Line 1492]
Reference to database and/or server name in 'master.sys.procedures' is not supported in this version of SQL Server.
Msg 40515, Level 15, State 1, Procedure sp_Blitz, Line 16 [Batch Start Line 2801]
Reference to database and/or server name in 'master.sys.all_objects' is not supported in this version of SQL Server.
Msg 40515, Level 15, State 1, Procedure sp_BlitzLock, Line 16 [Batch Start Line 28063]
Reference to database and/or server name in 'msdb.dbo.sysjobs' is not supported in this version of SQL Server.
Msg 40515, Level 15, State 1, Procedure sp_DatabaseRestore, Line 16 [Batch Start Line 35912]
Reference to database and/or server name in 'master.sys.xp_dirtree' is not supported in this version of SQL Server.
Run Code Online (Sandbox Code Playgroud)

它很好地安装在我的 SQL Server 2008 上。

FirstResponderKit 在 Azure 上工作吗?

编辑: 大部分都可以运行,我已经开始更改 sp_blitz,以便它也可以运行。如果你想测试它,请看我的github

Edit2: 我已经针对从本地迁移的新 Azure SQL 数据库运行了它。它为我发现了两个问题(由 Microsoft 数据迁移助手引起),关于统计信息未更新,以及许多索引被禁用。我想其他人会发现类似的问题,如果我们能把这个版本放到主版本中。

需要测试人员!

Sco*_*red 6

来自GitHub 上的文档- (突出显示我的)

第一响应者工具包运行在:

  • Windows 上的 SQL Server 2008、2008R2、2012、2014、2016、2017 - 是的,完全支持
  • Linux 上的 SQL Server 2017 - 是的,完全支持,除了 sp_AllNightLog 和 sp_DatabaseRestore,它们需要 xp_cmdshell,Microsoft 在 Linux 上不提供
  • SQL Server 2000、2005 - Microsoft 不再支持,所以我们也不支持
  • Amazon RDS SQL Server - 完全支持
  • Azure SQL DB - 这是一个骰子。Microsoft 在没有警告的情况下更改了此处的 DMV 内容,因此不做任何保证

  • 我试图制作一个适用于 Azure SQL DB 的 sp_blitz 版本。请参阅 https://github.com/HenrikStaunPoulsen/SQL-Server-First-Responder-Kit/tree/issue_1970/HenrikStaunPoulsen 现在,我正在寻找可以测试它的人。 (2认同)