Skip to content

Commit 99f5fa9

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/sql-docs-pr into release-remove-sscurrent-tag
2 parents 40f3bea + f72e7cb commit 99f5fa9

7 files changed

Lines changed: 123 additions & 125 deletions

docs/connect/spark/connector.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ You can also build the connector from source or download the jar from the Releas
4545
| Microsoft SQL Server | SQL Server 2008 or later |
4646
| Azure SQL Databases | Supported |
4747

48-
> [!NOTE]
49-
> Azure Synapse Analytics use is not tested with this connector. While it may work, there may be unintended consequences.
5048

5149
### Supported Options
5250
The Apache Spark Connector for SQL Server and Azure SQL supports the options defined here: [SQL DataSource JDBC](https://spark.apache.org/docs/latest/sql-data-sources-jdbc.html)

docs/relational-databases/indexes/move-an-existing-index-to-a-different-filegroup.md

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: "Move an Existing Index to a Different Filegroup"
33
title: "Move an Existing Index to a Different Filegroup | Microsoft Docs"
44
ms.custom: ""
5-
ms.date: "02/17/2017"
5+
ms.date: "05/11/2021"
66
ms.prod: sql
77
ms.prod_service: "database-engine"
88
ms.reviewer: ""
@@ -18,28 +18,17 @@ ms.assetid: 167ebe77-487d-4ca8-9452-4b2c7d5cb96e
1818
author: MikeRayMSFT
1919
ms.author: mikeray
2020
---
21-
# Move an Existing Index to a Different Filegroup
21+
# Move an existing index to a different filegroup
22+
2223
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
2324

2425
This topic describes how to move an existing index from its current filegroup to a different filegroup in [!INCLUDE[ssnoversion](../../includes/ssnoversion-md.md)] by using [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] or [!INCLUDE[tsql](../../includes/tsql-md.md)].
26+
27+
For design considerations including why you might want to place a nonclustered index on a different filegroup, see [Index Placement on Filegroups or Partitions Schemes](../sql-server-index-design-guide.md#Index_placement).
28+
29+
## <a name="BeforeYouBegin"></a> Before you begin
2530

26-
**In This Topic**
27-
28-
- **Before you begin:**
29-
30-
[Limitations and Restrictions](#Restrictions)
31-
32-
[Security](#Security)
33-
34-
- **To move an existing index to a different filegroup, using:**
35-
36-
[SQL Server Management Studio](#SSMSProcedure)
37-
38-
[Transact-SQL](#TsqlProcedure)
39-
40-
## <a name="BeforeYouBegin"></a> Before You Begin
41-
42-
### <a name="Restrictions"></a> Limitations and Restrictions
31+
### <a name="Restrictions"></a> Limitations and restrictions
4332

4433
- If a table has a clustered index, moving the clustered index to a new filegroup moves the table to that filegroup.
4534

@@ -50,7 +39,7 @@ ms.author: mikeray
5039
#### <a name="Permissions"></a> Permissions
5140
Requires ALTER permission on the table or view. User must be a member of the **sysadmin** fixed server role or the **db_ddladmin** and **db_owner** fixed database roles.
5241

53-
## <a name="SSMSProcedure"></a> Using SQL Server Management Studio
42+
## <a name="SSMSProcedure"></a> Use SQL Server Management Studio
5443

5544
#### To move an existing index to a different filegroup using Table Designer
5645

@@ -177,7 +166,9 @@ ms.author: mikeray
177166
ON TransactionsFG1;
178167
GO
179168
```
169+
170+
## Next steps
171+
172+
For more information, see [CREATE INDEX &#40;Transact-SQL&#41;](../../t-sql/statements/create-index-transact-sql.md).
180173
181-
For more information, see [CREATE INDEX &#40;Transact-SQL&#41;](../../t-sql/statements/create-index-transact-sql.md).
182-
183-
174+
[SQL Server Index Architecture and Design Guide](../sql-server-index-design-guide.md)

docs/relational-databases/performance/database-engine-tuning-advisor.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
---
2-
title: "Database Engine Tuning Advisor | Microsoft Docs"
2+
title: "Database Engine Tuning Advisor"
33
description: Learn how to use Database Engine Tuning Advisor to troubleshoot, tune a large set of queries, analyze design changes, and manage storage space in SQL Server.
44
ms.custom: ""
5-
ms.date: "01/09/2017"
5+
ms.date: "05/11/2021"
66
ms.prod: sql
77
ms.reviewer: ""
88
ms.technology: performance
99
ms.topic: conceptual
1010
f1_keywords:
1111
- "sql13.dta.general.f1"
12-
ms.assetid: 50dd0a0b-a407-4aeb-bc8b-b02a793aa30a
1312
author: WilliamDAssafMSFT
1413
ms.author: wiassaf
1514
---
1615
# Database Engine Tuning Advisor
1716
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
18-
The [!INCLUDE[msCoName](../../includes/msconame-md.md)] Database Engine Tuning Advisor (DTA) analyzes databases and makes recommendations that you can use to optimize query performance. You can use the Database Engine Tuning Advisor to select and create an optimal set of indexes, indexed views, or table partitions without having an expert understanding of the database structure or the internals of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. Using the DTA, you can perform the following tasks.
17+
The [!INCLUDE[msCoName](../../includes/msconame-md.md)] Database Engine Tuning Advisor (DTA) analyzes databases and makes recommendations that you can use to optimize query performance. You can use the Database Engine Tuning Advisor to select and create an optimal set of indexes, indexed views, or table partitions without having an expert understanding of the database structure or the internals of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. Using the DTA, you can perform the following tasks:
1918

2019
- Troubleshoot the performance of a specific problem query
2120

@@ -25,7 +24,11 @@ ms.author: wiassaf
2524

2625
- Manage storage space
2726

28-
## Database Engine Tuning Advisor Benefits
27+
28+
> [!NOTE]
29+
> The Database Engine Tuning Advisor is not supported for [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)] or [!INCLUDE[ssazuremi_md](../../includes/ssazuremi_md.md)]. Instead, consider the strategies recommended in [Monitoring and performance tuning in Azure SQL Database and Azure SQL Managed Instance](/azure/azure-sql/database/monitor-tune-overview). For [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)], see also the [Database Advisor performance recommendations for Azure SQL Database](/azure/azure-sql/database/database-advisor-implement-performance-recommendations).
30+
31+
## Database Engine Tuning Advisor benefits
2932
Optimizing query performance can be difficult without a full understanding the database structure and the queries that are run against the database. The **Database Engine Tuning Advisor (DTA)** can make this task easier by analyzing the current query plan cache or by analyzing a workload of [!INCLUDE[tsql](../../includes/tsql-md.md)] queries that you create and recommending an appropriate physical design. For more advanced database administrators, DTA exposes a powerful mechanism to perform exploratory what-if analysis of different physical design alternatives. The DTA can provide the following information.
3033

3134
- Recommend the best mix of rowstore and [columnstore](../../relational-databases/performance/columnstore-index-recommendations-in-database-engine-tuning-advisor-dta.md) indexes for databases by using the query optimizer to analyze queries in a workload.
@@ -95,7 +98,7 @@ The Database Engine Tuning Advisor is designed to handle the following types of
9598

9699
3. The user who runs Database Engine Tuning Advisor is not a member of the **db_owner** database role or the **sysadmin** fixed server role. The queries in the workload are analyzed in the security context of the user who runs the Database Engine Tuning Advisor. The user must be a member of the **db_owner** database role.
97100

98-
- Database Engine Tuning Advisor stores tuning session data and other information in the **msdb** database. If changes are made to the **msdb** database you may risk losing tuning session data. To eliminate this risk, implement an appropriate backup strategy for the **msdb** database.
101+
- Database Engine Tuning Advisor stores tuning session data and other information in the `msdb` database. If changes are made to the `msdb` database, you may risk losing tuning session data. To eliminate this risk, implement an appropriate backup strategy for the `msdb` database.
99102

100103
## Performance Considerations
101104
Database Engine Tuning Advisor can consume significant processor and memory resources during analysis. To avoid slowing down your production server, follow one of these strategies:
@@ -106,15 +109,15 @@ The Database Engine Tuning Advisor is designed to handle the following types of
106109

107110
- Specify only the physical database design structures you want Database Engine Tuning Advisor to analyze. Database Engine Tuning Advisor provides many options, but specifies only those that are necessary.
108111

109-
## Dependency on xp_msver Extended Stored Procedure
112+
## Dependency on xp_msver extended stored procedure
110113
Database Engine Tuning Advisor depends on the **xp_msver** extended stored procedure to provide full functionality. This extended stored procedure is turned on by default. Database Engine Tuning Advisor uses this extended stored procedure to fetch the number of processors and available memory on the computer where the database that you are tuning resides. If **xp_msver** is unavailable, Database Engine Tuning Advisor assumes the hardware characteristics of the computer where Database Engine Tuning Advisor is running. If the hardware characteristics of the computer where Database Engine Tuning Advisor is running are not available, one processor and 1024 megabytes (MBs) of memory are assumed.
111114

112115
This dependency affects partitioning recommendations because the number of partitions recommended depends on these two values (number of processors and available memory). The dependency also affects your tuning results when you use a test server to tune your production server. In this scenario, Database Engine Tuning Advisor uses **xp_msver** to fetch hardware properties from the production server. After tuning the workload on the test server, Database Engine Tuning Advisor uses these hardware properties to generate a recommendation. For more information, see [xp_msver &#40;Transact-SQL&#41;](../../relational-databases/system-stored-procedures/xp-msver-transact-sql.md).
113116

114-
## Database Engine Tuning Advisor Tasks
115-
The following table lists common Database Engine Tuning Advisor tasks and the topics that describe how to perform them.
117+
## Database Engine Tuning Advisor tasks
118+
The following table lists common Database Engine Tuning Advisor tasks and the articles that describe how to perform them.
116119

117-
|Database Engine Tuning Advisor Task|Topic|
120+
|Database Engine Tuning Advisor task|article|
118121
|-----------------------------------------|-----------|
119122
|Initialize and start the Database Engine Tuning Advisor.<br /><br /> Create a workload by specifying the plan cache, by creating a script, or by generating a trace file or trace table.<br /><br /> Tune a database by using the Database Engine Tuning Advisor graphical user interface tool.<br /><br /> Create XML input files to tune workloads.<br /><br /> View descriptions of the Database Engine Tuning Advisor user interface options.|[Start and Use the Database Engine Tuning Advisor](../../relational-databases/performance/start-and-use-the-database-engine-tuning-advisor.md)|
120123
|View the results of the database tuning operation.<br /><br /> Select and implement tuning recommendations.<br /><br /> Perform what-if exploratory analysis against the workload.<br /><br /> Review existing tuning sessions, clone sessions based on existing ones <br />or edit existing tuning recommendations for further evaluation or implementation.<br /><br /> View descriptions of the Database Engine Tuning Advisor user interface options.|[View and Work with the Output from the Database Engine Tuning Advisor](../../relational-databases/performance/view-and-work-with-the-output-from-the-database-engine-tuning-advisor.md)|

0 commit comments

Comments
 (0)