Solved

Average Transaction Time in SQL Server

Posted on 2012-04-06
2
688 Views
Last Modified: 2012-07-27
Hi Experts,

I would like to understand how to gather the average transaction time in SQL Server 2005.
I see that there is a counter Transaction/Sec but not the avg. transaction.

Can you please help me with this....

Thanks,
0
Comment
Question by:dba2dba
[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
2 Comments
 
LVL 5

Assisted Solution

by:25112
25112 earned 500 total points
ID: 37816119
can you profile and save a trace and then calculate it?
select avg(duration) from tracetable where textdata = 'your query goes here'
0
 
LVL 5

Accepted Solution

by:
25112 earned 500 total points
ID: 37816393
or gather Transaction/Sec in a excel spreadsheet and then calculate average with a new formula...
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
help converting varchar to date 14 25
Connect to SQL 2008 r2 server over the Internet 4 23
Database Owner 3 21
user database (login sql or login windows) 3 32
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
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…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to shrink a transaction log file down to a reasonable size.

730 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