Solved

sql 2008 trace table access

Posted on 2012-03-27
2
362 Views
Last Modified: 2012-04-25
I needed to know who is accessing three tables in SQL DB. There might be 20 developers in a list who might be accessing the table.
What events do I capture at the minimum for this? I was worried about the size, since I need to trace it for about a week or more.
Please let me know the minimum required events/filters that I can use
0
Comment
Question by:sqlserverdba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 32

Accepted Solution

by:
bhess1 earned 250 total points
ID: 37774173
Filters:  Filter for the table name in the SQL text.
             If more than the specified users access this table, then Filter the machine connections.  This is more reliable than filtering off of username, especially when there may be cases when testing is being done on a generic reporting user or some such.
Return SQL Text, username (check which version is most usable for you), machine.
0
 
LVL 8

Assisted Solution

by:avirups
avirups earned 250 total points
ID: 37883179
I would recommend you use SQL Server Audit as you are using sql 2008. This is a much less resource intensive option and is one of the new features of sql 2008.

All the details you need can be found in the following link:
http://www.bradmcgehee.com/2010/03/an-introduction-to-sql-server-2008-audit/
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question