Solved

Trace a specific database using SQL Profiler

Posted on 2009-06-30
8
651 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
  • 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
 
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
create index to c1, c2 and c3 9 59
Need help with a query 3 41
ms sql + top 1 for each customer 3 36
Problem with SqlConnection 5 115
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now