• Skip to main content
  • Skip to primary sidebar

DBA Diaries

Thoughts and experiences of a DBA working with SQL Server and MySQL

How to Find I/O Usage Per Database in SQL Server

May 15, 2016 by Andy Hayes 3 Comments

find io usage per database in sql server

If you're looking at performance and trying to understand I/O on a per database level in SQL Server, sadly there is not a report in Management Studio that you can run from those available. It will need some T-SQL to pull out this information from an existing DMV - sys.dm_io_virtual_file_stats. The information returned by the DMV is data which has been recorded since the SQ … [Read more...] about How to Find I/O Usage Per Database in SQL Server

How to Get SQL Server Developer Edition for Free

May 14, 2016 by Andy Hayes Leave a Comment

sql server developer edition is free

SQL Server Developer Edition - whether you are wanting to learn the product at home to advance your career or you need a copy for your enterprise to test and develop on, it's historically been a good investment for relatively little cost. Personally for home use, I have always downloaded the evaluation versions of SQL Server that expire after 6 months. That's kind of … [Read more...] about How to Get SQL Server Developer Edition for Free

How to List CPU Usage Per Database in SQL Server

May 14, 2016 by Andy Hayes 2 Comments

find cpu usage per database in sq server

As a DBA there may be a time when you want to try and ascertain how much CPU time each of your databases is consuming. This is useful to complement high CPU investigations or to just try and understand which of your databases overall is the highest CPU consumer over time. The out of the box reporting that Management Studio provides is sadly missing this report so we have to … [Read more...] about How to List CPU Usage Per Database in SQL Server

How to Find Buffer Pool Usage Per Database in SQL Server

May 10, 2016 by Andy Hayes 1 Comment

As a DBA it's important to understand what the buffer pool is doing and which databases are using it the most. Data in SQL Server is stored on disk in 8k pages. The buffer pool (Aka "buffer cache") is a chunk of memory allocated to SQL Server. It's size is determined by the minimum and maximum memory settings in SQL Server memory options: sp_configure 'min server memory … [Read more...] about How to Find Buffer Pool Usage Per Database in SQL Server

Revoking Access for All Users of a Database in SQL Server

May 9, 2016 by Andy Hayes Leave a Comment

evoke access for all users in a sql server database

I love Management Studio for SQL Server but sometimes it just doesn't cut the mustard. I had a scenario recently where I needed to revoke access for all users from a database. I could delete them all but that would be more effort than necessary. I just wanted to deny access to a specific database. To my knowledge, there is not a quick way to do this and so I had to write s … [Read more...] about Revoking Access for All Users of a Database in SQL Server

« Previous Page
Next Page »

Primary Sidebar

Categories

  • All Articles (84)
  • Career Development (8)
  • MySQL Administration (18)
  • MySQL Performance (2)
  • SQL Server Administration (24)
  • SQL Server News (3)
  • SQL Server Performance (14)
  • SQL Server Security (3)
  • SQL Tips and Tricks (21)

Top 10 Popular Posts

  • Using sp_change_users_login to fix SQL Server orphaned users
  • MySQL SHOW USERS? – How to List All MySQL Users and Privileges
  • How to shrink tempdb
  • How to Transfer Logins to Another SQL Server or Instance
  • How to Delete Millions of Rows using T-SQL with Reduced Impact
  • T-SQL – How to Select Top N Rows for Each Group Using ROW_NUMBER()
  • New T-SQL features in SQL Server 2012 – OFFSET and FETCH
  • How to Kill All MySQL Processes For a Specific User
  • Using exec sp_who2 to help with SQL Server troubleshooting
  • How to fix “conversion failed when converting date and/or time from character string”

Recent Posts

  • How to fix “conversion failed when converting date and/or time from character string”
  • Using SQL GROUPING SETS for Multiple GROUP BY Queries in a Single Query
  • How to Setup MySQL Master Master Replication
  • How To Use SQL to Convert a STRING to an INT
  • How to set up MySQL Replication Tutorial

Search

Connect

  • Twitter
  • Facebook
  • RSS

About

  • Cookie Policy
  • Disclaimer
  • About
Copyright ©