Skip to main content

All That You Need to Know About SQL Server CDC

 In the modern business environment, data is to be protected data from breaches. Keeping this in mind, major database solution providers like Oracle and Microsoft had launched various initiatives like triggers, complex queries, timestamps, and data audits. The first player was Microsoft when in 2005 it launched SQL Server Change Data Capture (CDC) with “after date”, “after delete”, and “after insert” features. A modified version, introduced in 2008 and still being usedcan monitor and capture any changes made to the SQL Server database.


The functioning of the SQL Server change data capture feature is not a complex one. All changes like insert, update, and deletemade to a SQL Server tableare captured by Change Data Capture which then enters the details of the modifications in a user-friendly relational format.

Information about metadata and column structure necessary to apply changes to the target database are captured for the changed rows and stored in change tables. These tables replicate the column structure of the tracked source tables. Table-valued functions that enable users to have uninterrupted access to the full changed data are provided by SQL Server change data capture.

The source of CDC is the transaction log of the SQL Server. All changes like inserts, updates, and deletes that are applied to the tracked source tables are added to the log through entries describing the changes. Hence, the main input in the SQL Server change data capture process is the SQL Server log with modifications in the source database like Insert, Update, and Delete being tracked by the SQL Server Change Data Capture. 

Comments

Popular posts from this blog

Capturing Data with the SAP Extractor

The SAP Extractor is a program in SAP ERP that can be both customized or taken from a standard Data Source. It prepares and captures data through an extract structure that can be transferred to the Business Warehouse of SAP. Both the options of the SAP Extractor help to describe a delta load process or various types of full load. The SAP BW can remotely access the various data transfer activities of the SAP Extractor . For more on SAP Extractor, click here. SAP Extractor executes SAP data extraction in three ways. The first is Content Extraction used to extract BW content, FI, HR, CO, SAP CRM, and LO cockpit. The second is Customer-Generated Extraction where the SAP Extractor is used for LIS, FI-SL, CO-PA. The third is Generic Extraction which is based on DB View, Infoset, Function Modules. The SAP Extractor used for a specific extraction activity depends on the particular needs of an organization. Data capturing and extraction with the SAP Extractor is initiated with the h...

The Evolution of Technology of Oracle Change Data Capture

Oracle change data capture ( CDC) was first launched with the 9i version as an in-built tool of the Oracle database. It was a tool that recorded and monitored all changes made in the user tables in a database. These changes were then stored in change tables and used in ETL applications for later processing and transferring to other data warehouses and databases. The release version of Oracle change data capture   had triggers placed in the source database. However, database administrators found this technology very invasive and did not favor it. Ultimately, Oracle changed the Oracle change data capture   technology and released it with the 10g version after naming it Oracle Streams.  The working of this release was different. Oracle change data capture   used the redo logs of the source database along with a replication tool of Oracle Streams. This technology turned out to be very successful and a highly optimized method to identify and move change data to a target ...

Building a Data Lake on Amazon Simple Storage Service

Amazon Simple Storage Service (S3) is a cloud-based data storage service that stores data in its native format. Data durability of S3 is always at a high of 99.999999999 (11 9s), and the data regardless of the volume is stored in a fully secured and safe ecosystem. In Amazon S3, data files that contain metadata and objects are stored in buckets for uploading. For metadata and files, the object is to be uploaded to S3. After this step, permissions can be granted on the metadata or related objects stored in the buckets. Many competencies can be used when an S 3 data lake   is built on Amazon S3. These include media data processing applications, Artificial Intelligence (AI), Machine Learning (ML), big data analytics, and high-performance computing (HPC). When all these are used in conjunction, businesses get access to critical data, business intelligence, and analytics from S3 data lake and unstructured data sets. There are several benefits of the S3 data lake. The first is differe...