SQL Clone
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
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

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



Michael Whiteley
Michael Whiteley
Valued Member
Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)

Group: General Forum Members
Points: 60 Visits: 71
If only using SQL 2008 I would use Change Data Capture it does it all for you.
LP-181697
LP-181697
Old Hand
Old Hand (324 reputation)Old Hand (324 reputation)Old Hand (324 reputation)Old Hand (324 reputation)Old Hand (324 reputation)Old Hand (324 reputation)Old Hand (324 reputation)Old Hand (324 reputation)

Group: General Forum Members
Points: 324 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
SSCrazy Eights
SSCrazy Eights (9.1K reputation)SSCrazy Eights (9.1K reputation)SSCrazy Eights (9.1K reputation)SSCrazy Eights (9.1K reputation)SSCrazy Eights (9.1K reputation)SSCrazy Eights (9.1K reputation)SSCrazy Eights (9.1K reputation)SSCrazy Eights (9.1K reputation)

Group: General Forum Members
Points: 9142 Visits: 4674
how is this different than the standard audit tables that record changes?
Leo Peysakhovich
Leo Peysakhovich
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1122 Visits: 370
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
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1122 Visits: 370
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
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1122 Visits: 370
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
Hall of Fame
Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)

Group: General Forum Members
Points: 3431 Visits: 2092
It's early in the morning (pre-coffee) but where do you construct the xml?
Michael Whiteley
Michael Whiteley
Valued Member
Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)

Group: General Forum Members
Points: 60 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
Valued Member
Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)

Group: General Forum Members
Points: 60 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