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 row of wooden trays of sawdust on a workbench with the overflowing one in vermilion

TempDB Performance: Five Settings to Check in SQL Server

June 19, 2019
Pinal Dave
SQL Performance
Best Practices, SQL Data Storage, SQL Scripts, SQL Server, SQL TempDB

TempDB performance depends on five settings that you can read in a few minutes: how big it is, how many data files it has, whether they match, how it grows and where it lives. Three read-only queries check each one. The post also explains what to do with the answers.

Read More
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
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
An added courtyard divider creates a side detour beside a visible direct route.

SQL SERVER – 3 Questions: An Index Reduces Performance of SELECT Queries

June 4, 2019
Pinal Dave
SQL Performance
SQL Index, SQL Server, SQL Training, Webinar

An index can reduce the Performance of SELECT Queries when it changes a particular plan unfavorably. Readers asked three follow-up questions.

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
Gouache painting of a vermilion spice rack crowding a kitchen counter beside a cutting board of sliced vegetables

Index Slows Down SELECT? What an Unused Index Costs You

May 28, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Statistics

An index slows down SELECT queries only in small ways when the plan never reads it. This post measures compile memory with twelve unused indexes, shows the plan change when a related index appears, and counts what every insert and update pays. The real bill arrives on writes.

Read More
Previous 1 … 39 40 41 42 43 44 45 … 127 Next
  • Books
  • Testimonials
  • Privacy Policy

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