Skip to content

Commit ce320a0

Browse files
author
stevestein
committed
Merge branch 'release-sqlseattle' of https://github.com/MicrosoftDocs/sql-docs-pr into release-ads
2 parents 445992a + ea70dbe commit ce320a0

196 files changed

Lines changed: 9490 additions & 1770 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openpublishing.redirection.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "docs/relational-databases/polybase/get-started-with-polybase.md",
5+
"redirect_url": "/sql/relational-databases/polybase/polybase-guide",
6+
"redirect_document_id": false
7+
},
38
{
49
"source_path": "docs/advanced-analytics/architecture-overview-machine-learning.md",
510
"redirect_url": "/sql/advanced-analytics/concepts/extensibility-framework",
@@ -1906,16 +1911,6 @@
19061911
"redirect_url": "/sql/database-engine/configure-windows/what-s-new-in-sql-server-2017-database-engine",
19071912
"redirect_document_id": true
19081913
},
1909-
{
1910-
"source_path": "docs/sql-server/sql-server-vnext-release-notes.md",
1911-
"redirect_url": "/sql/sql-server/sql-server-2017-release-notes",
1912-
"redirect_document_id": true
1913-
},
1914-
{
1915-
"source_path": "docs/sql-server/what-s-new-in-sql-server-vnext.md",
1916-
"redirect_url": "/sql/sql-server/what-s-new-in-sql-server-2017",
1917-
"redirect_document_id": true
1918-
},
19191914
{
19201915
"source_path": "docs/integration-services/what-s-new-in-integration-services-in-sql-server-vnext.md",
19211916
"redirect_url": "/sql/integration-services/what-s-new-in-integration-services-in-sql-server-2017",

docs/2014/relational-databases/replication/agents/replication-snapshot-agent.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Replication Snapshot Agent | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "06/13/2017"
4+
ms.date: "09/07/2018"
55
ms.prod: "sql-server-2014"
66
ms.reviewer: ""
77
ms.suite: ""
@@ -56,7 +56,8 @@ manager: craigg
5656
[-MaxNetworkOptimization [0|1]]
5757
[-Outputoutput_path_and_file_name]
5858
[-OutputVerboseLevel [0|1|2] ]
59-
[-PacketSizepacket_size]
59+
[-PacketSizepacket_size]
60+
[-PrefetchTables [0|1] ]
6061
[-ProfileNameprofile_name]
6162
[-PublisherDBpublisher_database]
6263
[-PublisherDeadlockPriority [-1|0|1] ]
@@ -188,6 +189,14 @@ manager: craigg
188189
|**0**|Only error messages are printed.|
189190
|**1** (default)|All the progress report messages are printed (default).|
190191
|**2**|All error messages and progress report messages are printed, which is useful for debugging.|
192+
193+
**-PrefetchTables** [ **0**| **1**]
194+
Optional parameter that specifies if the table objects will be prefetched and cached. The default behavior is to prefetch certain table properties using SMO component based on an internal calculation. This parameter can be helpful in scenarions where SMO prefetch operation takes considerable longer to run. If this parameter is not used, this decision is made at runtime based on the percentage of tables that are added as articles to the publication.
195+
196+
|OutputVerboseLevel value|Description|
197+
|------------------------------|-----------------|
198+
|**0**|Call to Prefetch method of SMO component is disabled.|
199+
|**1**|Snapshot Agent will call Prefetch method to cache some table properties using SMO|
191200

192201
**-PacketSize** *packet_size*
193202
Is the packet size (in bytes) used by the Snapshot Agent when connecting to [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)]. The default value is 8192 bytes.

docs/advanced-analytics/general/sql-server-launchpad-service-account.md

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,37 @@ manager: cgronlun
1313
# SQL Server Launchpad service configuration
1414
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-winonly](../../includes/appliesto-ss-xxxx-xxxx-xxx-md-winonly.md)]
1515

16-
A separate [!INCLUDE[rsql_launchpad_md](../../includes/rsql-launchpad-md.md)] service is created for database engine instance to which you have added SQL Server machine learning (R or Python) integration.
16+
A separate [!INCLUDE[rsql_launchpad_md](../../includes/rsql-launchpad-md.md)] service is created for each database engine instance to which you have added SQL Server machine learning (R or Python) integration.
1717

18-
## Service account configuration
18+
## Account permissions
1919

2020
By default, SQL Server Launchpad is configured to run under **NT Service\MSSQLLaunchpad**, which is provisioned with all necessary permissions to run external scripts. Stripping permissions from this account can result in Launchpad failing to start or to access the SQL Server instance where external scripts should be run.
2121

22-
Permission required for this account are listed below. If you modify the service account, be sure to use the **Local Security Policy** application to include these permissions:
22+
If you modify the service account, be sure to use the **Local Security Policy** application (**All apps** > **Windows Administrative Tools** > **Local Security Policy**).
2323

24-
+ Adjust memory quotas for a process (SeIncreaseQuotaPrivilege)
25-
+ Bypass traverse checking (SeChangeNotifyPrivilege)
26-
+ Log on as a service (SeServiceLogonRight)
27-
+ Replace a process-level token (SeAssignPrimaryTokenPrivilege)
24+
Permissions required for this account are listed in the following table.
25+
26+
| Group policy setting | Constant name |
27+
|----------------------|---------------|
28+
| [Adjust memory quotas for a process](https://docs.microsoft.com/windows/security/threat-protection/security-policy-settings/adjust-memory-quotas-for-a-process) | SeIncreaseQuotaPrivilege |
29+
| [Bypass traverse checking](https://docs.microsoft.com/windows/security/threat-protection/security-policy-settings/bypass-traverse-checking) | SeChangeNotifyPrivilege |
30+
| [Log on as a service](https://docs.microsoft.com/windows/security/threat-protection/security-policy-settings/log-on-as-a-service) | SeServiceLogonRight |
31+
| [Replace a process-level token](https://docs.microsoft.com/windows/security/threat-protection/security-policy-settings/replace-a-process-level-token) | SeAssignPrimaryTokenPrivilege |
2832

2933
For more information about permissions required to run SQL Server services, see [Configure Windows Service Accounts and Permissions](../../database-engine/configure-windows/configure-windows-service-accounts-and-permissions.md).
3034

3135
<a name="bkmk_ChangingConfig"></a>
3236

3337
## Configuration properties
3438

39+
Typically, there is no reason to modify service configuration. Properties that could be changed include the service account, the count of external processes (20 by default), or the password reset policy for worker accounts.
40+
3541
1. Open [SQL Server Configuration Manager](../../relational-databases/sql-server-configuration-manager.md).
3642

37-
2. Right-click SQL Server Launchpad and select **Properties**.
43+
+ On the Start page, enter **MMC** to open the Microsoft Management Console.
44+
+ On **File** > **Add/Remove Snap-in**, move **SQL Server Configuration Manager** from Available to Selected Snap-ins.
45+
46+
2. In SQL Server Configuration Manager under SQL Server Services, right-click SQL Server Launchpad and select **Properties**.
3847

3948
+ To change the service account, click the **Log On** tab.
4049

@@ -43,7 +52,7 @@ For more information about permissions required to run SQL Server services, see
4352
> [!Note]
4453
> In early versions of SQL Server 2016 R Services, you could change some properties of the service by editing the [!INCLUDE[rsql_productname](../../includes/rsql-productname-md.md)] configuration file. This file is no longer used for changing configurations. SQL Server Configuration Manager is the right approach for changes to service configuration, such as the service account and number of users.
4554
46-
#### Debug settings
55+
## Debug settings
4756

4857
A few properties can only be changed by using the Launchpad's configuration file, which might be useful in limited cases, such as debugging. The configuration file is created during [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] setup and by default is saved as a plain text file in the following location: `<instance path>\binn\rlauncher.config`
4958

docs/advanced-analytics/index.md

Lines changed: 56 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,56 @@
1-
---
2-
redirect_url: /sql/advanced-analytics/what-is-sql-server-machine-learning
3-
---
1+
---
2+
title: SQL Server programming extensions product documentation | Microsoft Docs
3+
ms.prod: sql
4+
ms.technology: machine-learning
5+
6+
ms.date: 09/10/2018
7+
ms.topic: overview
8+
author: HeidiSteen
9+
ms.author: heidist
10+
manager: cgronlun
11+
monikerRange: ">=sql-server-2016||=sqlallproducts-allversions"
12+
---
13+
14+
# SQL Server Programming Extensions Documentation
15+
16+
Learn how to use external libraries and languages on resident, relational data with our quickstarts, tutorials, and how-to articles.
17+
R and Python libraries in [SQL Server machine learning](what-is-sql-server-machine-learning.md) include base distributions, machine learning algorithms, and functions for conducting high-performance analytics at scale, without having to transfer data across the network.
18+
19+
Java code execution uses the same extensibility framework as R and Python, but does not include data science and machine learning function libraries.
20+
21+
| | |
22+
|---|---|-
23+
| ![R logo](./media/index/logo_r.png) | Open-source R, extended with [RevoScaleR](https://docs.microsoft.com/machine-learning-server/r-reference/revoscaler/revoscaler) and Microsoft AI algorithms in [MicrosoftML](https://docs.microsoft.com/machine-learning-server/r-reference/microsoftml/microsoftml-package). These libraries give you forecasting and prediction models, statistical analysis, visualization, and data manipulation at scale. <br/>R integration starts in [SQL Server 2016](./install/sql-r-services-windows-install.md) and is also in [SQL Server 2017](./install/sql-machine-learning-services-windows-install.md). |
24+
| ![Python logo](./media/index/logo_python.png) | Python developers can use Microsoft [revoscalepy](https://docs.microsoft.com/machine-learning-server/python-reference/revoscalepy/revoscalepy-package) and [microsoftml](https://docs.microsoft.com/machine-learning-server/python-reference/microsoftml/microsoftml-package) libraries for predictive analytics and machine learning at scale. Anaconda and Python 3.5-compatible libraries are the baseline distribution. <br/>Python integration starts in [SQL Server 2017](./install/sql-machine-learning-services-windows-install.md). |
25+
| ![Java logo](./media/index/logo_java.png) | Java developers can use the [Java language extension](java/extension-java.md) to wrap code in stored procedures or in a binary format accessible through Transact-SQL. <br/>Java integration is currently [SQL Server 2019 only](./install/sql-machine-learning-services-ver15.md). |
26+
27+
## 5-Minute Quickstarts
28+
29+
+ [Create a predictive model in R](./tutorials/rtsql-create-a-predictive-model-r.md)
30+
31+
+ [Predict and plot from model using R](./tutorials/rtsql-predict-and-plot-from-model.md)
32+
33+
34+
## Step-by-Step Tutorials
35+
36+
+ [How to add machine learning and extensibility framework to SQL Server](install/sql-machine-learning-services-windows-install.md)
37+
38+
+ [How to execute R from T-SQL and stored procedures](./tutorials/sqldev-in-database-r-for-sql-developers.md)
39+
40+
+ [How to use embedded analytics in Python](./tutorials/sqldev-in-database-python-for-sql-developers.md)
41+
42+
43+
## Video Introduction
44+
45+
> [!VIDEO https://www.youtube.com/embed/ACejZ9optCQ]
46+
47+
## Reference
48+
49+
| Package | Language | Description |
50+
|---------|----------|-------------|
51+
| [RevoScaleR](https://docs.microsoft.com/machine-learning-server/r-reference/revoscaler/revoscaler) | R | Distributed and parallel processing for R tasks: data transformation, exploration, visualization, statistical and predictive analytics. |
52+
| [MicrosoftML](https://docs.microsoft.com/machine-learning-server/r-reference/microsoftml/microsoftml-package) | R | Functions based on Microsoft's AI algorithms, adapted for R. |
53+
| [olapR](https://docs.microsoft.com/machine-learning-server/r-reference/olapr/olapr) | R | Imports data from OLAP cube.s |
54+
| [sqlRUtils]() | R | Helper functions for encapsulating R and T-SQL. |
55+
[revoscalepy](https://docs.microsoft.com/machine-learning-server/python-reference/revoscalepy/revoscalepy-package) | Python | Distributed and parallel processing for Python tasks: data transformation, exploration, visualization, statistical and predictive analytics. |
56+
| [microsoftml](https://docs.microsoft.com/machine-learning-server/python-reference/microsoftml/microsoftml-package) | Python | Functions based on Microsoft's AI algorithms, adapted for Python. |
72.3 KB
Loading
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: Differences in SQL Server 2019 Machine Learning Services installation | Microsoft Docs
3+
ms.prod: sql
4+
ms.technology: machine-learning
5+
ms.date: 09/07/2018
6+
ms.topic: conceptual
7+
author: MashaMSFT
8+
ms.author: mathoma
9+
manager: craigg
10+
monikerRange: ">=sql-server-ver15||=sqlallproducts-allversions"
11+
---
12+
# Differences in SQL Server Machine Learning Services installation in SQL Server 2019
13+
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-winonly](../../includes/appliesto-ss-xxxx-xxxx-xxx-md-winonly.md)]
14+
15+
On Windows, SQL Server 2019 Setup fundamentally changes the security and isolation mechanism for external processes running Java, R, or Python tasks. If you are adding programming language extensions or machine learning to a database engine instance, this article explains how Setup provisions an authorization model for accessing data and operations.
16+
17+
While isolation and security are changing, the mechanics of installation remain the same. If you installed the previous version, you'll notice that the Installation wizard and command-line parameters are unchanged in SQL Server 2019. For help with installation, see [Install SQL Server Machine Learning Services](sql-machine-learning-services-windows-install.md).
18+
19+
## AppContainer isolation
20+
21+
In previous releases, Setup created a **SQLRUserGroup** and worker accounts for running external processes. SQL Server 2019 replaces those accounts with [AppContainers](https://docs.microsoft.com/windows/desktop/secauthz/appcontainer-isolation). AppContainers isolate a process to run in a restricted execution environment, with access to specific resources only. Built-in barriers prevent backdoor access to hardware, files, registry, other applications, network connectivity, and network resources.
22+
23+
An AppContainer is created for each external process you run.
24+
25+
In terms of setup, the main differences with AppContainer isolation are:
26+
27+
+ Physical accounts, **SQLRUserGroup** and worker accounts, are no longer created. This is beneficial for machines with policies that disable local users from logging on, and with passwords that expire.
28+
+ **All Application Packages** security principle group will be granted 'read and execute' permissions to the SQL Server 'Binn', R_SERVICES, and PYTHON_SERVICES directories.
29+
+ All external scripts and code executed from sp_execute_external_script follow the new security model. This applies to R, Python, and the new Java language extension introduced in SQL Server 2019.
30+
31+
As before, additional configuration is still required for implied authentication for remote users who execute code on SQL Server. For more information, see [Security for SQL Server machine learning and R](../r/security-overview-sql-server-r.md)
32+
33+
34+
## Firewall
35+
36+
No firewall rule is created for **SQLRUserGroup**. Since there is no equivalent group concept for AppContainers, SQL Server Setup will create firewall rules for each AppContainer. As such, if there are 20 AppContainers, then 20 firewall rules will be created. An example of a firewall rule name is **Block network access for AppContainer-00 in SQL Server instance MSSQLSERVER**, where MSSQLSERVER is the name of the SQL Server instance.
37+
38+
## Symbolic link
39+
40+
A symbolic link is created to the current default R_SERVICES location as part of SQL Server setup. To avoid creating this link, grant 'all application packages' read permission to the hierarchy leading up to the R_SERVICES folder.
41+
42+
43+
## See also
44+
45+
+ [Install SQL Server Machine Learning Services on Windows](sql-machine-learning-services-windows-install.md)
46+
47+
+ [Install SQL Server 2019 Machine Learning Services on Linux](../../linux/sql-server-linux-setup-machine-learning.md)

docs/advanced-analytics/install/sql-machine-learning-services-windows-install.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
title: Install SQL Server Machine Learning Services (In-Database) on Windows | Microsoft Docs
3+
description: R in SQL Server or Python on SQL Server is available when you install SQL Server 2017 Machine Learning Services on Windows.
34
ms.prod: sql
45
ms.technology: machine-learning
56

6-
ms.date: 08/15/2018
7+
ms.date: 09/08/2018
78
ms.topic: conceptual
89
author: HeidiSteen
910
ms.author: heidist
@@ -12,18 +13,18 @@ manager: cgronlun
1213
# Install SQL Server Machine Learning Services
1314
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-winonly](../../includes/appliesto-ss-xxxx-xxxx-xxx-md-winonly.md)]
1415

15-
Starting in SQL Server 2017, R and Python support for in-database analytics is provided in SQL Server Machine Learning Services, the successor to R Services feature introduced in SQL Server 2016. Function libraries are available in R and Python and run as external script on a database engine instance.
16+
Starting in SQL Server 2017, R and Python support for in-database analytics is provided in SQL Server Machine Learning Services, the successor to [SQL Server R Services](../r/sql-server-r-services.md) introduced in SQL Server 2016. Function libraries are available in R and Python and run as external script on a database engine instance.
1617

1718
This article explains how to install the machine learning component by running the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] setup wizard, and following the on-screen prompts.
1819

1920
## <a name="bkmk_prereqs"> </a> Pre-install checklist
2021

21-
+ SQL Server 2017 Setup is required if you want to install Machine Learning Services with language support for R, Python, or both. If instead you have SQL Server 2016 installation media, you can install [SQL Server 2016 R Services (In-Database)](sql-r-services-windows-install.md) to get R language support.
22+
+ SQL Server 2017 (or greater) Setup is required if you want to install Machine Learning Services with R, Python, or Java language support. If instead you have SQL Server 2016 installation media, you can install [SQL Server 2016 R Services (In-Database)](sql-r-services-windows-install.md) to get R language support.
2223

2324
+ A database engine instance is required. You cannot install just R or Python features, although you can add them incrementally to an existing instance.
2425

25-
+ Do not install Machine Learning Services on a failover cluster. The security mechanism used for isolating R and Python processes is not compatible with a Windows Server failover cluster environment.
26-
26+
- Installing Machine Learning Services is *not supported* on a failover cluster in SQL Server 2017. However, it *is supported* with SQL Server 2019.
27+
2728
+ Do not install Machine Learning Services on a domain controller. The Machine Learning Services portion of setup will fail.
2829

2930
+ Do not install **Shared Features** > **Machine Learning Server (Standalone)** on the same computer running an in-database instance. A standalone server will compete for the same resources, undermining the performance of both installations.

0 commit comments

Comments
 (0)