Skip to content

Commit 25e8da6

Browse files
authored
Merge pull request #50087 from danimir/patch-26
Misc. clarifications and updates to the page
2 parents 32ba29b + 09d0b08 commit 25e8da6

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

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

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,28 @@ ms.reviewer: carlrab
1414
---
1515
# Automatic tuning in Azure SQL Database
1616

17-
Azure SQL Database Automatic tuning provides peak performance and stable workloads through continuous performance tuning utilizing Artificial Intelligence.
17+
Azure SQL Database Automatic tuning provides peak performance and stable workloads through continuous performance tuning based on AI and machine learning.
1818

19-
Automatic tuning is a fully managed service that uses built-in intelligence to continuously monitor queries executed on a database and it automatically improves their performance. This is achieved through dynamically adapting database to the changing workloads and applying tuning recommendations. Automatic tuning learns horizontally from all databases on Azure through Artificial Intelligence and it dynamically improves its tuning actions. The longer an Azure SQL Database runs with automatic tuning on, the better it performs.
19+
Automatic tuning is a fully managed intelligent performance service that uses built-in intelligence to continuously monitor queries executed on a database, and it automatically improves their performance. This is achieved through dynamically adapting database to the changing workloads and applying tuning recommendations. Automatic tuning learns horizontally from all databases on Azure through AI and it dynamically improves its tuning actions. The longer an Azure SQL Database runs with automatic tuning on, the better it performs.
2020

21-
Azure SQL Database Automatic tuning might be one of the most important features that you can enable to provide stable and peak performing workloads.
21+
Azure SQL Database Automatic tuning might be one of the most important features that you can enable to provide stable and peak performing database workloads.
2222

2323
## What can Automatic Tuning do for you?
2424

2525
- Automated performance tuning of Azure SQL Databases
2626
- Automated verification of performance gains
2727
- Automated rollback and self-correction
28-
- Tuning history log
28+
- Tuning history
2929
- Tuning action T-SQL scripts for manual deployments
3030
- Proactive workload performance monitoring
3131
- Scale out capability on hundreds of thousands of databases
3232
- Positive impact to DevOps resources and the total cost of ownership
3333

34-
## Safe, Reliable and Proven
34+
## Safe, Reliable, and Proven
3535

3636
Tuning operations applied to Azure SQL Databases are fully safe for the performance of your most intense workloads. The system has been designed with care not to interfere with the user workloads. Automated tuning recommendations are applied only at the times of a low utilization. The system can also temporarily disable automatic tuning operations to protect the workload performance. In such case, “Disabled by the system” message will be shown in Azure portal. Automatic tuning regards workloads with the highest resource priority.
3737

38-
Automatic tuning mechanisms are mature and have been perfected on hundreds of thousands of databases running on Azure. Automated tuning operations applied are verified automatically to ensure there is a positive improvement to the workload performance. Regressed performance recommendations are dynamically detected and promptly reverted. Through the tuning history log there is a clear trace of tuning improvements made to each Azure SQL Database.
38+
Automatic tuning mechanisms are mature and have been perfected on several million databases running on Azure. Automated tuning operations applied are verified automatically to ensure there is a positive improvement to the workload performance. Regressed performance recommendations are dynamically detected and promptly reverted. Note that in case of queries affected by tuning recommendations that are not executed frequently, the validation phase can take up to 72 hrs by design. Through the tuning history recorded, there exists a clear trace of tuning improvements made to each Azure SQL Database.
3939

4040
![How does automatic tuning work](./media/sql-database-automatic-tuning/how-does-automatic-tuning-work.png)
4141

@@ -59,10 +59,12 @@ For an overview of how automatic tuning works and for typical usage scenarios, s
5959

6060
Automatic tuning options available in Azure SQL Database are:
6161
1. **CREATE INDEX** - identifies indexes that may improve performance of your workload, creates indexes, and automatically verifies that performance of queries has improved.
62-
2. **DROP INDEX** - identifies redundant and duplicate indexes, and indexes that were not used for a very long period of time. Please note that this option is not compatible with applications using partition switching and index hints.
62+
2. **DROP INDEX** - identifies redundant and duplicate indexes daily, and indexes that were not used for a long time (>90 days). Note that this option is not compatible with applications using partition switching and index hints.
6363
3. **FORCE LAST GOOD PLAN** - identifies SQL queries using execution plan that is slower than the previous good plan, and queries using the last known good plan instead of the regressed plan.
6464

65-
Azure SQL Database identifies **CREATE INDEX**, **DROP INDEX**, and **FORCE LAST GOOD PLAN** recommendations that can optimize your database and shows them in Azure portal. Find more information about identification of indexes that should be changed at [Find index recommendations in Azure portal](sql-database-advisor-portal.md). You can either manually apply recommendations using the portal or you can let Azure SQL Database to automatically apply recommendations, monitor workload after the change, and verify that the recommendation improved the performance of your workload.
65+
Automatic tuning identifies **CREATE INDEX**, **DROP INDEX**, and **FORCE LAST GOOD PLAN** recommendations that can optimize your database performance and shows them in [Azure portal](sql-database-advisor-portal.md), and exposes them through [T-SQL](https://docs.microsoft.com/sql/t-sql/statements/alter-database-transact-sql-set-options?view=azuresqldb-current) and [REST API](https://docs.microsoft.com/rest/api/sql/serverautomatictuning).
66+
67+
You can either manually apply tuning recommendations using the portal or you can let Automatic tuning autonomously apply tuning recommendations for you. The benefits of letting the system autonomously apply tuning recommendations for you is that in such case it automatically validates there exists a positive gain to the workload performance, or otherwise if a regression is detected it will automatically revert the tuning recommendation. In case you are manually applying tuning recommendations, the automatic performance validation, and reversal mechanisms are not available.
6668

6769
Automatic tuning options can be independently enabled or disabled per database, or they can be configured on logical servers and applied on every database that inherits settings from the server. Logical servers can inherit Azure defaults for Automatic tuning settings. Azure defaults at this time are set to FORCE_LAST_GOOD_PLAN is enabled, CREATE_INDEX is enabled, and DROP_INDEX is disabled.
6870

@@ -72,6 +74,7 @@ Configuring Automatic tuning options on a server and inheriting settings for dat
7274

7375
- To enable automatic tuning in Azure SQL Database to manage your workload, see [Enable automatic tuning](sql-database-automatic-tuning-enable.md).
7476
- To manually review and apply Automatic tuning recommendations, see [Find and apply performance recommendations](sql-database-advisor-portal.md).
77+
- To learn how to use T-SQL to apply and view Automatic tuning recommendations, see [Manage automatic tuning via T-SQL](https://azure.microsoft.com/blog/automatic-tuning-introduces-automatic-plan-correction-and-t-sql-management/).
7578
- To learn about building email notifications for Automatic tuning recommendations, see [Email notifications for automatic tuning](sql-database-automatic-tuning-email-notifications.md).
7679
- To learn about built-in intelligence used in Automatic tuning, see [Artificial Intelligence tunes Azure SQL Databases](https://azure.microsoft.com/blog/artificial-intelligence-tunes-azure-sql-databases/).
7780
- To learn about how Automatic tuning works in Azure SQL Database and SQL server 2017, see [SQL Server automatic tuning](https://docs.microsoft.com/sql/relational-databases/automatic-tuning/automatic-tuning).

0 commit comments

Comments
 (0)