sys.sp_mergemetadataretentioncleanup
general #stored-procedure
Description
Performs a manual cleanup of metadata in the MSmerge_past_partition_mappings MSmerge_current_partition_mappings system tables. This stored procedure is executed at each Publisher and Subscriber in the topology.
Syntax
sp_mergemetadataretentioncleanup
[ [ @num_genhistory_rows = ] num_genhistory_rows
OUTPUT
]
[ , [ @num_contents_rows = ] num_contents_rows
OUTPUT
]
[ , [ @num_tombstone_rows = ] num_tombstone_rows
OUTPUT
]
[ , [ @aggressive_cleanup_only = ] aggressive_cleanup_only ]
[ ; ]