| title | sp_dbmmonitorchangemonitoring (Transact-SQL) | ||
|---|---|---|---|
| description | sp_dbmmonitorchangemonitoring (Transact-SQL) | ||
| author | markingmyname | ||
| ms.author | maghan | ||
| ms.date | 03/14/2017 | ||
| ms.service | sql | ||
| ms.subservice | system-objects | ||
| ms.topic | reference | ||
| f1_keywords |
|
||
| helpviewer_keywords |
|
||
| dev_langs |
|
[!INCLUDE SQL Server]
Changes the value of a database mirroring monitoring parameter.
:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: Transact-SQL syntax conventions
sp_dbmmonitorchangemonitoring parameter
, value
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. |
None
None
Requires membership in the sysadmin fixed server role.
The following example changes the update period to 5 minutes.
EXEC sp_dbmmonitorchangemonitoring 1, 5 ;
Monitoring Database Mirroring (SQL Server)
sp_dbmmonitoraddmonitoring (Transact-SQL)
sp_dbmmonitordropmonitoring (Transact-SQL)
sp_dbmmonitorhelpmonitoring (Transact-SQL)
sp_dbmmonitorresults (Transact-SQL)