Re: Auditing

From: Mark Allison (mark@allisonmitchell.c0m)
Date: 09/30/02


From: "Mark Allison" <mark@allisonmitchell.c0m>
Date: Mon, 30 Sep 2002 19:30:20 +0100


You don't need profiler for this. Auditing can be turned on in Enterprise
Manager. Right click the server and then select the security tab. Set the
audit level as desired. Switching on profiler will give you extra
information, but consumes more server resources.

If you want to use profiler then create a stored procedure to start it and
mark it for startup using sp_procoption. Look at sp_trace_xxxxx stored
procedures in Books online.

--
Mark Allison
http://www.allisonmitchell.com
"Leon Parker" <lparker@lortobco.com> wrote in message
news:bf5a01c268a2$5039ef80$37ef2ecf@TKMSFTNGXA13...
> I'm trying to create auditing to track user logon/logoff.
> How do I use system stored procedures or Profiler to
> create the trace and have it to start automatically
> whenever SQL starts?


Relevant Pages

  • Re: Running profiler on busy 8-cpu Sql Server
    ... * I regularly run Profiler on VERy busy servers. ... where customers have told me 'theres no way to run Profiler, our server is ... SQL Server MVP ...
    (microsoft.public.sqlserver.server)
  • Re: Running profiler on busy 8-cpu Sql Server
    ... I always start with a light trace and add more detail as I go along to ... SQL Server MVP ... > I think it's also worth saying that you should introduce Profiler ... > SQL Server MVP ...
    (microsoft.public.sqlserver.server)
  • Re: Running profiler on busy 8-cpu Sql Server
    ... I also regularly use it on VERY busy servers nearly always without ... I think it's also worth saying that you should introduce Profiler gradually ... SQL Server MVP ... > SQL Server MVP ...
    (microsoft.public.sqlserver.server)
  • Re: URGENT deadlock question
    ... > Profiler to view a trace, SQL Server dumps rowsets across the network to ... > SQL Server doesn't feel like it can keep up with all the activity. ... > server-side trace to a trace file guarantees you'll see everything. ...
    (microsoft.public.sqlserver.server)
  • Re: Query run very fast in Query Analyser but extremely slow in cl
    ... Have u checked the read/write/CPU/Duration columns in profiler by executing ... > the problematic stored procedure and get an script timeout error. ... I am suspecting whether the Web server or ASP settings that affect the ...
    (microsoft.public.sqlserver.programming)