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
checkpoint

SQL SERVER – Impact of CHECKPOINT and DBCC DROPCLEANBUFFERS on Memory

June 17, 2019
Pinal Dave
SQL Tips and Tricks
SQL Memory, SQL Scripts, SQL Server

Today we will discuss the Impact of CHECKPOINT and DBCC DROPCLEANBUFFERS on Memory. We will see how each of them clears dirty and clean pages from the buffer memory pool.

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
compiled

SQL SERVER – Natively Compiled Stored Procedures and Location of Compiler

June 12, 2019
Pinal Dave
SQL Performance
In-Memory OLTP, SQL Memory, SQL Scripts, SQL Server

I recently implemented a Memory Optimized Table solution at one of the large financial organizations while working on Natively Compiled Stored Procedures.

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
Gouache painting of three seedling pots on a greenhouse bench, one quietly covered by a glass cloche with a vermilion rim

MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT: How to Check It Is On

June 6, 2019
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, Snapshot, SQL Memory, SQL Scripts, Transaction Isolation

MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT is a database option, so DBCC USEROPTIONS never shows it. This post reads the option from sys.databases and from DATABASEPROPERTYEX, turns it on in a demo database and finds every database that has it. It also shows a guarded script you can reuse in deployments.

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
Previous 1 … 7 8 9 10 11 12 13 … 19 Next
  • Books
  • Testimonials
  • Privacy Policy

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