Re: find out how often is a table get updated/inserted

From: Wayne Snyder (wayne.nospam.snyder_at_mariner-usa.com)
Date: 07/22/04


Date: Thu, 22 Jul 2004 13:37:08 -0400

You can use profiler, capture the data to a file or table...

The event should be SQL Statement Ending. Then capture whatever counters
you wish...

-- 
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Kenny" <pearl_77@hotmail.com> wrote in message
news:%23KZroFBcEHA.2812@TK2MSFTNGP11.phx.gbl...
> How can I find out how often is a table get updated/inserted?
>
> I'm planning to use sql profiler or maybe performance monitor, but I'm not
> sure how to do that. I don't know what criteria should be set to catch
them.
>
> I know I can do a trigger and log to a log table.  but I wondered if there
> is alternative way, use either sql profiler or performance monitor.
>
>


Relevant Pages

  • Re: Sql 2005 Profiler
    ... Jasper Smith (SQL Server MVP) ... the server reported both duration and CPU ... I'm using a trc file to do the load testing through profiler. ...
    (microsoft.public.sqlserver.tools)
  • Re: SQL Profiler
    ... > ich verwende SQL Server 2000. ... > die mir mit SET STATISTICS ON; ... > Ich habe im SQL Profiler unter "Leistung" Execution Plan, ...
    (microsoft.public.de.sqlserver)
  • Re: Sql 2005 Profiler
    ... In SQL Server 2000, the server reported both duration and CPU time ... I'm using a trc file to do the load testing through profiler. ...
    (microsoft.public.sqlserver.tools)
  • Re: Clueless in 80040e31 land
    ... Locks event in Profiler to see if this is the case. ... Using SQL Profiler was no help. ... single quote, or something that is difficult to catch, but after many ... You should turn on NOCOUNT to avoid sql server sending informational ...
    (microsoft.public.inetserver.asp.general)
  • Re: ADO.NET query execution much slower than SQL Management Studio
    ... Stats being compiled on SQL Server ... If you are dynamically adding statements in a sproc, ... compare this to the profiler command (meaning what is actually run in the ... Duration: 440 ...
    (microsoft.public.dotnet.framework.adonet)