Solved

sql 2008 trace table access

Posted on 2012-03-27
2
358 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

762 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