Solved

count of transactions per month or year

Posted on 2008-10-20
4
678 Views
Last Modified: 2012-05-05
I am running sql server 2005 on windows server 2003.  I have been asked to provide a count of transactions per year on the server so we can justify the cost of upgrading to a new server.  How can I get a transaction count for all databases???  Even if it is a count per minute or something, at least I will have a rough estimate.
0
Comment
Question by:PsychoDazey
  • 2
  • 2
4 Comments
 
LVL 32

Expert Comment

by:Daniel Wilson
ID: 22761002
SQL Server does not record the number of transactions.

If your application does, you're in luck.  Otherwise ... you're going to need to attach SQL Profiler and record the transactions for a time period & extrapolate from that.
0
 
LVL 6

Author Comment

by:PsychoDazey
ID: 22761114
The applications dont record number of transactions unfortunately.

What do I count in profiler?  How do I extrapolate it afterwards?
0
 
LVL 32

Accepted Solution

by:
Daniel Wilson earned 500 total points
ID: 22766354
What you do in Profiler is a trace.  You can save that as a file to review ... you may end up pasting results into Excel for analysis.

But if you find that over the course of an hour you have , for example, 1800 transactions ... then you can multiply that out to get a per-day figure.  Actually ... you may be more interested in peak usage.  In which case you'd want to capture a peak hour and perhaps divide to get transactions per minute or per second at peak.
0
 
LVL 6

Author Closing Comment

by:PsychoDazey
ID: 31507931
sorry, didn't mean to let this sit for so long.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
query execution hang 5 32
sql 2014,  lock limit 5 32
SQL Server - Set Value of Multiple Fields in One Query 10 25
Tsql query 6 22
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

823 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