Skip to content

Commit 6bfad8d

Browse files
Merge pull request #36054 from MicrosoftDocs/main
Auto Publish – main to live - 2025-12-10 23:30 UTC
2 parents c985388 + dd9dcdf commit 6bfad8d

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

docs/database-engine/availability-groups/windows/monitor-performance-for-always-on-availability-groups.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ After the logs have been captured on the primary replica, they are subject to tw
4040

4141
In addition to the flow control gates, there's another factor that can prevent the log messages from being sent. The synchronization of replicas ensures that the messages are sent and applied in the order of the log sequence numbers (LSN). Before a log message is sent, its LSN also checked against the lowest acknowledged LSN number to make sure that it's less than one of thresholds (depending on the message type). If the gap between the two LSN numbers is larger than the threshold, the messages aren't sent. Once the gap is below the threshold again, the messages are sent.
4242

43-
[!INCLUDE [sssql22-md](../../../includes/sssql22-md.md)] increases the limits to the number of messages that each gate allows. By using trace flag 12310, the increased limit is also available to the following versions of SQL Server: [!INCLUDE [sssql19-md](../../../includes/sssql19-md.md)] CU9, [!INCLUDE [sssql17-md](../../../includes/sssql17-md.md)] CU18, [!INCLUDE [sssql16-md](../../../includes/sssql16-md.md)] SP1 CU16.
43+
[!INCLUDE [sssql22-md](../../../includes/sssql22-md.md)] increases the limits to the number of messages that each gate allows. Starting with the following releases, use trace flag 12310 [at startup](../../configure-windows/database-engine-service-startup-options.md) to increase the limit: [!INCLUDE [sssql19-md](../../../includes/sssql19-md.md)] CU9, [!INCLUDE [sssql17-md](../../../includes/sssql17-md.md)] CU18, and [!INCLUDE [sssql16-md](../../../includes/sssql16-md.md)] SP1 CU16. This trace flag can't be used with `DBCC TRACEON`.
4444

4545
The following table compares message limits:
4646

docs/machine-learning/install/sql-machine-learning-services-windows-install-sql-2022.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to install SQL Server 2022 Machine Learning Services on W
44
author: VanMSFT
55
ms.author: vanto
66
ms.reviewer: arunguru-msft
7-
ms.date: 06/30/2025
7+
ms.date: 12/10/2025
88
ms.service: sql
99
ms.subservice: machine-learning-services
1010
ms.topic: how-to
@@ -16,7 +16,7 @@ monikerRange: ">=sql-server-ver16"
1616

1717
[!INCLUDE [SQL Server 2022](../../includes/applies-to-version/sqlserver2022.md)]
1818

19-
This article shows you how to install [SQL Server Machine Learning Services with Python and R](../sql-server-machine-learning-services.md) on Windows. You can use Machine Learning Services to run Python and R scripts in-database.
19+
This article shows you how to install [SQL Server Machine Learning Services with Python and R](../sql-server-machine-learning-services.md) on Windows. With Machine Learning Services, you can run Python and R scripts in-database.
2020

2121
> [!NOTE]
2222
> These instructions are specific to [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)] on Windows. To install SQL Server Machine Learning Services on Windows for [!INCLUDE [sssql16-md](../../includes/sssql16-md.md)], [!INCLUDE [sssql17-md](../../includes/sssql17-md.md)], or [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)], see [Install SQL Server Machine Learning Services (Python and R) on Windows](sql-machine-learning-services-windows-install.md).
@@ -145,7 +145,7 @@ Beginning with [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)], runtimes f
145145

146146
#### Install Python runtime
147147

148-
1. Download the most recent version of [Python 3.10 for Windows](https://www.python.org/downloads/). Install it by using the following options:
148+
1. Download the most recent version of [Python 3.10 for Windows](https://aka.ms/Python3_10). Install it by using the following options:
149149

150150
1. Open the Python Setup application and select **Customize installation**.
151151
1. Verify that the **Install launcher for all users (recommended)** checkbox is selected.
@@ -154,15 +154,24 @@ Beginning with [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)], runtimes f
154154

155155
We recommend using a Python installation path that all users can access (such as `C:\Program Files\Python310`), and not one that's specific to a single user.
156156
157-
1. Download and install the latest version of the `revoscalepy` package and its dependencies from a new elevated command prompt:
157+
1. Create a text file with the following contents, and save it as `C:\Program Files\Python310\constraints.txt`:
158+
159+
```text
160+
dill==0.3.4
161+
numpy==1.22.0
162+
pandas==1.3.5
163+
patsy==0.5.2
164+
python-dateutil==2.8.2
165+
```
166+
167+
1. Download and install the latest version of the `revoscalepy` package and its dependencies from a new elevated command prompt. Pass the `constraints.txt` file created in the previous step:
158168
159169
```cmd
160170
cd "C:\Program Files\Python310\"
161-
python -m pip install -t "C:\Program Files\Python310\Lib\site-packages" dill numpy==1.22.0 pandas patsy python-dateutil packaging
162-
python -m pip install -t "C:\Program Files\Python310\Lib\site-packages" https://aka.ms/sqlml/python3.10/windows/revoscalepy-10.0.1-py3-none-any.whl
171+
python -m pip install -t "C:\Program Files\Python310\Lib\site-packages" -c "C:\Program Files\Python310\constraints.txt" dill numpy pandas patsy python-dateutil packaging https://aka.ms/sqlml/python3.10/windows/revoscalepy-10.0.1-py3-none-any.whl
163172
```
164173
165-
Run the following **icacls** commands to grant **READ** and **EXECUTE** access to the installed libraries to **SQL Server Launchpad Service** and SID **S-1-15-2-1 (ALL_APPLICATION_PACKAGES)**. You need to grant permissions to the service account associated with the Launchpad service, check in [SQL Server Configuration Manager](../../relational-databases/sql-server-configuration-manager.md).
174+
1. Run the following **icacls** commands to grant **READ** and **EXECUTE** access to the installed libraries to **SQL Server Launchpad Service** and SID **S-1-15-2-1 (ALL_APPLICATION_PACKAGES)**. You need to grant permissions to the service account associated with the Launchpad service. Check in [SQL Server Configuration Manager](../../relational-databases/sql-server-configuration-manager.md).
166175
167176
```cmd
168177
icacls "C:\Program Files\Python310\Lib\site-packages" /grant "NT Service\MSSQLLAUNCHPAD":(OI)(CI)RX /T

0 commit comments

Comments
 (0)