Skip to content

Latest commit

 

History

History
84 lines (62 loc) · 4.54 KB

sp-help-change-feed-settings.md

File metadata and controls

84 lines (62 loc) · 4.54 KB
title description author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs monikerRange
sys.sp_help_change_feed_settings (Transact-SQL)
The sys.sp_help_change_feed_settings system stored procedure returns state information for Microsoft Fabric Mirroring.
WilliamDAssafMSFT
wiassaf
imotiwala
03/11/2024
fabric
system-objects
reference
sys.sp_help_change_feed_settings_TSQL
sys.sp_help_change_feed_settings
sp_help_change_feed_settings_TSQL
sp_help_change_feed_settings
sp_help_change_feed_settings
TSQL
>=sql-server-ver16||=azuresqldb-current||=fabric||=azure-sqldw-latest

sys.sp_help_change_feed_settings (Transact-SQL)

[!INCLUDE asdb-fabric]

Provides the provision or deprovision status and information of the Fabric Mirrored Database feature.

This system stored procedure is used for:

Syntax

:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: Transact-SQL syntax conventions

EXECUTE sys.sp_help_change_feed_settings;

Arguments

None

Result set

Column name Data type Description
maxtrans int Maximum transactions to process in each cycle. The default is 10000.
seqno binary(10) Log Sequence Number (LSN) marker to track the last published LSN (log record).
schema_version int Tracks current schema version of database. Determines whether a schema needs to be updated or not on startup.
pollinterval int The frequency that the log is scanned for any new changes in seconds.
reseed_state tinyint Applies to: Fabric Mirrored Database only.

0 = Normal.
1 = The database has started the process of reinitializing to Fabric. Transitionary state.
2 = The database is being reinitialized to Fabric and remains in this state until complete.

Permissions

A user with CONTROL database permissions, db_owner database role membership, or sysadmin server role membership can execute this procedure.

Remarks

If Fabric Mirroring, the source SQL database transaction log is monitored. If the transaction log is observed to be full and the log reuse reason is REPLICATION, the database will automatically be reinitialized to Fabric to allow the transaction log to be truncated. During this special reseed state, a database snapshot is sent to Fabric again, then incremental replication resumes. The reseed_state column in sys.sp_help_change_feed_settings indicates the reseed state.

Related content

For Microsoft Fabric mirrored databases:

For Azure Synapse Link: