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


Auditing in sql server 2008


Auditing in sql server 2008

Author
Message
goldspoon
goldspoon
Grasshopper
Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)

Group: General Forum Members
Points: 24 Visits: 86
Hi all,

i am using sql server 2008.

for auditing purpose triggers or best or Change data capture is best?

regarding performance issue which is the best one to use?
M&M
M&M
SSCrazy
SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)

Group: General Forum Members
Points: 2595 Visits: 3898
What are you planning to audit.

By the way, in SQL Server 2008 there is a new cool feature called AUDIT.

You will find it in Management Studio. You could plan to use it.

M&M
goldspoon
goldspoon
Grasshopper
Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)

Group: General Forum Members
Points: 24 Visits: 86
i have to audit changed data..

tell me which is best one(triggers or cdc) to use regarding performance issue..
Mithra
Mithra
SSC Rookie
SSC Rookie (31 reputation)SSC Rookie (31 reputation)SSC Rookie (31 reputation)SSC Rookie (31 reputation)SSC Rookie (31 reputation)SSC Rookie (31 reputation)SSC Rookie (31 reputation)SSC Rookie (31 reputation)

Group: General Forum Members
Points: 31 Visits: 420
Hi Moinu,

Is there anyway to purge the audit file based upon the time stamp?
Thanks,
Boj.
sqlbuddy123
sqlbuddy123
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1212 Visits: 2243
SQL Server 2008 has a new feature for Auditing. You can audit anything happening on the SQL Server using this feature. Its a full pledged Audit implementation and it's very granular. You can audit the select queries of as single user on a single table in a database. It's that granular. Also its very simple to implement. You can audit all the DDL, DML and server login activities.

Change Data Capture is also a very good feature of SQL 2008. It's available only in Enterprise edition. It can be used to track the DDL happening on the tables.

Triggers can also be used. But that require considerable effort on your part to code them properly. If not written properly they cause lot of headaches.

I'd prefer CDC to Triggers. BTW, what are you planning to achieve ?

Thank You,

Best Regards,
SQLBuddy
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