Regarding auditing in SQL Server 2008

  • Hi,

    I have some queries regarding auditing in SQL Server 2008.

    These are:

    1. What is the difference between auditing with SQL trace and auditing with SQL Server Audit feature?

    2. Are audit events, which get captured in both SQL trace and SQL Server Audit feature, same?

    Any help in this regard would be appreciated.

    Thanks in advance.

    Shivani.

  • shivani.suri2 (9/18/2009)


    Hi,

    I have some queries regarding auditing in SQL Server 2008.

    These are:

    1. What is the difference between auditing with SQL trace and auditing with SQL Server Audit feature?

    2. Are audit events, which get captured in both SQL trace and SQL Server Audit feature, same?

    Any help in this regard would be appreciated.

    Thanks in advance.

    Shivani.

    ok, some forms of auditing in 2008 can be considered as a light weight trace, depends on if you are talking about extended events. it is a big subject and there are very good articles on this site.

    these are pretty good articles. the second link is about audit and is worth a read.

    http://www.sqlteam.com/article/introduction-to-sql-server-2008-extended-events

    http://www.sqldbatips.com/showarticle.asp?ID=134

    --------------------------------------------------------------------------------------
    [highlight]Recommended Articles on How to help us help you and[/highlight]
    [highlight]solve commonly asked questions[/highlight]

    Forum Etiquette: How to post data/code on a forum to get the best help by Jeff Moden[/url]
    Managing Transaction Logs by Gail Shaw[/url]
    How to post Performance problems by Gail Shaw[/url]
    Help, my database is corrupt. Now what? by Gail Shaw[/url]

  • Light-weight is the key word there .

    "Keep Trying"

  • SQL Server Audit is a new feature in SQL Server 2008 that is only available in Enterprise Edition. It is built upon Extended Events.

    SQL traces have been around for a while and use another system for capturing events and it is available in all editions. In some cases there is overlap between traces and extended events but there are a lot of events that do not overlap between the two.

    Extended events are supposed to be more lightweight overall and the key is you can tie an Audit specification to a SELECT statement against a particular table in a database, where you'd have to be pretty clever with filters in a trace to do the same. However, traces are better able to capture more of what's going on, rather than honing in on a single table or a single operation against a table.

    Which is appropriate really depends on your auditing needs.

    K. Brian Kelley
    @kbriankelley

  • Brian,

    Are you positive that Audit is NOT available in Standard Edition? There seem to be some capabilities built into SE. If it is NOT available in SE, then where do I turn to identify the trace tools and settings I need? I will be required to provide a very elaborate auditing scheme within the next two weeks, after being away from SS for almost a year.

    Steve

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply