180 likes | 296 Vues
Join Pinal Dave, a Microsoft Technology Evangelist, in an insightful session on auditing best practices with SQL Server. Learn about Change Tracking and Change Data Capture (CDC) techniques to maintain data integrity and audit trails. Discover how to efficiently manage historical data, recover deleted information, and track changes effectively. This session is designed for database professionals looking to enhance their understanding of auditing mechanisms and improve data governance in their SQL Server environments.
E N D
virtual techdays Auditing Made Easy: Change Tracking and Change Data Capture Pinal Dave│ Technology Evangelist, Microsoft http://blog.sqlauthority.com
INDIA │ 9-11 February2011 virtual techdays About Pinal Dave • Technology Evangelist (DB and BI) – Microsoft India • Founder – http://blog.SQLAuthority.com • MCT, MCTS, MCP, MCDBA, MCAD • Follow me - http://www.twitter.com/pinaldave • LinkedIn - http://in.linkedin.com/in/pinaldave • MVP (2008 – 2011)
INDIA │ 9-11 February2011 virtual techdays S E S S I O N A G E N D A • Introduction to Auditing • Change Tracking • Change Data Capture • Auditing • Demo
INDIA │ 9-11 February2011 virtual techdays A Common Conversation • If I had my original data, I can give you difference between values. • What was the value of this particular field? • How many times this column was updated? • I want all of my deleted data back? • What happened? • Who did it?
INDIA │ 9-11 February2011 virtual techdays Who is he? What does he do?
INDIA │ 9-11 February2011 virtual techdays What is more important? • Data Modifier • Original Data
INDIA │ 9-11 February2011 virtual techdays Story of Audit
INDIA │ 9-11 February2011 virtual techdays Common Practices • SQL Profiler • SQL Trace • Table Trigger • Custom T-SQL Solution
INDIA │ 9-11 February2011 virtual techdays SQL Server 2008 Technologies • Change Tracking (CT) • Change Data Capture (CDC) • SQL Audit
INDIA │ 9-11 February2011 virtual techdays Difference Side By Side Change Data Capture Change Tracking • Which rows are changed and How? • Asynchronous Process • Available in Enterprise Edition • Which rows are changed? • Synchronous Process • Available in All Versions
INDIA │ 9-11 February2011 virtual techdays Similarity Side By Side Change Data Capture Change Tracking • Less Performance Impact • Less Database Size • Usage: Change Tracking, ETL, Rollback data • Least Performance Impact • Least Database Size • Usage: Change Tracking, ETL, Rollback data
virtual techdays Demo Change Tracking - WHAT
virtual techdays Demo Change Data Capture – HOW
INDIA │ 9-11 February2011 virtual techdays SQL Audit • Who did it? and How? • Based on Extended Events • Enterprise Edition Feature • Security Feature
virtual techdays Demo SQL Audit - WHO
INDIA │ 9-11 February2011 virtual techdays Summary • Change Tracking – WHAT has changed? • Change Data Capture – HOW was ‘what’ changed? • SQL Audit – WHO changed ‘what’ ‘how’?
INDIA │ 9-11 February2011 virtual techdays Thank YOU! • Download Code: http://blog.SQLAuthority.com • Try out CT, CDC and SQL Audit • Follow me: http://www.twitter.com/pinaldave • Read: http://blog.SQLAuthority.com • Win! – Quiz at the End
virtual techdays Thank You! http://blog.sqlauthority.com