Skip to content

Commit b160812

Browse files
authored
Merge pull request #21309 from niko-neugebauer/patch-12
Updating TARGET_RECOVERY_OPTION availability on SQL MI
2 parents 75b1aa1 + 6471328 commit b160812

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

docs/t-sql/statements/alter-database-transact-sql-set-options.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2998,19 +2998,10 @@ You can determine this option's status by examining the `is_recursive_triggers_o
29982998
You can determine this option's status by examining the `is_recursive_triggers_on` column in the [sys.databases](../../relational-databases/system-catalog-views/sys-databases-transact-sql.md) catalog view or the `IsRecursiveTriggersEnabled` property of the [DATABASEPROPERTYEX](../../t-sql/functions/databasepropertyex-transact-sql.md) function.
29992999

30003000
#### **\<target_recovery_time_option> ::=**
3001-
Specifies the frequency of indirect checkpoints on a per-database basis. Starting with [!INCLUDE[sssql16-md](../../includes/sssql16-md.md)] the default value for new databases is **1 minute**, which indicates database will use indirect checkpoints. For older versions the default is 0, which indicates that the database will use automatic checkpoints, whose frequency depends on the recovery interval setting of the server instance. [!INCLUDE[msCoName](../../includes/msconame-md.md)] recommends 1 minute for most systems.
3002-
3003-
#### TARGET_RECOVERY_TIME **=** *target_recovery_time* { SECONDS | MINUTES }
3004-
*target_recovery_time*
3005-
Specifies the maximum bound on the time to recover the specified database in the event of a crash. *target_recovery_time* is type **int**.
3006-
3007-
SECONDS
3008-
Indicates that *target_recovery_time* is expressed as the number of seconds.
30093001

3010-
MINUTES
3011-
Indicates that *target_recovery_time* is expressed as the number of minutes.
3002+
**target_recovery_time_option** is not supported on Azure SQL Managed Instance.
30123003

3013-
For more information about indirect checkpoints, see [Database Checkpoints](../../relational-databases/logs/database-checkpoints-sql-server.md).
3004+
Specifies the frequency of indirect checkpoints on a per-database basis. Starting with [!INCLUDE[sssql16-md](../../includes/sssql16-md.md)] the default value for new databases is **1 minute**, which indicates database will use indirect checkpoints. For older versions the default is 0, which indicates that the database will use automatic checkpoints, whose frequency depends on the recovery interval setting of the server instance. [!INCLUDE[msCoName](../../includes/msconame-md.md)] recommends 1 minute for most systems.
30143005

30153006
#### **WITH \<termination> ::=**
30163007
Specifies when to roll back incomplete transactions when the database is transitioned from one state to another. If the termination clause is omitted, the ALTER DATABASE statement waits indefinitely if there's any lock on the database. Only one termination clause can be specified, and it follows the SET clauses.

0 commit comments

Comments
 (0)