Re: Insert/Update/Delete Tracking.

From: Aaron [SQL Server MVP] (ten.xoc_at_dnartreb.noraa)
Date: 06/29/04


Date: Tue, 29 Jun 2004 17:33:38 -0400


> 1. Triggers on all tables that writes to an audit table - What kind of
performance hit does this have on databases?

Depends on your volume, usage, hardware, etc. No "single answer" exists.
You will need to test it to determine if the performance is acceptable in
your exact environment.

> Can I track who made the change easily?

Depends on your authentication mode. If you require window authentication,
then you can capture this information easily. If everyone shares a SQL
Server login, then no, you will not be able to tell bob from fred because
they both authenticated as app_user.

> Can I track what was changed easily?

Yes. See http://www.aspfaq.com/2448 for some rough ideas.

> What kind of performance hit would this have on the system? Is this
better then Triggers?

In my experience, Profiler is a HUGE performance drain, but it really
depends on what you are doing. Again, there is no magic answer other than
to test it and compare.

> Any other suggestions would be helpful...or if you could point me to a
place I can research this more.

Rather than re-invent the wheel, why don't you just buy a third-party
package? The time and development resources you would have spent otherwise
will easily outweigh the one-time cost of a package.

http://www.aspfaq.com/2496

-- 
http://www.aspfaq.com/
(Reverse address to reply.)


Relevant Pages

  • Re: new email server
    ... BSD email platform to what I would expect from a brand new Microsoft ... and Mandrake and FC3 Linux platforms testing MTAs (Courier and Sendmail ... While I find that the Courier package is a more complete all ... authentication package and I recommend encrypting it all using SSL. ...
    (Fedora)
  • Re: How to get credentials for network access in authentication package?
    ... package is supposed to allow the calling logon package to get a complete ... "The LSA calls the authentication package interface functions in the ... credentials for network access are missing. ...
    (microsoft.public.platformsdk.security)
  • SUSE Security Announcement: squid (SuSE-SA:2004:016)
    ... The NTLM authentication helper application of Squid is vulnerable to ... Pending vulnerabilities in SUSE Distributions and Workarounds: ... The sitecopy package includes a vulnerable version of the ... A buffer overflow in psqlODBC could be exploited to crash the ...
    (Bugtraq)
  • [Full-Disclosure] SUSE Security Announcement: squid (SuSE-SA:2004:016)
    ... The NTLM authentication helper application of Squid is vulnerable to ... Pending vulnerabilities in SUSE Distributions and Workarounds: ... The sitecopy package includes a vulnerable version of the ... A buffer overflow in psqlODBC could be exploited to crash the ...
    (Full-Disclosure)
  • RE: NTP MD5
    ... There is nothing wrong with NTP software package. ... >> I am testing authentication with ntp-4.2.0. ... > Are you sure you are using that version and not the RedHat version? ...
    (comp.protocols.time.ntp)