一個規模很大的公司在很多地方都設有分公司和工廠,這些不同地點的辦公室,甚至可能有各自的資料庫系統,因此,如何整合資料,並複製所有的資料回傳總公司,成為一個重要的課題。 在這篇論文中,我們將討論我們如何能夠利用Microsoft SQL Server 2008的新功能的Change Data Capture執行資料整合。相比其他方式,例如SQL Server Replication,Change Data Capture不僅可以提供類似的功能,還可以客製化進行其他命令功能。而事務系統相衝突和提供資料的版本歷程也是兩個常見的例子。
A large percentage of companies have branches and factories located at more than one places. These different offices may even have their own database systems. Thus how to consolidate data and replicate all data back to the headquarters become an important issue. In this thesis, we discuss how we can use Microsoft SQL Server 2008’s new feature Change Data Capture to perform data consolidation. As compared to other methods such as SQL Server Replication, Change Data Capture not only can provide similar function but also can be. Customized to carry out other missions. Two well known examples are handling data conflict and providing version history of data.