Skip to content

Commit 1410f42

Browse files
Merge branch 'release-sqlseattle' of https://github.com/MicrosoftDocs/sql-docs-pr into vnext
2 parents 13ceb6d + 8ce9928 commit 1410f42

11 files changed

Lines changed: 44 additions & 35 deletions

File tree

docs/advanced-analytics/r/sql-server-r-services.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
title: R Services in SQL Server 2016 | Microsoft Docs
3-
description: Overview introduction to SQL Server Services, R support for in-database analytics
3+
description: R in SQL Server for integrated R tasks on relational data, including data science and statistical modeling, predictive analytics, data visualization and more.
44
ms.prod: sql
55
ms.technology: machine-learning
66

7-
ms.date: 08/27/2018
7+
ms.date: 09/10/2018
88
ms.topic: overview
99
author: HeidiSteen
1010
ms.author: heidist
@@ -13,12 +13,15 @@ manager: cgronlun
1313
# R Services in SQL Server 2016
1414
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-winonly](../../includes/appliesto-ss-xxxx-xxxx-xxx-md-winonly.md)]
1515

16-
SQL Server 2016 R Services is an add-on to a database engine instance, used for executing R code and functions on SQL Server. Code runs in an extensibility framework, isolated from core engine processes, but fully available to relational data as stored procedures, as T-SQL script containing R statements, or as R code containing T-SQL.
16+
R Services is an add-on to a SQL Server 2016 database engine instance, used for executing R code and functions on SQL Server. Code runs in an extensibility framework, isolated from core engine processes, but fully available to relational data as stored procedures, as T-SQL script containing R statements, or as R code containing T-SQL.
1717

1818
R Services includes a base distribution of R, overlaid with enterprise R packages from Microsoft so that you can load and process large amounts of data on multiple cores and aggregate the results into a single consolidated output. Microsoft's R functions and algorithms are engineered for both scale and utility: delivering predictive analytics, statistical modeling, data visualizations, and leading-edge machine learning algorithms in a commercial server product engineered and supported by Microsoft.
1919

2020
R libraries include RevoScaleR, MicrosoftML, and others. Because R Services is integrated with the database engine, you can keep analytics close to the data and eliminate the costs and security risks associated with data movement.
2121

22+
> [!Note]
23+
> R Services was renamed in SQL Server 2017 to [SQL Server Machine Learning Services](../what-is-sql-server-machine-learning.md), reflecting the addition of Python.
24+
2225
## Components
2326

2427
SQL Server 2016 is R only. The following table describes the features in SQL Server 2016.
@@ -36,7 +39,7 @@ SQL Server 2016 is R only. The following table describes the features in SQL Ser
3639

3740
Developers and analysts often have code running on top of a local SQL Server instance. By adding Machine Learning Services and enabling external script execution, you gain the ability to run R code in SQL Server modalities: wrapping script in stored procedures, storing models in a SQL Server table, or combining T-SQL and R functions in queries.
3841

39-
The most common approach for in-database analytics is to use [sp_execute_external_script](../../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md), passing Rscript as an input parameter.
42+
The most common approach for in-database analytics is to use [sp_execute_external_script](../../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md), passing R script as an input parameter.
4043

4144
Classic client-server interactions are another approach. From any client workstation that has an IDE, you can install [Microsoft R Client](https://docs.microsoft.com/machine-learning-server/r-client/what-is-microsoft-r-client), and then write code that pushes execution (referred to as a *remote compute context*) to data and operations to a remote SQL Server.
4245

docs/advanced-analytics/tutorials/deepdive-data-science-deep-dive-using-the-revoscaler-packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ You should also be comfortable with [!INCLUDE[tsql](../../includes/tsql-md.md)]
6969

7070
R developers typically use IDEs for writing and debugging R code. Here are some suggestions:
7171

72-
- **R Tools for Visual Studio** (RTVS) is a free plug-in that provides Intellisense, debugging, and support for Microsoft R. YOu can use it with both R Server and SQL Server Machine Learning Services. To download, see [R Tools for Visual Studio](https://www.visualstudio.com/vs/rtvs/).
72+
- **R Tools for Visual Studio** (RTVS) is a free plug-in that provides Intellisense, debugging, and support for Microsoft R. You can use it with both R Server and SQL Server Machine Learning Services. To download, see [R Tools for Visual Studio](https://www.visualstudio.com/vs/rtvs/).
7373

7474
- **RStudio** is one of the more popular environments for R development. For more information, see [https://www.rstudio.com/products/RStudio/](https://www.rstudio.com/products/RStudio/).
7575

docs/advanced-analytics/what-is-sql-server-machine-learning.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
2-
title: Machine Learning Services in SQL Server | Microsoft Docs
3-
description: Overview introduction to SQL Server 2017 Machine Learning Services, R and Python support for in-database analytics
2+
title: R and Python Machine Learning Services in SQL Server | Microsoft Docs
3+
description: R in SQL Server and Python in SQL Server, integrating with relational data for data science and statistical modeling, machine learning models, predictive analytics, data visualization and more.
44
ms.prod: sql
55
ms.technology: machine-learning
66

7-
ms.date: 08/27/2018
7+
ms.date: 09/10/2018
88
ms.topic: overview
99
author: HeidiSteen
1010
ms.author: heidist
1111
manager: cgronlun
1212
---
13-
# Machine Learning Services in SQL Server 2017
13+
# Machine Learning Services (R, Python) in SQL Server 2017
1414
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-winonly](../includes/appliesto-ss-xxxx-xxxx-xxx-md-winonly.md)]
1515

1616
SQL Server 2017 Machine Learning Services is an add-on to a database engine instance, used for executing R and Python code on SQL Server. Code runs in an extensibility framework, isolated from core engine processes, but fully available to relational data as stored procedures, as T-SQL script containing R or Python statements, or as R or Python code containing T-SQL.
1717

18-
If you previously used SQL Server 2016 R Services, Machine Learning Services in SQL Server 2017 is the next generation of R support, with updated versions of base R, RevoScaleR, MicrosoftML, and other libraries introduced in 2016.
18+
If you previously used [SQL Server 2016 R Services](r/sql-server-r-services.md), Machine Learning Services in SQL Server 2017 is the next generation of R support, with updated versions of base R, RevoScaleR, MicrosoftML, and other libraries introduced in 2016.
1919

2020
The key value proposition of Machine Learning Services is the power of its enterprise R and Python packages to deliver advanced analytics at scale, and the ability to bring calculations and processing to where the data resides, eliminating the need to pull data across the network.
2121

docs/analytics-platform-system/appliance-feature-switch.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@ ms.author: "murshedz"
1111
ms.reviewer: "martinle"
1212
monikerRange: ">= aps-pdw-2016-au7 || = sqlallproducts-allversions"
1313
---
14-
#Appliance Feature Switch
15-
The **Feature Switch** page displays information about the two feature switches that are introduced in Analytics Platform System 2016-AU7. Use this page to update or enable/disable features and settings in Analytics Platform System. Changing feature switch values requires a service restart.
14+
#Appliance Feature Switches
15+
The **Feature Switch** page displays information about the feature switches that are being introduced in Analytics Platform System AU7 and later. Use this configuration page to update or enable/disable features and settings in Analytics Platform System. Changes to feature switch values require a service restart.
1616

1717
![DWConig Appliance Feature Switch](media/feature-switch/SQL_Server_PDW_DWConfig_feature_switch.png "DWConig Appliance Feature Switch")
1818

19-
##AutoStatsEnabled Switch
19+
##AutoStatsEnabled
2020
Controls the auto statistics feature. This feature switch is set to true by default after upgrading to AU7. Any database created after the upgrade will inherit auto creation and asynchronous update of statistics. For existing databases, database administrators can enable auto statistics with [ALTER DATABASE (Parallel Data Warehouse)](../t-sql/statements/alter-database-transact-sql.md?tabs=sqlpdw). For more information on statistics, see [Statistics](../relational-databases/statistics/statistics.md).
2121

22-
##DmsProcessStopMessageTimeoutInSeconds Switch
22+
##UseCatalogQueries
23+
Using catalog objects for some metadata calls instead of using SMO has shown performance improvement. Set to true by default in CU7.1, this switch controls that behavior.
24+
25+
##DmsProcessStopMessageTimeoutInSeconds
2326
Controls the time Data Movement Service (DMS) waits to synchronize on a busy system when a query involving data movement is cancelled. Updating to AU7 sets this value to 900 seconds (15 minutes) by default. The valid range is 0 – 3600 seconds.
23.5 KB
Loading

docs/connect/odbc/using-always-encrypted-with-the-odbc-driver.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
22
title: "Using Always Encrypted with the ODBC Driver for SQL Server | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "10/01/2018"
4+
ms.date: 09/01/2018
55
ms.prod: sql
6-
ms.prod_service: connectivity
7-
ms.reviewer: ""
86
ms.suite: "sql"
97
ms.technology: connectivity
108
ms.tgt_pltfrm: ""

docs/database-engine/availability-groups/windows/replicate-track-change-data-capture-always-on-availability.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Replication, Change Tracking, & Change Data Capture - Availability Groups | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "04/25/2018"
4+
ms.date: "08/21/2018"
55
ms.prod: sql
66
ms.reviewer: ""
77
ms.suite: "sql"
@@ -39,7 +39,7 @@ manager: craigg
3939
### <a name="Changes"></a> General changes to replication agents to support availability groups
4040
Three replication agents were modified to support [!INCLUDE[ssHADR](../../../includes/sshadr-md.md)]. The Log Reader, Snapshot, and Merge agents were modified to query the distribution database for the redirected publisher and to use the returned availability group listener name, if a redirected publisher was declared, to connect to the database publisher.
4141

42-
By default, when the agents query the distributor to determine whether the original publisher has been redirected, the suitability of the current target or redirection will be verified prior to returning the redirected host to the agent. This is recommended behavior. However, if agent start up occurs very frequently the overhead associated with the validation stored procedure may be deemed too costly. A new command line switch, *BypassPublisherValidation*, has been added to the Logreader, Snapshot, and Merge agents. When the switch is used, the redirected publisher is returned immediately to the agent and execution of the validation stored procedure is bypassed.
42+
By default, when the agents query the distributor to determine whether the original publisher has been redirected, the suitability of the current target or redirection will be verified prior to returning the redirected host to the agent. This is recommended behavior. However, if agent startup occurs very frequently the overhead associated with the validation stored procedure may be deemed too costly. A new command-line switch, *BypassPublisherValidation*, has been added to the Logreader, Snapshot, and Merge agents. When the switch is used, the redirected publisher is returned immediately to the agent and execution of the validation stored procedure is bypassed.
4343

4444
Failures returned from the validation stored procedure are logged in the agent history logs. Those errors with severity greater than or equal to 16 will cause the agents to terminate. Some retry capabilities have been built in to the agents to handle the expected disconnect from a published database when it fails over to a new primary.
4545

@@ -54,7 +54,7 @@ manager: craigg
5454

5555
- **Trace flag 1448**
5656

57-
Trace flag 1448 enables the replication log reader to move forward even if the asynchronous secondary replicas have not acknowledged the reception of a change. Even with this trace flag enabled,, the log reader always waits for the synchronous secondary replicas. The log reader will not go beyond the min ack of the synchronous secondary replicas. This trace flag applies to the instance of [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)], not just to an availability group, an availability database, or a log reader instance. This trace flag takes effect immediately without a restart. It can be activated ahead of time or when an asynchronous secondary replica fails.
57+
Trace flag 1448 enables the replication log reader to move forward even if the asynchronous secondary replicas have not acknowledged the reception of a change. Even with this trace flag enabled, the log reader always waits for the synchronous secondary replicas. The log reader will not go beyond the min ack of the synchronous secondary replicas. This trace flag applies to the instance of [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)], not just to an availability group, an availability database, or a log reader instance. This trace flag takes effect immediately without a restart. It can be activated ahead of time or when an asynchronous secondary replica fails.
5858

5959
### <a name="StoredProcs"></a> Stored procedures supporting availability groups
6060

@@ -137,9 +137,9 @@ manager: craigg
137137

138138
- **Redirecting the Query Load to a Readable Secondary Replica**
139139

140-
While in many cases a client application will always want to connect to the current primary replica that is not the only way to leverage [!INCLUDE[ssHADR](../../../includes/sshadr-md.md)]. If an availability group is configured to support readable secondary replicas, change data can also be gathered from secondary nodes.
140+
While in many cases a client application will always want to connect to the current primary replica, that is not the only way to leverage [!INCLUDE[ssHADR](../../../includes/sshadr-md.md)]. If an availability group is configured to support readable secondary replicas, change data can also be gathered from secondary nodes.
141141

142-
When an availability group is configured, the ALLOW_CONNECTIONS attribute associated with the SECONDARY_ROLE is used to specify the type of secondary access supported. If configured as ALL, all connections to the secondary will be allowed, but only those requiring read only access will succeed. If configured as READ_ONLY, it is necessary to specify read only intent when making the connection to the secondary database in order for the connection to succeed. For more information, see [Configure Read-Only Access on an Availability Replica &#40;SQL Server&#41;](../../../database-engine/availability-groups/windows/configure-read-only-access-on-an-availability-replica-sql-server.md).
142+
When an availability group is configured, the ALLOW_CONNECTIONS attribute associated with the SECONDARY_ROLE is used to specify the type of secondary access supported. If configured as ALL, all connections to the secondary will be allowed, but only those requiring read-only access will succeed. If configured as READ_ONLY, it is necessary to specify read only intent when making the connection to the secondary database in order for the connection to succeed. For more information, see [Configure Read-Only Access on an Availability Replica &#40;SQL Server&#41;](../../../database-engine/availability-groups/windows/configure-read-only-access-on-an-availability-replica-sql-server.md).
143143

144144
The following query can be used to determine whether read-only intent is needed to connect to a readable secondary replica.
145145

@@ -205,12 +205,10 @@ If Change Data Capture needs to be disabled on a database which is part of an Al
205205
|||||
206206
|-|-|-|-|
207207
||**Publisher**|**Distributor***\*|**Subscriber**|
208-
|**Transactional**|Yes<br /><br /> Note: Does not include support for bi-directional and reciprocal transactional replication.|No|Yes|
208+
|**Transactional**|Yes<br /><br /> Note: Does not include support for bi-directional and reciprocal transactional replication.|Yes|Yes|
209209
|**P2P**|No|No|No|
210-
|**Merge**|Yes|No|Yes*|
211-
|**Snapshot**|Yes|No|Yes*|
212-
213-
*Failover to the replica database is a manual procedure. Automatic failover is not provided.
210+
|**Merge**|Yes|No|No|
211+
|**Snapshot**|Yes|No|Yes|
214212

215213
**The Distributor database is not supported for use with database mirroring.
216214

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ layout: HubPage
33
hide_bc: true
44
title: Microsoft SQL Documentation | Microsoft Docs
55
description: Learn about SQL
6+
ms.date: 09/01/2018
67
author: craigg-msft
78
ms.author: craigg
89
ms.topic: conceptual

docs/relational-databases/databases/model-database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ manager: craigg
4343
|Primary data|modeldev|model.mdf|Autogrow by 64 MB until the disk is full.|
4444
|Log|modellog|modellog.ldf|Autogrow by 64 MB to a maximum of 2 terabytes.|
4545

46-
For versions before [!INCLUDE[ssSQL15](../../includes/sssql15-md.md)], see [model Database](model-database.md)for default file growth values.
46+
For versions before [!INCLUDE[ssSQL15](../../includes/sssql15-md.md)], see [model Database](../../2014/relational-databases/databases/model-database.md) for default file growth values.
4747

4848
To move the **model** database or log files, see [Move System Databases](../../relational-databases/databases/move-system-databases.md).
4949

0 commit comments

Comments
 (0)