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
Gouache painting: a tray of freshly glazed clay cups waiting on a drying rack beside a kiln, one cup with a vermilion glaze, the rest unglazed

Dirty Pages in Memory: Count Them Before and After CHECKPOINT

April 20, 2015
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Memory, SQL Scripts, SQL Server Architecture

Dirty pages in memory are changed data pages that SQL Server has not yet written to disk. This post counts them with sys.dm_os_buffer_descriptors on SQL Server 2025, before and after CHECKPOINT, and explains why the same script can show nothing on newer servers.

Read More
Gouache painting: a small wooden pantry shelf with a second overflow shelf beside it, but a single glass jar of preserved lemons sits apart in its own sealed cabinet with a vermilion ribbon

Buffer Pool Extension and In-Memory OLTP: What Each One Caches

March 7, 2015
Pinal Dave
SQL Performance
In-Memory OLTP, SQL DMV, SQL Memory, SQL Server Architecture

Buffer Pool Extension caches clean pages of disk-based tables on an SSD. Memory-optimized tables have no pages, so it cannot hold them. This post proves it on SQL Server 2025 with two tables and read-only checks.

Read More
Soap slicing wire beside many thin bars and a few thick bars

Reads per Execution: Ranking Queries by Average I/O

January 31, 2015
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Monitoring, SQL Performance

The query with the most total reads is not always the one to tune first. Here is how to rank by cost per call and read the spread.

Read More
A combine harvester waiting with its grain arm out while a small red cart slowly returns across the field

Is It the Database? Reading ASYNC_NETWORK_IO

December 16, 2014
Pinal Dave
SQL Performance
Computer Network, SQL DMV, SQL Server, SQL Wait Stats

Investigate ASYNC_NETWORK_IO with request and task evidence, check client consumption, and separate large outputs from network faults.

Read More
Coal shovels beside an outdoor coal pile and an indoor bucket

Physical Reads per Query: Finding What Drives Disk I/O

December 12, 2014
Pinal Dave
SQL Tips and Tricks
Disk, SQL DMV, SQL Performance

The storage team asks which query hit the disks. Here is how to answer with physical reads, and why the answer depends on how you rank them.

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
A hand checking the soil of one red window box on a tall apartment building

Azure SQL Database Wait Stats: Reading sys.dm_db_wait_stats

November 4, 2014
Pinal Dave
SQL Performance
SQL Azure, SQL DMV, SQL Performance, SQL Wait Stats

Read Azure SQL Database wait stats with sys.dm_db_wait_stats, identify log-rate governance, and compare resource percentages before scaling.

Read More
Previous 1 … 23 24 25 26 27 28 29 … 45 Next
  • Books
  • Testimonials
  • Privacy Policy

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