Tutorial: Database Engine Tuning Advisor
Tutorial: Database Engine Tuning Advisor
Welcome to the Database Engine Tuning Advisor tutorial. Database Engine Tuning Advisor examines how queries are processed in the databases you specify, and then recommends how you can improve query processing performance by modifying database structures such as indexes, indexed views, and partitioning.
Database Engine Tuning Advisor provides two user interfaces: a graphical user interface (GUI) and the dta command prompt utility. The GUI makes it easy to quickly view the results of tuning sessions, and the dta utility makes it easy to incorporate Database Engine Tuning Advisor functionality into scripts for automated tuning. In addition, Database Engine Tuning Advisor can take XML input, which offers more control over the tuning process.
Note
The Database Engine Tuning Advisor is not supported for Azure SQL Database or Azure SQL Managed Instance. Instead, consider the strategies recommended in Monitoring and performance tuning in Azure SQL Database and Azure SQL Managed Instance. For Azure SQL Database, see also the Database Advisor performance recommendations for Azure SQL Database.
What you will learn
This tutorial will teach you how to navigate the Database Engine Tuning Advisor GUI, and how to perform some basic tasks with both the GUI and the dta utility. It contains the following lessons:
Lesson 1: Basic Navigation in Database Engine Tuning Advisor
In this lesson, you will familiarize yourself with the new Database Engine Tuning Advisor GUI and learn how to set display options and layout.
Lesson 2: Using Database Engine Tuning Advisor
In this lesson, you will learn how to perform basic tuning tasks with the Database Engine Tuning Advisor GUI.
Lesson 3: Using the dta Command Prompt Utility
In this lesson, you learn how to start the dta command prompt utility and how to run some simple tuning commands.
Requirements
This tutorial is intended for database administrators who are not familiar with the Database Engine Tuning Advisor GUI or the dta command prompt utility, but who are experienced with database concepts and structures, such as indexes and indexed views.
You must install SQL Server with the AdventureWorks2012 sample database. To enhance security, the sample databases are not installed by default. To install the sample databases, see Installing SQL Server Samples and Sample Databases.
After you finish this tutorial
After you finish the lessons in this tutorial, refer to the following articles for more information about Database Engine Tuning Advisor:
-
Database Engine Tuning Advisor for descriptions of how to perform tasks with this tool.
-
dta utility for reference material on the command prompt utility and the optional XML file you can use to control the operation of the utility.
Next lesson
Lesson 1: Basic Navigation in Database Engine Tuning Advisor
作者:Chuck Lu GitHub |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
2019-06-14 Windowed functions can only appear in the SELECT or ORDER BY clauses
2016-06-14 Getting started with ASP.NET Core MVC and Visual Studio