Skip to content

Commit 47438f0

Browse files
authored
Merge pull request #48381 from danimir/patch-21
Updated options to configure automatic tuning
2 parents e725d63 + 09ffbcd commit 47438f0

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

articles/sql-database/sql-database-automatic-tuning-enable.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ ms.reviewer: carlrab
1414
---
1515
# Enable automatic tuning
1616

17-
Azure SQL Database is an automatically managed data service that constantly monitors your queries and identifies the action that you can perform to improve performance of your workload. You can review recommendations and manually apply them, or let Azure SQL Database automatically apply corrective actions - this is known as **automatic tuning mode**. Automatic tuning can be enabled at the server or the database level.
17+
Azure SQL Database is an automatically managed data service that constantly monitors your queries and identifies the action that you can perform to improve performance of your workload. You can review recommendations and manually apply them, or let Azure SQL Database automatically apply corrective actions - this is known as **automatic tuning mode**.
18+
19+
Automatic tuning can be enabled at the server or the database level through the [Azure portal](sql-database-automatic-tuning-enable.md#azure-portal), [REST API](sql-database-automatic-tuning-enable.md#rest-api) calls and [T-SQL](sql-database-automatic-tuning-enable.md#t-sql) commands.
1820

1921
## Enable automatic tuning on server
2022
On the server level you can choose to inherit automatic tuning configuration from "Azure Defaults" or not to inherit the configuration. Azure defaults are FORCE_LAST_GOOD_PLAN is enabled, CREATE_INDEX is enabled, and DROP_INDEX is disabled.
@@ -33,7 +35,9 @@ Select the automatic tuning options you want to enable and select **Apply**.
3335
Automatic tuning options on a server are applied to all databases on this server. By default, all databases inherit configuration from their parent server, but this can be overridden and specified for each database individually.
3436

3537
### REST API
36-
[Click here, to read more about how to enable automatic tuning on the server level via REST API](https://docs.microsoft.com/rest/api/sql/serverautomatictuning)
38+
39+
Find out more about using REST API to enable Automatic tuning on a server, see [SQL Server Automatic tuning UPDATE and GET HTTP methods](https://docs.microsoft.com/rest/api/sql/serverautomatictuning).
40+
3741

3842
## Enable automatic tuning on an individual database
3943

@@ -56,7 +60,8 @@ Please note that DROP_INDEX option at this time is not compatible with applicati
5660
Once you have selected your desired configuration, click **Apply**.
5761

5862
### Rest API
59-
[Click here to read more about how to enable automatic tuning on a single database via REST API](https://docs.microsoft.com/rest/api/sql/databaseautomatictuning)
63+
64+
Find out more about using REST API to enable Automatic tuning on a single database, see [SQL Database Automatic tuning UPDATE and GET HTTP methods](https://docs.microsoft.com/rest/api/sql/databaseautomatictuning).
6065

6166
### T-SQL
6267

@@ -76,12 +81,14 @@ To configure individual automatic tuning options via T-SQL, connect to the datab
7681

7782
Setting the individual tuning option to ON, will override any setting that database inherited and enable the tuning option. Setting it to OFF, will also override any setting that database inherited and disable the tuning option. Automatic tuning option, for which DEFAULT is specified, will inherit the configuration from the database level automatic tuning setting.
7883

84+
Find our more abut T-SQL options to configure Automatic tuning, see [ALTER DATABASE SET Options (Transact-SQL) for SQL Database logical server](https://docs.microsoft.com/en-us/sql/t-sql/statements/alter-database-transact-sql-set-options?view=sql-server-2017&tabs=sqldbls#arguments-1)
85+
7986
## Disabled by the system
8087
Automatic tuning is monitoring all the actions it takes on the database and in some cases it can determine that automatic tuning can't properly work on the database. In this situation, tuning option will be disabled by the system. In most cases this happens because Query Store is not enabled or it's in read-only state on a specific database.
8188

8289
## Configure automatic tuning e-mail notifications
8390

84-
See [Automatic tuning e-mail notifications](sql-database-automatic-tuning-email-notifications.md)
91+
See [Automatic tuning e-mail notifications](sql-database-automatic-tuning-email-notifications.md) guide.
8592

8693
## Next steps
8794
* Read the [Automatic tuning article](sql-database-automatic-tuning.md) to learn more about automatic tuning and how it can help you improve your performance.

0 commit comments

Comments
 (0)