Mở Trình giám sát hoạt động trong SQL Server Management Studio (SSMS)

Applies to:  SQL Server

Activity Monitor runs queries on the monitored instance to obtain information for the Activity Monitor display panes. When the refresh interval is set to less than 10 seconds, the time that is used to run these queries can affect server performance. We recommend that you download and install the latest version of SSMS.

Permissions

To view actual activity, you must have VIEW SERVER STATE permission. To view the Data File I/O section of Activity Monitor, you must have CREATE DATABASE, ALTER ANY DATABASE, or VIEW ANY DEFINITION permission in addition to VIEW SERVER STATE.

To KILL a process, a user must be a member of the sysadmin or processadmin fixed server roles.

Open Activity Monitor

Object Explorer

Right-click on the top-level object for a SQL Server connection, and select Activity Monitor.

Toolbar

From the Standard toolbar, select the Activity Monitor icon. It is in the middle, just to the right of the undo/redo buttons. To aid in finding it, hover over each icon until you find the Activity Monitor.

Complete the Connect to Server dialog box if you aren’t already connected to an instance of SQL Server you want to monitor.

Launch Activity Monitor and Object Explorer on startup

  1. From the Tools menu, select Options.

  2. In the Options dialog box, expand Environment, and then select Startup.

  3. From the At startup dropdown list, select Open Object Explorer and Activity Monitor.

  4. Select OK.

    Screenshot of the SQL Server Management Studio Options, showing the Startup page.

Set the Activity Monitor refresh interval

  1. Open the Activity Monitor.

  2. Right-click Overview, select Refresh Interval, and then select the interval in which Activity Monitor should obtain new instance information.

Theo dõi
Thông báo của
guest
0 Góp ý
Phản hồi nội tuyến
Xem tất cả bình luận
spot_img

Có thể bạn sẽ thích

Outsource Là Gì? 3 Khác Biệt Quan Trọng Giữa...

Hiện nay, có rất nhiều công ty lựa chọn outsource để công việc được thực hiện tốt...

Có nên sử dụng dịch vụ CloudFlare cho website...

Mặc dù từng gặp phải rất nhiều lời phàn nàn, chỉ trích về chất lượng của dịch...

Hướng dẫn đổi Port SQL

Bước 1: Các bạn mở SQL Server 2019 Configuration Manager lên Bước 2: Các bạn làm theo các bước ở...