With this method, Artie will read from the active transaction log via SQL access. This method is only available to SQL Server on VM and Azure managed instances.
To configure Artie to use this method, change the replication method to “Transaction logs via SQL access” in the source tab.
We recommend enabling supplemental logging by enabling CDC and then disabling the capture jobs so no changes accumulate in the cdc schema.
Copy
Ask AI
-- Enable CDC on the databaseUSE [DATABASE_NAME];GOEXEC sys.sp_cdc_enable_db;GO-- Then enable CDC for each table:EXEC sys.sp_cdc_enable_table @source_schema = N'MySchema', @source_name = N'MyTable', @role_name = null;GO-- Make sure to disable capture to avoid accumulating changes in the "cdc" schema.EXEC sp_cdc_drop_job @job_type = N'capture'GO