I am planning to use the Change Data Capture feature of SQL Server 2016, but I read that It has a clean-up job enabled automatically (which I can disable). I would like to store every change that happened in the database for certain tables (~50% of the tables). Do I really need to manually process the change table rows and archive them in my own tables or can I just leave the clean-up job disabled and query the cdc.* tables in my application?
Leaving Change Data Capture cleanup disabled?
724 Views Asked by szab.kel At
1
There are 1 best solutions below
Related Questions in SQL-SERVER
- Dynamic query creation with Array like implementation
- 'pyodbc.Cursor' object has no attribute 'callproc', mssql with django
- Driver com.microsoft.sqlserver.jdbc.SQLServerDriver claims to not accept jdbcUrl, ${SPRING_DATASOURCE_URL}: GitHub Actions
- PHP Laravel SQLServer could not find driver
- Upsert huge amount of data by EFCore.BulkExtensions
- How to locate relevant tables or columns in a SQL Server database
- Cannot delete SQL datafile (.mdf) as its currently in use
- Writing query in CTE returning the wrong output
- Group By Sum and without Group by sum Amount is different
- plan_handle is always different for each query in SQL Server Cache
- Adding a different string to a table fails
- The specified data type in the EF modelBuilder doesn't correspond to the one that is created
- SQL71561: SqlComputedColumn: When column selected
- How to Solve Error Associated with Trusted Authority
- SQL Server Data Model and Insert Performance
Related Questions in SQL-SERVER-2016
- Select Columns with prefix
- Run SSIS package through Server its working fine but that package I am running on my local system its not working
- Degraded performance when inserting records in batches into a table with columnstore index
- Select substring of multiple rows with similar values
- How delete in specific order
- The 'Other Data Source' button is not activated when creating a SQL Server linked server
- Why can't I combine two SQL Server functions?
- How do I revoke a SELECT permission on one column of a table and still allow the user to do a SELECT * FROM the table?
- Why can't SQL Server Agent be started?
- Properly implement DENSE_RANK() or similar function
- Powershell SQL module errors out when trying to use sqlserver cmdlets
- How do I make one trigger fire but ignore the actions done by another trigger?
- Conditionally execute a query
- Issue with embedded text qualifier
- How do I create log of running balance of debits associated to the credits
Related Questions in CHANGE-DATA-CAPTURE
- Which column to use for ordering change data read from change tables in SQL Server?
- How to change topic names and schema names along with namespaces to format topicPrefix.tableName in debezium
- Change Data Capture Resourse; Scaling in mult-tenant environment
- Run Kafka Standalone in Docker Container on production env for CDC
- Add column to _CT table
- change data feed on Databricks
- What is the function of `microBatchDF._jdf.sparkSession().sql` in this code?
- Denormalize and Sync Aurora PG CDC to OpenSearch
- Is it possible to retrieve the CDC data that the cleanup job deleted?
- Debezium not honouring table.include.list
- On demand snapshot and CDC from Postgresql multitenant DB
- In Databricks, how do I determine which columns changed from a change data capture feed?
- How do I create a new pyspark dataframe that captures only the columns that have changed into a payload?
- wal streaming and logical replication slot: offset of stream
- Understanding and Resolving Azure SQL Managed Enable Reboots During CDC Installation
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

It is highly advisable to archive them to another table. Yes, the cleanup job can be disabled but consider the scenario where a new column needs to be added to the table included in the CDC. This table will 1st need to be disabled for CDC which will automatically drop the Change Table. The documentation does not make this explicitly clear but trust me when I say this is what happens!