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
Gouache painting: a long narrow wooden shelf extension built onto a small full pantry cabinet that is too large for the room, one jar with a vermilion lid

Msg 864: Buffer Pool Extension Size Over the Limit

February 28, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Memory, SQL Server Configuration, SQL Server Services

Msg 864 means a buffer pool extension file is larger than SQL Server allows for the memory in the machine. This post gives the limits, four read-only checks tested on SQL Server 2025, and the steps to start a server that will not boot.

Read More
Gouache painting: a small wooden coat rack in a hallway with every peg full and a stack of folded coats leaning against the wall, one last coat in a basket with nowhere to hang; one vermilion scarf on the basket coat

Insufficient System Memory: Msg 701 in a Resource Pool

January 26, 2015
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, Resource Governor, SQL Error Messages, SQL Memory, SQL Scripts

Msg 701 reports insufficient system memory in a resource pool. This post reproduces it safely with a memory-optimized table on SQL Server 2025, shows the second message you get when the rows fill the pool, and lists the fixes that worked.

Read More
Gouache painting: a pantry shelf with one wooden crate fenced off by a rope barrier and filled with pears, the other shelves open and crowded; one vermilion ribbon tied on the fenced crate

Bind Resource Governor to a Memory-Optimized Database

January 24, 2015
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, Resource Governor, SQL Memory, SQL Scripts

To bind Resource Governor to a memory-optimized database, you create a pool, bind it with one stored procedure and restart the database. This post runs each step on SQL Server 2025, proves the binding with the pool memory, and restores the server.

Read More
A row of stable stalls, most with one pony, a few empty, and one crowded with three ponies.

Hash Index Bucket Count for Memory-Optimized Tables

December 1, 2014
Pinal Dave
SQL Performance
In-Memory OLTP, SQL Index, SQL Memory, SQL Server

Size hash index bucket count from distinct keys, inspect empty buckets and chains, rebuild a test index, and choose range indexes wisely.

Read More
InMemory SQL Server Stored Procedures.

SQL SERVER – Location of Natively Compiled Stored Procedure and Naming Convention

September 16, 2014
Pinal Dave
SQL Performance
In-Memory OLTP, SQL Memory

Why is it called a natively compiled stored procedure when the code is T-SQL? I explain, and show a DMV query that finds where its DLL is loaded from.

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

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