Ócáid
Mar 31, 11 PM - Apr 2, 11 PM
An ócáid foghlama SQL, Fabric and Power BI is mó. Márta 31 – 2 Aibreán. Bain úsáid as cód FABINSIDER chun $ 400 a shábháil.
Cláraigh inniuNí thacaítear leis an mbrabhsálaí seo a thuilleadh.
Uasghrádú go Microsoft Edge chun leas a bhaint as na gnéithe is déanaí, nuashonruithe slándála, agus tacaíocht theicniúil.
Applies to:
SQL Server
Azure SQL Managed Instance
This topic describes how to allow non-administrators to use Replication Monitor in SQL Server by using SQL Server Management Studio or Transact-SQL. Replication Monitor can be used by users who are members of the following roles:
The sysadmin fixed server role.
These users can monitor replication and have full control over changing replication properties such as agent schedules, agent profiles, and so on.
The replmonitor database role in the distribution database.
These users can monitor replication, but cannot change any replication properties.
In This Topic
Before you begin:
To allow non-administrators to use Replication Monitor, using:
To allow non-administrators to use Replication Monitor, a member of the sysadmin fixed server role must add the user to the distribution database and assign that user to the replmonitor role.
In SQL Server Management Studio, connect to the Distributor, and then expand the server node.
Expand Databases, expand System Databases, and then expand the distribution database (named distribution by default).
Expand Security, right-click Users, and then click New User.
Enter a user name and login for the user.
Select a default schema of replmonitor.
Select the replmonitor check box in the Database role membership grid.
Select OK.
At the Distributor on the distribution database, execute sp_helpuser (Transact-SQL). If the user is not listed in UserName in the result set, the user must be granted access to the distribution database using the CREATE USER (Transact-SQL) statement.
At the Distributor on the distribution database, execute sp_helprolemember (Transact-SQL), specifying a value of replmonitor for the @rolename
parameter. If the user is listed in MemberName in the result set, the user already belongs to this role.
If the user does not belong to the replmonitor role, execute sp_addrolemember (Transact-SQL) at the Distributor on the distribution database. Specify a value of replmonitor for @rolename
and the name of the database user or the Microsoft Windows login being added for @membername
.
To verify that the user belongs to the replmonitor role, execute sp_helprolemember (Transact-SQL) at the Distributor on the distribution database, and specify a value of replmonitor for @rolename
. If the user is not listed in MemberName in the result set, the user does not currently belong to this role.
If the user does belong to the replmonitor role, execute sp_droprolemember (Transact-SQL) at the Distributor on the distribution database. Specify a value of replmonitor for @rolename
and the name of the database user or the Windows login being removed for @membername
.
Ócáid
Mar 31, 11 PM - Apr 2, 11 PM
An ócáid foghlama SQL, Fabric and Power BI is mó. Márta 31 – 2 Aibreán. Bain úsáid as cód FABINSIDER chun $ 400 a shábháil.
Cláraigh inniuOiliúint
Modúl
Use Monitor to troubleshoot Power Apps - Training
Learn how the Monitor tool from Power Apps Studio can help you proactively identify, troubleshoot, and resolve issues within your app.
Deimhniú
Microsoft Certified: Azure Database Administrator Associate - Certifications
Administer an SQL Server database infrastructure for cloud, on-premises and hybrid relational databases using the Microsoft PaaS relational database offerings.
Doiciméadúchán
Security Role Requirements for Replication - SQL Server
Learn about the authentication level necessary for common replication setup tasks and for common replication maintenance tasks in SQL Server.
Find errors with transactional replication - SQL Server
Describes how to locate and identify errors with Transactional Replication, as well as the troubleshooting methodology for addressing issues with replication.
Replication Distribution Agent - SQL Server
Move a snapshot and the transactions held in the distribution database tables to the Subscribers destination tables by using the Replication Distribution Agent.