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
An open protected archive case sits before shelves of closed cases ready for inspection.

SQL SERVER – Finding Last Backup Time for All Database

November 4, 2010
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL DMV, SQL Scripts, SQL Server

Last Backup Time comes from recorded history, which I check by backup type. Recovery still needs the files and a tested chain.

Read More
Gouache painting of a shelf of cloth-bound books with one book tilted out of the row and a vermilion ribbon bookmark hanging below it

Find the Last Read and Write Time of Every Table in SQL Server

October 31, 2010
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Index, SQL Scripts, SQL Server

Find the last read and write time of every table in SQL Server with sys.dm_db_index_usage_stats. The tests show what counts as a read, why an insert counts as a write, what an index rebuild does to the numbers, and what wipes them.

Read More
Two counters showing activity between day and night

SQL SERVER – Find Total Number of Transactions on Interval

October 4, 2010
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, SQL System Table

How many Transactions run on your server per minute? A handy script reads sys.dm_os_performance_counters twice with a WAITFOR DELAY between the reads.

Read More
A cable ferry crosses a calm river while a long line of cars waits on the near bank.

Monitoring Availability Group Health

August 9, 2010
Pinal Dave
SQL Tips and Tricks
AlwaysOn, DBA, SQL DMV, SQL High Availability, SQL Monitoring

Monitor availability group health through replica connection state, database synchronization, send and redo queues, and failover readiness checks.

Read More
SQL SERVER - Find Queries using Parallelism from Cached Plan

SQL SERVER – Find Queries using Parallelism from Cached Plan

July 24, 2010
Pinal Dave
SQL Performance
Best Practices, SQL DMV, SQL Scripts, SQL Server

A script by Feodor Georgiev that finds queries using parallelism from the cached plan, along with their plans. Please avoid running it on a busy production server.

Read More
Clustered Index B-Tree

SQL SERVER – Index Levels, Page Count, Record Count and DMV – sys.dm_db_index_physical_stats

July 4, 2010
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Index, SQL Scripts

How many pages does an index use, and how many B-Tree levels does it have? sys.dm_db_index_physical_stats shows index levels, page count and record count.

Read More
Table showing clustered index entries.

SQL SERVER – Data Pages in Buffer Pool – Data Stored in Memory Cache

June 17, 2010
Pinal Dave
SQL Performance
SQL DMV, SQL Scripts

What is in your memory cache? A query on sys.dm_os_buffer_descriptors shows the data pages in buffer pool for each table and index.

Read More
Previous 1 … 36 37 38 39 40 41 42 … 45 Next
  • Books
  • Testimonials
  • Privacy Policy

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