Академический Документы
Профессиональный Документы
Культура Документы
Srikant Jahagirdar
Development Lead
MSIT - Microsoft
Session Objectives And Takeaways
Session Objective(s):
Change Tracking
Light weight tracking providing real-time change
detection
SQL Auditing
Low impact tracking providing auditing information
Value Proposition
Change Data Capture provides valuable change
information about DML changes on a table
efficiently and close to real-time
Eliminates expensive techniques:
user triggers, timestamp columns, expensive join queries
Tracking Mechanism
CDC API’s
Store_Id
Store_Id Order_Status
Order_Status Store_desc
Store_desc Operation
Operation Column
Column Info
Info Transaction
Transaction
Timestamp
Timestamp
1001 H Mystore1 Insert 0x00 1
Security Model
Access to change data controlled through TVF
Require access to all tracked columns in the base table at a
minimum
CDC role provide additional layer of security
Querying Changes
Best Practices and Recommendations
Change tracking Solution
Use the change tracking that suits your application
requirement
Performance
Use separate file-groups for change tracking table
Track only the required columns
Writes to the change table are logged
• http://www.databasejournal.com/features/ms
sql/article.php/3725476
Contact
Srikant.Jahagirdar@microsoft.com
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market
conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.
MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.