Solved

Trace a specific database using SQL Profiler

Posted on 2009-06-30
8
700 Views
Last Modified: 2012-05-07
Our database server hosts multiple databases for various apps and I'd like to set up SQL Profiler to monitor a specific Database.  I do not know how to do this.

0
Comment
Question by:Paulconsulting
[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
  • 4
  • 3
8 Comments
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 24748778
Create a new trace, click on the filter settings, select either the database name or database Id and enter the name /id of the database
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24748801
Hope this gives you a brief idea on the usage of SQL Profiler using this document

http://articles.techrepublic.com.com/5100-10878_11-5054787.html

In Figure D,you have to choose the Database Name which you like to Audit.
Pictures slightly differ in SQL Server 2005 as the site shows SQL Server 2000 snapshots.

In 2005, You can start profiler from SSMS --> Tools

Hope this helps
0
 

Author Comment

by:Paulconsulting
ID: 24748812
where are the filter settings?
0
Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24748828
Hope you can see the Filter settings as mentioned in Figure D in the link above.
0
 

Author Comment

by:Paulconsulting
ID: 24748976
I don't have a filters tab - just one that says General and one that says Events Selection
0
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
ID: 24751965
Please find the snapshot attached for  SQL Server 2005 and steps to do this:

1. Click on Event Selection Tab in Trace Properties.
2. Check Show all Events and Show all Columns.
3. Now click on Column Filters.

Now you would be able to see DatabaseName and use that Filter accordingly.

Profiler.JPG
0
 

Author Closing Comment

by:Paulconsulting
ID: 31598506
Thanks :)
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24753509
Welcome..
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Selection from table2 where criteria for table1 10 66
My Query is not giving correct result. Please help 5 56
Help Required 2 54
Need help in debugging a UDF results 7 68
by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

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