The amazing product for data capturing: CDC

 CDC or Change Data Capture, is a product that was for the first time introduced in SQL Server’s 2008 version and it proved to be a very helpful feature that could track and capture all of the changes that are performed in the SQL Server database tables. The good thing is that there is no requirement for any additional programming efforts. One could enable Change data Capture on an SQL Server database before SQL Server 2016 was introduced. However, the same was allowed only under the SQL Server Enterprise edition, which is no longer required once the SQL Server 2016 came into being.

The SQL Server Change Data Capture allows you with tracking the INSERT, UPDATE and DELETE operations on the database table. Not only this, it records detailed information about these changes in a mirrored table, with the same columns structure of the source tables, and additional columns to record the description of these changes. With the help of SQL Server writes,a record for each INSERT statement is created that shows us the inserted values, one record for each DELETE statement is also created that shows the deleted data and two records for each UPDATE statement are created, the first one of which shows the data before the change and the second one shows the data after performing the change. This is absolutely great for each business and allows users with limitless capturing of data.


Comments

Popular posts from this blog

The growing popularity of AWS

Streaming Data into Snowflake with AWS DMS

What is Change Data Capture to A SQL Server Table