
Whether the database is single or pooled. Space available in the source database, since CDC artifacts (for example, CT tables, cdc_jobs etc.) are stored in the same database. Frequency of changes in the tracked tables. The number of tracked CDC-enabled tables. Some of the aspects that influence the effect of performance while enabling CDC are: The effect on performance from enabling change data capture on Azure SQL Database is similar to the effect on performance of enabling CDC for SQL Server or Azure SQL Managed Instance. To learn about Change Data Capture, you can also refer to this Data Exposed episode: Users retain the option to manually initiate capture and cleanup processes as needed. The scheduler runs capture and cleanup automatically within SQL Database, without any external dependency for reliability or performance. In Azure SQL Database, a change data capture scheduler takes the place of the SQL Server Agent that invokes stored procedures to start periodic capture and cleanup of the change data capture tables. SQL Server change data capture provides this technology. Instead, you need a reliable stream of change data that is structured so that consumers can apply it to dissimilar target representations of the data. Although the representation of the source tables within the data warehouse must reflect changes in the source tables, an end-to-end technology that refreshes a replica of the source isn't appropriate. An ETL application incrementally loads change data from SQL Server source tables to a data warehouse or data mart.
Furthermore, table-valued functions are available for systematic access to this change data by consumers.Ī good example of a data consumer that this technology targets is an extraction, transformation, and loading (ETL) application.
The column data and essential metadata need to apply these change data to a target environment are captured for the modified rows and stored in change tables that mirror the column structure of the tracked source tables. So, it makes these data changes accessible to be easily consumed using a relational format. Overviewĭata Change Capture (CDC) utilizes the SQL Server agent to log insertions, updates, and deletions occurring in a table. Change data capture is generally available in Azure SQL Database, SQL Server, and Azure SQL Managed Instance.
In this article, learn about change data capture (CDC), which records activity on a database when tables and rows have been modified. Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance