This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
Table showing results of queries.

SQL SERVER – Knowing Which Database is Consuming My Memory

August 5, 2015
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Memory

Which database is consuming my memory? This query on sys.dm_os_buffer_descriptors counts buffer pool pages per database and page type.

Read More
SQL SERVER - WARNING - SQL Server Has Encountered N Occurrence(s) of I/O Requests Taking Longer Than 15 Seconds

SQL SERVER – WARNING – SQL Server Has Encountered N Occurrence(s) of I/O Requests Taking Longer Than 15 Seconds

May 15, 2015
Pinal Dave
SQL Tips and Tricks
SQL Counter, SQL DMV, SQL Error Messages, SQL Log, SQL Server

Seeing ‘I/O requests taking longer than 15 seconds’ in the ERRORLOG? Here is what this common warning means and where to look for the slow disk behind it.

Read More
Database id 7 allocation unit_id 72057940501050814.

SQL SERVER – Table Space Allocation Details using DMV

November 5, 2014
Pinal Dave
SQL Tips and Tricks
SQL DMV

Beyond DBCC IND and EXTENTINFO, the DMV dm_db_database_page_allocations shows table space allocation details. My friend Balmukund pointed me to it.

Read More
Select results from sys.systproceses table.

SQL SERVER – How to See Active SQL Server Connections For Database

August 24, 2014
Pinal Dave
SQL Tips and Tricks
SQL DMV

A reader asked which users are connected to a database and with how many connections. This short script lists active SQL Server connections by login.

Read More
SQL SERVER - Finding Last Backup Time for All Database – Last Full, Differential and Log Backup - Optimized

SQL SERVER – Finding Last Backup Time for All Database – Last Full, Differential and Log Backup – Optimized

April 14, 2014
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL DMV

An optimized script from SQL expert TheSQLGuru that shows the last backup time for all databases, covering the last full, differential and log backup.

Read More
SQL SERVER - sys.dm_xe_map_values - Reasons for Statement Recompilation

SQL SERVER – sys.dm_xe_map_values – Reasons for Statement Recompilation

May 5, 2013
Pinal Dave
SQL Tips and Tricks
SQL DMV

What are all the reasons a statement recompiles? I found the full list with the DMV sys.dm_xe_map_values, handy when you read a Profiler or Extended Events trace.

Read More
SQL SERVER - Identify Last User Access of Table using T-SQL Script

SQL SERVER – Identify Last User Access of Table using T-SQL Script

March 21, 2013
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts

How do you find the last user access of a table? A question at TechEd India 2013 led to this quick DMV script. Keep in mind the data resets on restart.

Read More
Previous 1 … 15 16 17 18 19 20 21 … 24 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com