You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/connect/spark/connector.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,8 +45,6 @@ You can also build the connector from source or download the jar from the Releas
45
45
| Microsoft SQL Server | SQL Server 2008 or later |
46
46
| Azure SQL Databases | Supported |
47
47
48
-
> [!NOTE]
49
-
> Azure Synapse Analytics use is not tested with this connector. While it may work, there may be unintended consequences.
50
48
51
49
### Supported Options
52
50
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)
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
+
## <aname="BeforeYouBegin"></a> Before you begin
25
30
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
-
## <aname="BeforeYouBegin"></a> Before You Begin
41
-
42
-
### <aname="Restrictions"></a> Limitations and Restrictions
31
+
### <aname="Restrictions"></a> Limitations and restrictions
43
32
44
33
- If a table has a clustered index, moving the clustered index to a new filegroup moves the table to that filegroup.
45
34
@@ -50,7 +39,7 @@ ms.author: mikeray
50
39
#### <aname="Permissions"></a> Permissions
51
40
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.
52
41
53
-
## <aname="SSMSProcedure"></a> Using SQL Server Management Studio
42
+
## <aname="SSMSProcedure"></a> Use SQL Server Management Studio
54
43
55
44
#### To move an existing index to a different filegroup using Table Designer
56
45
@@ -177,7 +166,9 @@ ms.author: mikeray
177
166
ON TransactionsFG1;
178
167
GO
179
168
```
169
+
170
+
## Next steps
171
+
172
+
For more information, see [CREATE INDEX (Transact-SQL)](../../t-sql/statements/create-index-transact-sql.md).
180
173
181
-
For more information, see [CREATE INDEX (Transact-SQL)](../../t-sql/statements/create-index-transact-sql.md).
182
-
183
-
174
+
[SQL Server Index Architecture and Design Guide](../sql-server-index-design-guide.md)
Copy file name to clipboardExpand all lines: docs/relational-databases/performance/database-engine-tuning-advisor.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,20 @@
1
1
---
2
-
title: "Database Engine Tuning Advisor | Microsoft Docs"
2
+
title: "Database Engine Tuning Advisor"
3
3
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.
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:
19
18
20
19
- Troubleshoot the performance of a specific problem query
21
20
@@ -25,7 +24,11 @@ ms.author: wiassaf
25
24
26
25
- Manage storage space
27
26
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
29
32
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.
30
33
31
34
- 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
95
98
96
99
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.
97
100
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.
99
102
100
103
## Performance Considerations
101
104
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
106
109
107
110
- 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.
108
111
109
-
## Dependency on xp_msver Extended Stored Procedure
112
+
## Dependency on xp_msver extended stored procedure
110
113
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.
111
114
112
115
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 (Transact-SQL)](../../relational-databases/system-stored-procedures/xp-msver-transact-sql.md).
113
116
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.
|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)|
120
123
|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