Troubleshoot mirroring from Fabric SQL database (preview)

This article covers troubleshooting steps for the automatically configured mirroring for Fabric SQL database.

For troubleshooting for mirroring Azure SQL Database, see Troubleshoot Fabric mirrored databases from Azure SQL Database (preview).

Certain tables are not mirrored

In case you have a table that you expect mirrored, but you are not seeing it in OneLake:

  1. Switch to the Replication tab on your Fabric SQL database.
  2. Select Monitor replication.
  3. You can see all the tables in your Fabric SQL database and the Status for each, indicating whether the table is mirrored or not. For tables that are not supported for mirroring, you'll see a "Not supported" message next to table name. See Table-level limitations.

For more information, see Monitor Fabric mirrored Fabric SQL database replication.

Certain columns are not mirrored for my table

If OneLake does not contain all the columns for a table, check if your missing column is on the list of column level limitations for mirroring. See Column-level limitations.

T-SQL queries for troubleshooting

Fabric SQL database automatically mirrors its transactional data to OneLake. If you are experiencing mirroring problems, perform the following database level checks using Dynamic Management Views (DMVs) and stored procedures to validate configuration.

  1. Execute the following query to check if the changes properly flow:

    SELECT * FROM sys.dm_change_feed_log_scan_sessions;
    
  2. If the sys.dm_change_feed_log_scan_sessions DMV doesn't show any progress on processing incremental changes, execute the following T-SQL query to check if there are any problems reported:

    SELECT * FROM sys.dm_change_feed_errors;
    
  3. If there aren't any issues reported, execute the following stored procedure to review the mirroring configuration. Confirm it was properly enabled.

    EXEC sp_help_change_feed;
    

    The key columns to look for here are the table_name and state. Any value besides 4 indicates a potential problem.

  4. Contact support if troubleshooting is required.