Solved

Get database usage report

Posted on 2014-02-17
2
174 Views
Last Modified: 2014-02-26
I am looking for information on database usage.

1) Number of requests made to database in past two months (on date basis)
for example, 1/1/2014 - 100 requests made, 2/1/2014 - 94 and so on

2) also I am looking for info on number of unique usernames this from request was made from

Any script I can use to query this information?

-----------
database is hosted on SQL server 2008
0
Comment
Question by:cynx
[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 Comments
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 250 total points
ID: 39864917
If you are not logging these requests in some form or fashion, you are to put it bluntly SOL.
0
 
LVL 69

Assisted Solution

by:Scott Pletcher
Scott Pletcher earned 250 total points
ID: 39865216
SQL Server does not by default keep a file or table of database connections.  It would be huge overhead that most people would never use.

Therefore, if you need that type of info, you must put something into place to capture that info into a file or table.
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to shrink a transaction log file down to a reasonable size.

726 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