Solved

SQL profiler templates- custom vs default

Posted on 2015-01-16
3
156 Views
Last Modified: 2015-01-29
have you seen value in building your profiler templates and keeping for future use or are you satisfied generally with the default ones? if custom, then do you see value in porting it across servers in all situations/circumstances of issues?
0
Comment
Question by:25112
3 Comments
 
LVL 11

Assisted Solution

by:Nakul Vachhrajani
Nakul Vachhrajani earned 250 total points
ID: 40553440
Yes, and yes.

In our development and quality assurance work, we generally use our own custom templates that offer a mix of basic profiling, error capture and performance counters with custom filters so that everyone can have their own view containing only their activity.

For example, we start off from the TSQL_SPs default template, and then add the following events (at least):
Errors and Warnings -> User Error Message
TSQL->SQL:StmntCompleted

We then add a couple of columns, (HostName, Duration, etc) and add filters on it.

That being said, as the product supports newer SQL Server releases, we migrate the templates as well.

So, is there any other question in this regard? Are you facing any issues or just doing some scholarly research?
0
 
LVL 45

Accepted Solution

by:
Vitor Montalvão earned 250 total points
ID: 40553459
I never liked the default templates. For all these years working as DBA I already had customized templates.
It must sure that you'll need more than one template so you may use them depending on the issue (long running queries, errors, locks & deadlocks, user connections, ...).
0
 
LVL 5

Author Comment

by:25112
ID: 40577428
we are looking for right standards in this area.. thanks for your input, which helped.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Would coalesce be what I use here and, if so, how? 8 42
SQl query 19 13
t-sql splitting string column 5 26
Slow SQL query 12 21
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
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…

758 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

18 Experts available now in Live!

Get 1:1 Help Now