Bewerken

Delen via


MSmerge_partition_groups (Transact-SQL)

Applies to: SQL Server

The MSmerge_partition_groups table stores one row for each precomputed partition in a given database. In addition to the columns listed, one column is added to this table for each function used in a parameterized row filter. For example, a column named HOST_NAME_FN is added to the table if a filter uses the HOST_NAME function. One row is stored for each unique set of function values that have synchronized with this Publisher. Two or more Subscribers synchronizing with exactly the same value for all of these functions will share the same row in this table and will therefore all share the same partition id. This table is stored in the publication database.

Column name Data type Description
partition_id int Identity column that provides a unique ID number for the precomputed partition.
publication_number smallint The publication number, which is stored in sysmergepublications.
maxgen_whenadded bigint The highest generation known at the Publisher at the time the row is inserted in this table.
using_partition_groups bit Indicates whether the partition belongs to a publication that uses precomputed partitions, and can be one of these values:

0 = publication does not use precomputed partitions.

1 = publication uses precomputed partitions

For more information, see Optimize Parameterized Filter Performance with Precomputed Partitions.
HOST_NAME_FN nvarchar(128) The value supplied when using parameterized row filters to generate partitions. For more information, see Parameterized Row Filters.

See Also

Replication Tables (Transact-SQL)
Replication Views (Transact-SQL)