Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 354e96e

Browse files
authored
Merge pull request #13614 from MicrosoftDocs/master
1/27 PM Publish
2 parents 1ee9d63 + 1109b91 commit 354e96e

18 files changed

Lines changed: 271 additions & 125 deletions

docs/advanced-analytics/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@
6161
items:
6262
- name: Create R scripts
6363
href: ../advanced-analytics/tutorials/quickstart-r-create-script.md
64-
- name: Handle data types and objects
64+
- name: Data types and objects
6565
href: ../advanced-analytics/tutorials/quickstart-r-data-types-and-objects.md
66-
- name: Write R functions
66+
- name: R functions
6767
href: ../advanced-analytics/tutorials/quickstart-r-functions.md
6868
- name: Train and score a model
6969
href: ../advanced-analytics/tutorials/quickstart-r-train-score-model.md

docs/advanced-analytics/tutorials/quickstart-python-create-script.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Quickstart: Run Python scripts"
33
description: Run a set of simple Python scripts using SQL Server Machine Learning Services. Learn how to use the stored procedure sp_execute_external_script to execute the script in a SQL Server instance.
44
ms.prod: sql
55
ms.technology: machine-learning
6-
ms.date: 01/21/2020
6+
ms.date: 01/27/2020
77
ms.topic: quickstart
88
author: garyericson
99
ms.author: garye

docs/advanced-analytics/tutorials/quickstart-python-data-structures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Quickstart: Python data structures"
33
description: In this quickstart, learn how to work with data structures and data objects in Python and SQL Server Machine Learning Services.
44
ms.prod: sql
55
ms.technology: machine-learning
6-
ms.date: 01/22/2019
6+
ms.date: 01/27/2020
77
ms.topic: quickstart
88
author: garyericson
99
ms.author: garye

docs/advanced-analytics/tutorials/quickstart-python-functions.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
title: "Quickstart: Write Python functions"
3-
description: In this quickstart, learn how to write a Python function for advanced statistical computation with SQL Server Machine Learning Services.
2+
title: "Quickstart: Python functions"
3+
description: In this quickstart, you'll learn how to use Python mathematical and utility functions with SQL Server Machine Learning Services.
44
ms.prod: sql
55
ms.technology: machine-learning
6-
7-
ms.date: 10/04/2019
6+
ms.date: 01/27/2020
87
ms.topic: quickstart
98
author: garyericson
109
ms.author: garye
@@ -13,10 +12,10 @@ ms.custom: seo-lt-2019
1312
monikerRange: ">=sql-server-2017||>=sql-server-linux-ver15||=sqlallproducts-allversions"
1413
---
1514

16-
# Quickstart: Write advanced Python functions with SQL Server Machine Learning Services
15+
# Quickstart: Python functions with SQL Server Machine Learning Services
1716
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)]
1817

19-
This quickstart describes how to embed Python mathematical and utility functions in a SQL stored procedure with SQL Server Machine Learning Services. Advanced statistical functions that are complicated to implement in T-SQL can be done in Python with only a single line of code.
18+
In this quickstart, you'll learn how to use Python mathematical and utility functions with SQL Server Machine Learning Services. Statistical functions are often complicated to implement in T-SQL, but can be done in Python with only a few lines of code.
2019

2120
## Prerequisites
2221

docs/advanced-analytics/tutorials/quickstart-python-train-score-model.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
title: "Quickstart: Train a model in Python"
3-
description: Create a simple predictive model in Python using SQL Server Machine Learning Services, then predict a result using new data.
3+
description: In this quickstart, you'll create and train a predictive model using Python. You'll save the model to a table in your SQL Server instance, and then use the model to predict values from new data using SQL Server Machine Learning Services.
44
ms.prod: sql
55
ms.technology: machine-learning
6-
7-
ms.date: 10/14/2019
6+
ms.date: 01/27/2020
87
ms.topic: quickstart
98
author: garyericson
109
ms.author: garye
@@ -16,7 +15,7 @@ monikerRange: ">=sql-server-2017||>=sql-server-linux-ver15||=sqlallproducts-allv
1615
# Quickstart: Create and score a predictive model in Python with SQL Server Machine Learning Services
1716
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)]
1817

19-
In this quickstart, you'll create and train a predictive model using Python, save the model to a table in your SQL Server instance, then use the model to predict values from new data using [SQL Server Machine Learning Services](../what-is-sql-server-machine-learning.md).
18+
In this quickstart, you'll create and train a predictive model using Python. You'll save the model to a table in your SQL Server instance, and then use the model to predict values from new data using [SQL Server Machine Learning Services](../what-is-sql-server-machine-learning.md).
2019

2120
You'll create and execute two stored procedures running in SQL. The first one uses the classic Iris flower data set and generates a Naïve Bayes model to predict an Iris species based on flower characteristics. The second procedure is for scoring - it calls the model generated in the first procedure to output a set of predictions based on new data. By placing Python code in a SQL stored procedure, operations are contained in SQL, are reusable, and can be called by other stored procedures and client applications.
2221

docs/advanced-analytics/tutorials/quickstart-r-create-script.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
title: "Quickstart: Create R scripts"
3-
description: Create and run simple R scripts in a SQL Server instance with SQL Server Machine Learning Services.
2+
title: "Quickstart: Run R scripts"
3+
description: Run a set of simple R scripts using SQL Server Machine Learning Services. Learn how to use the stored procedure sp_execute_external_script to execute the script in a SQL Server instance.
44
ms.prod: sql
55
ms.technology: machine-learning
6-
7-
ms.date: 10/04/2019
6+
ms.date: 01/27/2020
87
ms.topic: quickstart
98
author: garyericson
109
ms.author: garye
@@ -13,10 +12,10 @@ ms.custom: seo-lt-2019
1312
monikerRange: ">=sql-server-2016||>=sql-server-linux-ver15||=sqlallproducts-allversions"
1413
---
1514

16-
# Quickstart: Create and run simple R scripts with SQL Server Machine Learning Services
15+
# Quickstart: Run simple R scripts with SQL Server Machine Learning Services
1716
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)]
1817

19-
In this quickstart, you'll create and run a set of simple R scripts using [SQL Server Machine Learning Services](../what-is-sql-server-machine-learning.md). You'll learn how to wrap a well-formed R script in the stored procedure [sp_execute_external_script](../../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md) and execute the script in a SQL Server instance.
18+
In this quickstart, you'll run a set of simple R scripts using [SQL Server Machine Learning Services](../what-is-sql-server-machine-learning.md). You'll learn how to use the stored procedure [sp_execute_external_script](../../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md) to execute the script in a SQL Server instance.
2019

2120
## Prerequisites
2221

docs/advanced-analytics/tutorials/quickstart-r-data-types-and-objects.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
title: "Quickstart: R data types"
3-
description: In this quickstart, learn how to work with data types and data objects in R and SQL Server with SQL Server Machine Learning Services.
2+
title: "Quickstart: R data structures, data types, and objects"
3+
description: In this quickstart, you'll learn how to use data structures, data types, and objects when using R in SQL Server Machine Learning Services. You'll learn about moving data between R and SQL Server, and the common issues that might occur.
44
ms.prod: sql
55
ms.technology: machine-learning
6-
7-
ms.date: 10/04/2019
6+
ms.date: 01/27/2019
87
ms.topic: quickstart
98
author: garyericson
109
ms.author: garye
@@ -13,10 +12,10 @@ ms.custom: seo-lt-2019
1312
monikerRange: ">=sql-server-2016||>=sql-server-linux-ver15||=sqlallproducts-allversions"
1413
---
1514

16-
# Quickstart: Handle data types and objects using R in SQL Server Machine Learning Services
15+
# Quickstart: Data structures, data types, and objects using R in SQL Server Machine Learning Services
1716
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)]
1817

19-
In this quickstart, you'll learn about common issues that occur when moving data between R and SQL Server. The experience you gain through this exercise provides essential background when working with data in your own script.
18+
In this quickstart, you'll learn how to use data structures and data types when using R in SQL Server Machine Learning Services. You'll learn about moving data between R and SQL Server, and the common issues that might occur.
2019

2120
Common issues to know up front include:
2221

docs/advanced-analytics/tutorials/quickstart-r-functions.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
title: "Quickstart: Write R functions"
3-
description: In this quickstart, learn how to write an R function for advanced statistical computation with SQL Server Machine Learning Services.
2+
title: "Quickstart: R functions"
3+
description: In this quickstart, you'll learn how to use R mathematical and utility functions with SQL Server Machine Learning Services.
44
ms.prod: sql
55
ms.technology: machine-learning
6-
7-
ms.date: 10/04/2019
6+
ms.date: 01/27/2020
87
ms.topic: quickstart
98
author: garyericson
109
ms.author: garye
@@ -13,10 +12,10 @@ ms.custom: seo-lt-2019
1312
monikerRange: ">=sql-server-2016||>=sql-server-linux-ver15||=sqlallproducts-allversions"
1413
---
1514

16-
# Quickstart: Write advanced R functions with SQL Server Machine Learning Services
15+
# Quickstart: R functions with SQL Server Machine Learning Services
1716
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)]
1817

19-
This quickstart describes how to embed R mathematical and utility functions in a SQL stored procedure with SQL Server Machine Learning Services. Advanced statistical functions that are complicated to implement in T-SQL can be done in R with only a single line of code.
18+
In this quickstart, you'll learn how to use R mathematical and utility functions with SQL Server Machine Learning Services. Statistical functions are often complicated to implement in T-SQL, but can be done in R with only a few lines of code.
2019

2120
## Prerequisites
2221

docs/advanced-analytics/tutorials/quickstart-r-train-score-model.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
title: "Quickstart: Train a model in R"
3-
description: Create a simple predictive model in R using SQL Server Machine Learning Services, then predict a result using new data.
3+
description: In this quickstart, you'll create and train a predictive model using T. You'll save the model to a table in your SQL Server instance, and then use the model to predict values from new data using SQL Server Machine Learning Services.
44
ms.prod: sql
55
ms.technology: machine-learning
6-
7-
ms.date: 10/04/2019
6+
ms.date: 01/27/2020
87
ms.topic: quickstart
98
author: garyericson
109
ms.author: garye
@@ -16,7 +15,7 @@ monikerRange: ">=sql-server-2016||>=sql-server-linux-ver15||=sqlallproducts-allv
1615
# Quickstart: Create and score a predictive model in R with SQL Server Machine Learning Services
1716
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)]
1817

19-
In this quickstart, you'll create and train a predictive model using R, save the model to a table in your SQL Server instance, then use the model to predict values from new data using [SQL Server Machine Learning Services](../what-is-sql-server-machine-learning.md).
18+
In this quickstart, you'll create and train a predictive model using T. You'll save the model to a table in your SQL Server instance, and then use the model to predict values from new data using [SQL Server Machine Learning Services](../what-is-sql-server-machine-learning.md).
2019

2120
You'll create and execute two stored procedures running in SQL. The first one uses the **mtcars** dataset included with R and generates a simple generalized linear model (GLM) that predicts the probability that a vehicle has been fitted with a manual transmission. The second procedure is for scoring - it calls the model generated in the first procedure to output a set of predictions based on new data. By placing R code in a SQL stored procedure, operations are contained in SQL, are reusable, and can be called by other stored procedures and client applications.
2221

docs/database-engine/availability-groups/windows/prereqs-restrictions-recommendations-always-on-availability.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,7 @@ ms.author: mathoma
151151
- If a given thread is idle for a while, it is released back into the general [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] thread pool. Normally, an inactive thread is released after ~15 seconds of inactivity. However, depending on the last activity, an idle thread might be retained longer.
152152
153153
- A SQL Server instance uses up to 100 threads for parallel redo for secondary replicas. Each database uses up to one-half of the total number of CPU cores, but not more than 16 threads per database. If the total number of required threads for a single instance exceeds 100, SQL Server uses a single redo thread for every remaining database. Serial Redo threads are released after ~15 seconds of inactivity.
154-
155-
> [!NOTE]
156-
> Databases are chosen to go single-threaded based on their ascending database ID. As such, the database creation order should be considered for SQL Server instances that host more availability group databases than available worker threads. For example, on a system with 32 or more CPU cores, the first six databases (ordered by database ID) in an availability group or groups will use parallel redo mode, and all subsequent databases will use single redo mode.
157-
154+
158155
- In addition, availability groups use unshared threads, as follows:
159156
160157
- Each primary replica uses 1 Log Capture thread for each primary database. In addition, it uses 1 Log Send thread for each secondary database. Log send threads are released after ~15 seconds of inactivity.

0 commit comments

Comments
 (0)