为了跟踪SQL Server,您必须是sysadmin固定服务器角色的成员 [英] in order to trace against SQL server you must be a member of sysadmin fixed server role

查看:1386
本文介绍了为了跟踪SQL Server,您必须是sysadmin固定服务器角色的成员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图学习如何使用SQL Server Profiler,并在使用工具和选择的SQL Server Profiler后收到以下错误消息。 

I was trying to learn how to use the SQL server profiler and recieved the following error message after I went to tools and selected SQL server profiler. 

为了跟踪SQL服务器,您必须是sysadmin固定服务器角色的成员或具有ALTER Trace权限。

in order to trace against SQL server you must be a member of sysadmin fixed server role or have the ALTER Trace permission.

我无法将自己添加到sysadmin固定服务器角色(现在不知道如何找到或执行此操作),所以我做了 

I was not able to add myself to the sysadmin fixed server role(do not know how to find or do this right now), so I did 

授予史蒂夫追踪权;

我收到了以下错误消息。 

I received the follwing error message. 

Msg 40520,Level 16,State 1,Line 1

此版本的SQL Server不支持安全类'服务器'。

Msg 40520, Level 16, State 1, Line 1
Securable class 'server' not supported in this version of SQL Server.

您能帮我访问SQL Server Profiler吗? ?谢谢

Can you help me access SQL server Profiler? Thank you

推荐答案

Hi 2000infinity,

Hi 2000infinity,

Profiler Azure SQL数据库和Azure SQL数据仓库不支持您熟悉的与内部部署SQL Server实例一起使用的功能(并且在SQL Server中被删除)。它的位置是一组动态管理视图或简称DMV
,以及一些其他工具。您可以在本文档中找到更多信息:
使用动态管理视图监控性能Azure SQL数据库

The Profiler functionality you are familiar using with an on-premise SQL Server instance is not supported with Azure SQL Database nor Azure SQL Data Warehouse (and is being depracated in SQL Server). It its place is a set of Dynamic Management Views or DMVs for short, and some additional tools. You can find more information in this document: Monitoring performance Azure SQL Database using dynamic management views

我试图针对Azure SQL数据库运行探查器以及Azure SQL数据仓库实例,我遇到相同的错误。您可以在以下Stack Overflow线程中找到更多信息:  SQL
Azure性能分析

I attempted to run the profiler against an Azure SQL Database as well as an Azure SQL Data Warehouse instance and I am experiencing the same errors. You can find more information in the following Stack Overflow thread: SQL Azure Profiling

如果您有其他问题,请告诉我们。

问候,

迈克


这篇关于为了跟踪SQL Server,您必须是sysadmin固定服务器角色的成员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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