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 vermilion cart rolling crates up a wide ramp onto a boat while a narrow plank stands unused

CHECKPOINT Duration: Can You Speed Up a Manual CHECKPOINT?

June 18, 2019
Pinal Dave
SQL Performance
Best Practices, SQL Memory, SQL Scripts, SQL Server

The CHECKPOINT duration argument sets a target time in seconds. This post times a manual checkpoint on a database with 130 MB of dirty pages, and shows that a long duration slows it badly while a short one does not make it faster. It also shows that a backup flushes dirty pages by itself.

Read More
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
Paint brushes with clean and colored bristles stand together in a glass jar

How Dirty or Clean is SQL SERVER’s Memory? – Interview Question of the Week #229

June 16, 2019
Pinal Dave
SQL Interview Questions and Answers

Question: How Dirty or Clean SQL SERVER Database is (by Memory)?
This blog post is the follow up of the earlier blog post on the same subject.

Read More
Bluetooth volume control issue illustrated by a faucet whose control is separate from the main slider

Personal Technology – Bluetooth Volume Problem with Windows Volume Control

June 15, 2019
Pinal Dave
Personal
Personal Technology, Windows

Bluetooth volume stays the same from 1 to 100 in Windows? Diagnose Absolute Volume, use a reversible fix, and restore the original setting.

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
Two toggle clamps securing a wooden piece against separate reference blocks

Foreign Key Checks in Insert Plans: The Cost of Each Constraint

June 13, 2019
Pinal Dave
SQL Tips and Tricks
Primary Key, SQL Constraint and Keys, SQL Server

Before you drop a foreign key to speed up a load, look at what it costs. This walk-through shows the Assert, the two parent lookups, and the trust trap.

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
Previous 1 … 158 159 160 161 162 163 164 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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