Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


The New Reality of an Audit Trail


The New Reality of an Audit Trail

Author
Message
Leo Peysakhovich
Leo Peysakhovich
SSC-Enthusiastic
SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)

Group: General Forum Members
Points: 185 Visits: 341
Comments posted to this topic are about the item The New Reality of an Audit Trail



Michael Whiteley
Michael Whiteley
SSC Rookie
SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)

Group: General Forum Members
Points: 40 Visits: 71
If only using SQL 2008 I would use Change Data Capture it does it all for you.
LP-181697
LP-181697
Valued Member
Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)

Group: General Forum Members
Points: 68 Visits: 143
Michael Whiteley (7/8/2009)
If only using SQL 2008 I would use Change Data Capture it does it all for you.


Unfortunately, Change data capture is available only on the Enterprise, Developer, and Evaluation editions of SQL Server. E.g. if company has 4-5 production servers with 4 processors each the price between Standard and Enterprise edition is prohibit to use this feature.
alen teplitsky
alen teplitsky
SSCommitted
SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)

Group: General Forum Members
Points: 1819 Visits: 4628
how is this different than the standard audit tables that record changes?
Leo Peysakhovich
Leo Peysakhovich
SSC-Enthusiastic
SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)

Group: General Forum Members
Points: 185 Visits: 341
SQL Noob (7/8/2009)
how is this different than the standard audit tables that record changes?

a) it is allowed to gather additional data via XML
b) it is extended to the way that you can record only row changes instead of complete changes (may be for differential load)
c) It shows you not only the audit but how translate audit into something useful, for example to find which products are changed for differential load while you don't need to know exact changes.

At least those points in addition to my previous article where one of the point is the use of ROW_ID instead of complex primary key values.



Leo Peysakhovich
Leo Peysakhovich
SSC-Enthusiastic
SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)

Group: General Forum Members
Points: 185 Visits: 341
SQL Noob (7/8/2009)
how is this different than the standard audit tables that record changes?

a) it is allowed to gather additional data via XML
b) it is extended to the way that you can record only row changes instead of complete changes (may be for differential load)
c) It shows you not only the audit but how translate audit into something useful, for example to find which products are changed for differential load while you don't need to know exact changes.

At least those points in addition to my previous article where one of the point is the use of ROW_ID instead of complex primary key values.



Leo Peysakhovich
Leo Peysakhovich
SSC-Enthusiastic
SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)SSC-Enthusiastic (185 reputation)

Group: General Forum Members
Points: 185 Visits: 341
SQL Noob (7/8/2009)
how is this different than the standard audit tables that record changes?

a) it is allowed to gather additional data via XML
b) it is extended to the way that you can record only row changes instead of complete changes (may be for differential load)
c) It shows you not only the audit but how translate audit into something useful, for example to find which products are changed for differential load while you don't need to know exact changes.

At least those points in addition to my previous article where one of the point is the use of ROW_ID instead of complex primary key values.



David McKinney
David McKinney
SSC Eights!
SSC Eights! (893 reputation)SSC Eights! (893 reputation)SSC Eights! (893 reputation)SSC Eights! (893 reputation)SSC Eights! (893 reputation)SSC Eights! (893 reputation)SSC Eights! (893 reputation)SSC Eights! (893 reputation)

Group: General Forum Members
Points: 893 Visits: 2090
It's early in the morning (pre-coffee) but where do you construct the xml?
Michael Whiteley
Michael Whiteley
SSC Rookie
SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)

Group: General Forum Members
Points: 40 Visits: 71
Sorry didn't realise they had made that an enterprise only solution...
I just can't understand Microsoft's reasoning behind doing things like this.
Why spend loads of time developing really good features that soo few customers could use (by paying for enterprise) , and then even fewer actually use.
Had this conversation with Microsoft technical people in the past (who don't make these decisions) but there are of the same opinion - why ?
Michael Whiteley
Michael Whiteley
SSC Rookie
SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)

Group: General Forum Members
Points: 40 Visits: 71
Sorry didn't realise they had make the an enterprise only solution...
I just can't understand Microsoft reasoning behind doing things like this.
Why spend loads of time developing really good features that soo few customers could use (by paying for enterprise) , and then even fewer actually use.
Had this conversation with Microsoft technical people in the past (who don't make these decisions) but there are of the same opinion - why ?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search