| title | Set Distribution retention period | ||
|---|---|---|---|
| description | Set the retention period for data within the Distribution Database in SQL Server Management Studio (SSMS). | ||
| author | MashaMSFT | ||
| ms.author | mathoma | ||
| ms.date | 09/25/2024 | ||
| ms.service | sql | ||
| ms.subservice | replication | ||
| ms.topic | ui-reference | ||
| ms.custom |
|
||
| helpviewer_keywords |
|
||
| monikerRange | =azuresqldb-mi-current||>=sql-server-2016 |
[!INCLUDE SQL Server SQL MI] Specify the minimum distribution retention period and maximum distribution retention period on the Distribution Database Properties - <DistributionDatabase> dialog box. This is available from the General page of the Distributor Properties - <Distributor> dialog box. For more information about accessing this dialog box, see View and Modify Distributor and Publisher Properties.
-
On the General page of the Distributor Properties - <Distributor> dialog box, click the properties button (...) for the distribution database.
-
To specify the minimum distribution retention period, enter a value in the At least box; to specify the maximum distribution retention period, enter a value in the But not more than box.
-
Select OK.