Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Tracking events

 
   Database Forums (Home) -> Programming RSS
Next:  how to do a full restore at HDR primary server  
Author Message
simon

External


Since: Jan 25, 2011
Posts: 2



(Msg. 1) Posted: Tue Jan 25, 2011 1:51 am
Post subject: Tracking events
Archived from groups: microsoft>public>sqlserver>programming (more info?)

I would like to know when somebody selects/update/insert data on some
of my tables.
What is the best practice for this scenario?
I thought to create new audit from security tab in Managment studio
and define new database audit specification.
All audit data I would write to file(I guess it is not possible to
write to some table).

I guess this is much better than writing triggers or using sql server
profiler trace data?
Is there some url with best practice for this scenario?

I have SQL2008 enetrprise server.

Thank you for your suggestions,
Simon

 >> Stay informed about: Tracking events 
Back to top
Login to vote
simon

External


Since: Jan 25, 2011
Posts: 2



(Msg. 2) Posted: Tue Jan 25, 2011 5:16 am
Post subject: Re: Tracking events [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 25 jan., 10:51, simon wrote:
> I would like to know when somebody selects/update/insert data on some
> of my tables.
> What is the best practice for this scenario?
> I thought to create new audit from security tab in Managment studio
> and define new database audit specification.
> All audit data I would write to file(I guess it is not possible to
> write to some table).
>
> I guess this is much better than writing triggers or using sql server
> profiler trace data?
> Is there some url with best practice for this scenario?
>
> I have SQL2008 enetrprise server.
>
> Thank you for your suggestions,
> Simon

I found out that on production I have standard version of SQL2008,
which doesn't support auditing.
What is the best alternative to achive the auditing, trigger or trace
file and if trace file, how?
I need to audit insert, update and delete statements on some of the
tables.

Thank you,
Simon

 >> Stay informed about: Tracking events 
Back to top
Login to vote
Bob Barrows

External


Since: Jan 25, 2011
Posts: 3



(Msg. 3) Posted: Tue Jan 25, 2011 9:44 am
Post subject: Re: Tracking events [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

A trigger can only respond to events that modify data, so it will not help
you monitor selects from the table.
You will need to either upgrade to enterprise, or purchase a third-party
tool such as the one from Idera.

simon wrote:
> On 25 jan., 10:51, simon wrote:
>> I would like to know when somebody selects/update/insert data on some
>> of my tables.
>> What is the best practice for this scenario?
>> I thought to create new audit from security tab in Managment studio
>> and define new database audit specification.
>> All audit data I would write to file(I guess it is not possible to
>> write to some table).
>>
>> I guess this is much better than writing triggers or using sql server
>> profiler trace data?
>> Is there some url with best practice for this scenario?
>>
>> I have SQL2008 enetrprise server.
>>
>> Thank you for your suggestions,
>> Simon
>
> I found out that on production I have standard version of SQL2008,
> which doesn't support auditing.
> What is the best alternative to achive the auditing, trigger or trace
> file and if trace file, how?
> I need to audit insert, update and delete statements on some of the
> tables.
>
> Thank you,
> Simon
 >> Stay informed about: Tracking events 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Best design for edit tracking? - Hey all, This is a general question. Here's my scenario: We have a legacy database. The core table within contains almost 4 million records in SQL Server. Currently we have a web front end which allows uses to search through the database for the..

Unique Constraint vs Primary Key? - I have a query that is taking too long to run... The table it is running on has a composite key made up of six columns in a table with 7 million or so records. From what I am reading, it sounds like a composite key is not ideal in terms of performance.....

How to Select a record that target field got more than one.. - i am using sql server 2000 My Sql not so good can some body help me out? Make it simple Let say I got a table as below Name: Table Name : Items Field Type ID integer, primary key,auto running number ItemCode varchar(50) Item ...

Problem with totaling - I have a [transaction] table which stores [account no], [date], [amount] with lots of transactions (say, 300,000 records). Old transactions will be modified and new transactions will be added from time to time. Assume my program needs the amount..

Data Dictionary - hi what is a data dictionary and can anyone give me an example / sample of it? thanks
   Database Forums (Home) -> Programming All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]