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 of a sand timer with vermilion sand between two trays of pears on a wooden table

CHECKPOINT Impact on Memory: Watch Dirty Pages Go to Zero

July 3, 2019
Pinal Dave
SQL Performance
SQL DMV, SQL Memory, SQL Scripts

CHECKPOINT impact on memory is easy to measure. This post counts the dirty and clean pages of one database before and after a checkpoint. Dirty pages drop to zero, the clean pages grow by the same amount, and nothing leaves memory.

Read More
Gouache painting of a stack of clean folded towels beside a vermilion basket of crumpled muddy ones

Dirty Pages and Clean Pages in the SQL Server Buffer Pool

June 14, 2019
Pinal Dave
SQL Performance
SQL DMV, SQL Memory, SQL Scripts, SQL Server

Dirty pages are pages in memory that SQL Server has changed but not yet written to the data file. This post counts dirty pages and clean pages per database and per object, then watches a CHECKPOINT bring the dirty count to zero. It also explains why you should not try to clean the buffer pool on a production server.

Read More
Crates are held firmly inside a vehicle by cargo straps

How Much Memory is in Locked Pages? – Interview Question of the Week #228

June 9, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Memory, SQL Scripts, SQL Server

Question: How Much Memory is in Locked Pages? Answer: Before we see the answer to this question, I suggest you read the blog post here first.

Read More
A sorted tray is ready for immediate use in front of ordinary closed storage boxes

How to List All Memory Optimized Tables in SQL Server? – Interview Question of the Week #227

June 2, 2019
Pinal Dave
SQL Interview Questions and Answers
In-Memory OLTP, SQL DMV, SQL Memory, SQL Performance

Question: How to List All Memory Optimized Tables in SQL Server? We will see two different scripts here: One for Database and Second for Tables.

Read More
A hotel luggage room where a sprawling heap of small overnight bags takes more floor than the trunks and suitcases

Plan Cache Memory by Cache Store: Where Plans Use Your RAM

May 30, 2019
Pinal Dave
SQL Performance
SQL Cache, SQL DMV, SQL Memory, SQL Server

Break down plan cache memory by cache store and object type, compare memory clerks, and investigate unused plans without cache clearing.

Read More
An empty park bench under falling blossoms shows why appearance alone cannot establish its last use

When was Table Accessed Last By User? – Interview Question of the Week #226

May 26, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Index, SQL Scripts, SQL Server, SQL Table Operation

When was a table accessed last by a user? When clients say a table is rarely used, I run this report to check before we create or drop indexes.

Read More
A newly lit pendant lamp illuminates an extinguished candle

When Was SQL Server Last Restarted? – Interview Question of the Week #225

May 19, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Scripts, SQL Server, SQL TempDB, Starting SQL

When was SQL Server last restarted? It is my first question in every Health Check, because a restart empties the DMVs and their performance history.

Read More
Previous 1 … 11 12 13 14 15 16 17 … 44 Next
  • Books
  • Testimonials
  • Privacy Policy

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