Skip to content

Latest commit

 

History

History
80 lines (62 loc) · 2.81 KB

File metadata and controls

80 lines (62 loc) · 2.81 KB
title sp_dbmmonitorchangemonitoring (Transact-SQL) | Microsoft Docs
ms.custom
ms.date 03/14/2017
ms.prod sql
ms.prod_service database-engine
ms.component system-stored-procedures
ms.reviewer
ms.suite sql
ms.technology system-objects
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
sp_dbmmonitorchangemonitoring
sp_dbmmonitorchangemonitoring_TSQL
dev_langs
TSQL
helpviewer_keywords
sp_dbmmonitorchangemonitoring
database mirroring [SQL Server], monitoring
ms.assetid 17be755b-673d-4cd4-9544-6ecb4220bed3
caps.latest.revision 28
author stevestein
ms.author sstein
manager craigg

sp_dbmmonitorchangemonitoring (Transact-SQL)

[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx-md]

Changes the value of a database mirroring monitoring parameter.

Topic link icon Transact-SQL Syntax Conventions

Syntax

  
sp_dbmmonitorchangemonitoring parameter  
    , value   

Arguments

parameter
Specifies the identifier of the parameter to be changed. Currently, only the following parameter is available:

1 = Update period

The number of minutes between updates to the database mirroring status table. The default interval is 1 minute.

value
Specifies the new value for the parameter that is being changed.

Parameter Description of value
1 An integer in the range of 1 to 120 that specifies a new update period in minutes.

Return Code Values

None

Result Sets

None

Permissions

Requires membership in the sysadmin fixed server role.

Examples

The following example changes the update period to 5 minutes.

EXEC sp_dbmmonitorchangemonitoring 1, 5 ;  

See Also

Monitoring Database Mirroring (SQL Server)
sp_dbmmonitoraddmonitoring (Transact-SQL)
sp_dbmmonitordropmonitoring (Transact-SQL)
sp_dbmmonitorhelpmonitoring (Transact-SQL)
sp_dbmmonitorresults (Transact-SQL)