How to: Manage Partitions for a Merge Publication with Parameterized Filters (SQL Server Management Studio)
Manage partitions on the Data Partitions page of the Publication Properties - <Publication> dialog box. For more information about accessing this dialog box, see How to: View and Modify Publication and Article Properties (SQL Server Management Studio). On this page you can: create and delete partitions; allow Subscribers to initiate snapshot generation and delivery; generate snapshots for one or more partitions; and clean up snapshots.
If you script a replication topology, which is recommended, publication scripts contain the stored procedure calls to create data partitions. The script provides a reference for the partitions created and a way in which to recreate one or more partitions if necessary. For more information, see Scripting Replication.
To create a partition
On the Data Partitions page of the Publication Properties - <Publication> dialog box, click Add.
In the Add Data Partition dialog box, enter a value for the HOST_NAME() and/or SUSER_SNAME() value associated with the partition you want to create.
Optionally specify a schedule for refreshing snapshots:
- Select Schedule the Snapshot Agent for this partition to run at the following time(s)
- Accept the default schedule for refreshing snapshots, or click Change to specify a different schedule.
Click OK.
To delete a partition
On the Data Partitions page, select a partition in the grid.
Click Delete.
To allow Subscribers to initiate snapshot generation and delivery
On the Data Partitions page, select Automatically define a partition and generate a snapshot if needed when a new Subscriber tries to synchronize.
Click OK.
To generate a snapshot for a partition
On the Data Partitions page, select a partition in the grid.
Click Generate the selected snapshots now.
To clean up a snapshot for a partition
On the Data Partitions page, select a partition in the grid.
Click Clean up the existing snapshots.
See Also
Concepts
Parameterized Row Filters
Snapshots for Merge Publications with Parameterized Filters