• Skip to main content
  • Skip to primary sidebar

DBA Diaries

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

performance

SQL Server 2016 New Features – Live Query Statistics

May 26, 2016 by Andy Hayes Leave a Comment

enable sql server 2016 new features live query statistics

SQL Server 2016 Live Query Statistics provide a way to look into the execution plan to see what parts of the query are currently running. The advantage of this feature is that for a slow query, instead of having to wait for it to complete before the execution plan is available, it's now possible to view the execution plan in real time. Sometimes execution plans can be … [Read more...] about SQL Server 2016 New Features – Live Query Statistics

SQL Server 2016 New Features – Query Store

May 25, 2016 by Andy Hayes Leave a Comment

enable sql server 2016 new features query store

In this series of posts covering the new features in SQL Server 2016, I'm moving on to looking at the Query Store. This tool provides a way to track query execution plan performance over time to help assist troubleshooting efforts. Figuring out why the database has suddenly started running slowly can be at times difficult to diagnose quickly. The query store is an extra tool … [Read more...] about SQL Server 2016 New Features – Query Store

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 … [Read more...] about How to Find I/O Usage Per Database in SQL Server

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

Next Page »

Primary Sidebar

Categories

  • All Articles (82)
  • 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 (19)

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 move tempdb

Recent Posts

  • 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
  • How to Use SQL CASE for Conditional Logic in Your SQL Queries
  • Using ISNULL in SQL Server to Replace NULL Values

Search

Connect

  • Twitter
  • Facebook
  • Google+
  • RSS

About

  • Cookie Policy
  • Disclaimer
  • About
Copyright ©