Skip to content

Commit 898f6f1

Browse files
committed
resolve merge conflict
2 parents d95b4a1 + c43ff6e commit 898f6f1

22 files changed

Lines changed: 416 additions & 61 deletions

docs/big-data-cluster/deploy-get-started.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,15 @@ ms.technology: big-data-cluster
1515

1616
[!INCLUDE[tsql-appliesto-ssver15-xxxx-xxxx-xxx](../includes/tsql-appliesto-ssver15-xxxx-xxxx-xxx.md)]
1717

18-
This article provides an overview of how to deploy [[!INCLUDE[big-data-clusters-2019](../includes/ssbigdataclusters-ver15.md)]](big-data-cluster-overview.md). It is meant to orient you to the concepts and provide a framework for understanding the other deployment articles in this section. Your specific deployment steps vary based on your platform choices for the client and server.
18+
This article provides an overview of how to deploy [[!INCLUDE[big-data-clusters-2019](../includes/ssbigdataclusters-ver15.md)]](big-data-cluster-overview.md).
19+
20+
For other deployment scenarios, see:
21+
22+
- [Windows](../database-engine/install-windows/install-sql-server.md)
23+
- [Linux](../linux/sql-server-linux-setup.md)
24+
- [Docker containers](../linux/sql-server-linux-configure-docker.md)
25+
26+
The article orients you to the concepts and provides a framework for understanding the other deployment articles in this section. Your specific deployment steps vary based on your platform choices for the client and server.
1927

2028
> [!TIP]
2129
> To quickly get an environment with Kubernetes and big data cluster deployed to help you ramp up on its capabilities, use one of the sample scripts pointed to in [the scripts section](#scripts). After deployment, to manage the cluster use the [client tools](#tools) in the following section.
302 KB
Loading

docs/big-data-cluster/tutorial-data-pool-ingest-spark.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ The next step is to create a Spark streaming job that loads web clickstream data
126126
127127
The following steps show that the Spark streaming job loaded the data from HDFS into the data pool.
128128
129-
1. Before querying the ingested data, look at the task history output to see that the job completed.
129+
1. Before querying the ingested data, look at the Spark Execution Status including Yarn App ID, Spark UI and Driver Logs.
130130
131-
![Spark job history](media/tutorial-data-pool-ingest-spark/spark-task-history.png)
131+
![Spark Execution Details](./media/tutorial-data-pool-ingest-spark/Spark-Joblog-sparkui-yarn.png)
132132
133133
1. Return to the SQL Server master instance query window that you opened at the beginning of this tutorial.
134134

docs/database-engine/install-windows/compatibility-certification.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Using Compatibility Certification is a valuable approach to database modernizati
4040

4141
The possibility of adversely affecting functionality and performance are the main risk factors for any upgrade. Compatibility Certification represents peace of mind in terms of managing these upgrade risks:
4242

43-
- In what relates to [!INCLUDE[tsql](../../includes/tsql-md.md)] behavior, any change means that an application needs to be recertified for correctness. However, the [database compatibility level](../../t-sql/statements/alter-database-transact-sql-compatibility-level.md) setting provides backward compatibility with earlier versions of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] only for the specified database, not for the entire server. Keeping the database compatibility level as-is ensures that existing application queries continue to display the same behavior before and after a [!INCLUDE[ssde_md](../../includes/ssde_md.md)] upgrade. For more information about [!INCLUDE[tsql](../../includes/tsql-md.md)] behavior and compatibility levels, see [Using compatibility levels for backward compatibility](../../t-sql/statements/alter-database-transact-sql-compatibility-level.md#using-compatibility-level-for-backward-compatibility).
43+
- In what relates to [!INCLUDE[tsql](../../includes/tsql-md.md)] behavior, any change means that an application needs to be recertified for correctness. However, the [database compatibility level](../../t-sql/statements/alter-database-transact-sql-compatibility-level.md) setting provides backward compatibility with earlier versions of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] only for the specified database, not for the entire server. Keeping the database compatibility level as-is ensures that existing application queries continue to display the same behavior before and after a [!INCLUDE[ssde_md](../../includes/ssde_md.md)] upgrade. For more information about [!INCLUDE[tsql](../../includes/tsql-md.md)] behavior and compatibility levels, see [Using compatibility levels for backward compatibility](../../t-sql/statements/alter-database-transact-sql-compatibility-level.md#backwardCompat).
4444

4545
- In what relates to performance, because improvements in the Query Optimizer are introduced with every version, it could be expected to encounter query plan differences between different [!INCLUDE[ssde_md](../../includes/ssde_md.md)] versions. Query plan differences in the scope of an upgrade usually translate to risk when there is potential that some changes may be detrimental for a given query or workload. In turn, this risk is a motivation for recertification, which can delay upgrades and pose lifecycle and support challenges.
4646
Mitigating upgrade risks is why Query Optimizer improvements are gated to the default compatibility level of a new release. Compatibility Certification includes **query plan shape protection**: the notion that maintaining a database compatibility level as-is immediately after a [!INCLUDE[ssde_md](../../includes/ssde_md.md)] upgrade means that the query optimization model used to create query plans in the new version is the same as it was before the upgrade, and the query plan shape should not change.
@@ -49,7 +49,7 @@ The possibility of adversely affecting functionality and performance are the mai
4949
> **Query plan shape** refers to the visual representation of the various operators that make up a query plan. This includes operators like seeks, scans, joins, and sorts, as well as the connections between them that indicate the flow of data and the order of the operations.
5050
> The query plan shape is determined by the Query Optimizer. For more information, see the [Query Processing Architecture Guide](../../relational-databases/query-processing-architecture-guide.md#optimizing-select-statements).
5151
52-
For more information, see [Using compatibility levels for backward compatibility](../../t-sql/statements/alter-database-transact-sql-compatibility-level.md#using-compatibility-level-for-backward-compatibility).
52+
For more information, see [Using compatibility levels for backward compatibility](../../t-sql/statements/alter-database-transact-sql-compatibility-level.md#backwardCompat).
5353

5454
As long as the application does not need to leverage enhancements that are only available in a higher database compatibility levels, it is a valid approach to upgrade the [!INCLUDE[ssDEnoversion](../../includes/ssdenoversion-md.md)] and maintain the previous database compatibility level, with no need to recertify an application. For more information, see [Compatibility levels and Database Engine upgrades](#compatibility-levels-and-database-engine-upgrades) later in this article.
5555

docs/database-engine/install-windows/install-sql-server.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,18 @@ ms.author: mathoma
1616
monikerRange: ">=sql-server-2016||=sqlallproducts-allversions"
1717
---
1818
# Install SQL Server
19+
1920
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-winonly](../../includes/appliesto-ss-xxxx-xxxx-xxx-md-winonly.md)]
20-
21-
Beginning with [!INCLUDE[sssql15](../../includes/sssql15-md.md)], [!INCLUDE[ssnoversion](../../includes/ssnoversion-md.md)] is only available as a 64-bit application. Here are important details about how to get SQL Server and how to install it.
21+
22+
This article provides guidance for installing SQL Server on Windows.
23+
24+
For other deployment scenarios, see:
25+
26+
- [Linux](../../linux/sql-server-linux-setup.md)
27+
- [Docker containers](../../linux/sql-server-linux-configure-docker.md)
28+
- [Kubernetes - Big Data Clusters](../../big-data-cluster/deploy-get-started.md)
29+
30+
Beginning with [!INCLUDE[sssql15](../../includes/sssql15-md.md)], [!INCLUDE[ssnoversion](../../includes/ssnoversion-md.md)] is only available as a 64-bit application. Here are important details about how to get SQL Server and how to install it.
2231

2332
## Installation details
2433

docs/linux/sql-server-linux-configure-docker.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,15 @@ moniker: ">= sql-server-linux-2017 || >= sql-server-2017 || =sqlallproducts-allv
1515

1616
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-linuxonly](../includes/appliesto-ss-xxxx-xxxx-xxx-md-linuxonly.md)]
1717

18-
This article explains how to configure and use the [mssql-server-linux container image](https://hub.docker.com/_/microsoft-mssql-server) with Docker. This image consists of SQL Server running on Linux based on Ubuntu 16.04. It can be used with the Docker Engine 1.8+ on Linux or on Docker for Mac/Windows.
18+
This article explains how to configure and use the [mssql-server-linux container image](https://hub.docker.com/_/microsoft-mssql-server) with Docker.
19+
20+
For other deployment scenarios, see:
21+
22+
- [Windows](../database-engine/install-windows/install-sql-server.md)
23+
- [Linux](../linux/sql-server-linux-setup.md)
24+
- [Kubernetes - Big Data Clusters](../big-data-cluster/deploy-get-started.md)
25+
26+
This image consists of SQL Server running on Linux based on Ubuntu 16.04. It can be used with the Docker Engine 1.8+ on Linux or on Docker for Mac/Windows.
1927

2028
> [!NOTE]
2129
> This article specifically focuses on using the mssql-server-linux image. The Windows image is not covered, but you can learn more about it on the [mssql-server-windows Docker Hub page](https://hub.docker.com/r/microsoft/mssql-server-windows-developer/).

docs/linux/sql-server-linux-setup.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,14 @@ ms.assetid: 565156c3-7256-4e63-aaf0-884522ef2a52
1717

1818
This article provides guidance for installing, updating, and uninstalling SQL Server 2017 and SQL Server 2019 on Linux.
1919

20+
For other deployment scenarios, see:
21+
22+
- [Windows](../database-engine/install-windows/install-sql-server.md)
23+
- [Docker containers](../linux/sql-server-linux-configure-docker.md)
24+
- [Kubernetes - Big Data Clusters](../big-data-cluster/deploy-get-started.md)
25+
2026
> [!TIP]
21-
> This guide coves several deployment scenarios. If you are only looking for step-by-step installation instructions, jump to one of the quickstarts:
27+
> This guide covers several deployment scenarios. If you are only looking for step-by-step installation instructions, jump to one of the quickstarts:
2228
> - [RHEL quickstart](quickstart-install-connect-red-hat.md)
2329
> - [SLES quickstart](quickstart-install-connect-suse.md)
2430
> - [Ubuntu quickstart](quickstart-install-connect-ubuntu.md)

docs/relational-databases/performance/best-practice-with-the-query-store.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ ALTER DATABASE [QueryStoreDB]
6565
SET QUERY_STORE (MAX_STORAGE_SIZE_MB = 1024);
6666
```
6767

68-
**Data Flush Interval (Minutes)**: Defines the frequency in seconds to persist collected runtime statistics to disk. The default is 900 seconds, which is 15 minutes. Consider using a higher value if your workload doesn't generate a large number of different queries and plans, or if you can withstand longer time to persist data before a database shutdown.
68+
**Data Flush Interval (Minutes)**: It defines the frequency to persist collected runtime statistics to disk. It's expressed in minutes in the graphical user interface (GUI), but in [!INCLUDE[tsql](../../includes/tsql-md.md)] it's expressed in seconds. The default is 900 seconds, which is 15 minutes in the graphical user interface. Consider using a higher value if your workload doesn't generate a large number of different queries and plans, or if you can withstand longer time to persist data before a database shutdown.
6969

7070
> [!NOTE]
7171
> Using trace flag 7745 prevents Query Store data from being written to disk in case of a failover or shutdown command. For more information, see the [Use trace flags on mission-critical servers to improve recovery from disaster](#Recovery) section.
@@ -77,14 +77,14 @@ ALTER DATABASE [QueryStoreDB]
7777
SET QUERY_STORE (DATA_FLUSH_INTERVAL_SECONDS = 900);
7878
```
7979

80-
**Statistics Collection Interval**: Defines the level of granularity for the collected runtime statistic. The default is 60 minutes. Consider using a lower value if you require finer granularity or less time to detect and mitigate issues. Keep in mind that the value directly affects the size of Query Store data. Use [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] or [!INCLUDE[tsql](../../includes/tsql-md.md)] to set a different value for **Statistics Collection Interval**:
80+
**Statistics Collection Interval**: Defines the level of granularity for the collected runtime statistic, expressed in minutes. The default is 60 minutes. Consider using a lower value if you require finer granularity or less time to detect and mitigate issues. Keep in mind that the value directly affects the size of Query Store data. Use [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] or [!INCLUDE[tsql](../../includes/tsql-md.md)] to set a different value for **Statistics Collection Interval**:
8181

8282
```sql
8383
ALTER DATABASE [QueryStoreDB]
8484
SET QUERY_STORE (INTERVAL_LENGTH_MINUTES = 60);
8585
```
8686

87-
**Stale Query Threshold (Days)**: Time-based cleanup policy that controls the retention period of persisted runtime statistics and inactive queries. By default, Query Store is configured to keep the data for 30 days, which might be unnecessarily long for your scenario.
87+
**Stale Query Threshold (Days)**: Time-based cleanup policy that controls the retention period of persisted runtime statistics and inactive queries, expressed in days. By default, Query Store is configured to keep the data for 30 days, which might be unnecessarily long for your scenario.
8888

8989
Avoid keeping historical data that you don't plan to use. This practice reduces changes to read-only status. The size of Query Store data and the time to detect and mitigate the issue will be more predictable. Use [!INCLUDE[ssManStudio](../../includes/ssmanstudio-md.md)] or the following script to configure time-based cleanup policy:
9090

docs/relational-databases/system-dynamic-management-views/sql-and-parallel-data-warehouse-dynamic-management-views.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ monikerRange: ">= aps-pdw-2016 || = azure-sqldw-latest || = sqlallproducts-allve
1616
# SQL and Parallel Data Warehouse Dynamic Management Views
1717
[!INCLUDE[tsql-appliesto-xxxxxx-xxxx-asdw-pdw-md](../../includes/tsql-appliesto-xxxxxx-xxxx-asdw-pdw-md.md)]
1818

19-
This topic lists the [!INCLUDE[ssSDW](../../includes/sssdw-md.md)] and [!INCLUDE[ssPDW](../../includes/sspdw-md.md)] dynamic management views (DMVs).
19+
This topic lists the [!INCLUDE[ssSDW](../../includes/sssdw-md.md)] and [!INCLUDE[ssPDW](../../includes/sspdw-md.md)] dynamic management views (DMVs).
2020

2121
All [!INCLUDE[ssSDW](../../includes/sssdw-md.md)] and [!INCLUDE[ssPDW](../../includes/sspdw-md.md)] DMVs begin with **sys.dm_pdw**.
2222

@@ -58,7 +58,19 @@ monikerRange: ">= aps-pdw-2016 || = azure-sqldw-latest || = sqlallproducts-allve
5858
[sys.dm_pdw_wait_stats (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-wait-stats-transact-sql.md)
5959

6060
[sys.dm_pdw_waits (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-waits-transact-sql.md)
61-
61+
62+
## SQL Data Warehouse Dynamic Management Views
63+
[sys.dm_pdw_nodes_exec_query_plan (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-nodes-exec-query-plan-transact-sql.md)
64+
65+
[sys.dm_pdw_nodes_exec_query_profiles (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-nodes-exec-query-profiles-transact-sql.md)
66+
67+
[sys.dm_pdw_nodes_exec_query_statistics_xml (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-nodes-exec-query-statistics-xml-transact-sql.md)
68+
69+
[sys.dm_pdw_nodes_exec_sql-text (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-nodes-exec-sql-text-transact-sql.md)
70+
71+
[sys.dm_pdw_nodes_exec_text_query_plan (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-nodes-exec-text-query-plan-transact-sql.md)
72+
73+
6274
## [!INCLUDE[ssPDW](../../includes/sspdw-md.md)] Dynamic Management Views
6375
The following dynamic management views apply to [!INCLUDE[ssPDW](../../includes/sspdw-md.md)] only:
6476

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: "sys.dm_pdw_nodes_exec_query_plan (Transact-SQL) | Microsoft Docs"
3+
description: Dynamic management view that returns the Showplan in XML format for the batch specified by the plan handle. The plan specified by the plan handle can either be cached or currently executing.
4+
ms.custom: ""
5+
ms.date: "10/14/2019"
6+
ms.prod: sql
7+
ms.technology: data-warehouse
8+
ms.reviewer: ""
9+
ms.topic: "language-reference"
10+
dev_langs:
11+
- "TSQL"
12+
ms.assetid:
13+
author: XiaoyuMSFT
14+
ms.author: xiaoyul
15+
monikerRange: "=azure-sqldw-latest || = sqlallproducts-allversions"
16+
---
17+
18+
# sys.pdw_nodes_dm_exec_query_plan (Transact-SQL)
19+
[!INCLUDE[tsql-appliesto-xxxxxx-xxxx-asdw-xxx-md](../../includes/tsql-appliesto-xxxxxx-xxxx-asdw-xxx-md.md)]
20+
21+
Returns the Showplan in XML format for the batch specified by the plan handle. The plan specified by the plan handle can either be cached or currently executing.
22+
23+
## Table returned
24+
25+
|Column name|Data type|Description|
26+
|-----------------|---------------|-----------------|
27+
|**pdw_node_id**|**int**|Unique numeric ID associated with the node.|
28+
|**dbid**|**smallint**|ID of the context database that was in effect when the [!INCLUDE[tsql](../../includes/tsql-md.md)] statement corresponding to this plan was compiled. For unplanned and prepared SQL statements, the ID of the database where the statements were compiled.<br /><br /> Column is nullable.|
29+
|**objectid**|**int**|ID of the object (for example, stored procedure or user-defined function) for this query plan. For ad hoc and prepared batches, this column is **null**.<br /><br /> Column is nullable.|
30+
|**number**|**smallint**|Numbered stored procedure integer. For ad hoc and prepared batches, this column is **null**.<br /><br /> Column is nullable.|
31+
|**encrypted**|**bit**|Indicates whether the corresponding stored procedure is encrypted.<br /><br /> 0 = not encrypted<br /><br /> 1 = encrypted<br /><br /> Column is not nullable.|
32+
|**query_plan**|**xml**|Contains the compile-time Showplan representation of the query execution plan that is specified with *plan_handle*. The Showplan is in XML format. One plan is generated for each batch that contains, for example ad hoc [!INCLUDE[tsql](../../includes/tsql-md.md)] statements, stored procedure calls, and user-defined function calls.<br /><br /> Column is nullable.|
33+
34+
## Remarks
35+
The same remarks in [sys.dm_exec_query_plan](https://docs.microsoft.com/sql/relational-databases/system-dynamic-management-views/sys-dm-exec-query-plan-transact-sql?view=sql-server-ver15) apply.
36+
37+
## Permissions
38+
Require **sysadmin** server role or `VIEW SERVER STATE` permission on the server.
39+
40+
## See also
41+
[SQL Data Warehouse and Parallel Data Warehouse Dynamic Management Views &#40;Transact-SQL&#41;](../../relational-databases/system-dynamic-management-views/sql-and-parallel-data-warehouse-dynamic-management-views.md)
42+
43+
## Next steps
44+
For more development tips, see [SQL Data Warehouse development overview](https://docs.microsoft.com/azure/sql-data-warehouse/sql-data-warehouse-overview-develop).

0 commit comments

Comments
 (0)