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 open beach umbrellas with one closed vermilion umbrella at the end

Visible Offline Schedulers: Find CPUs SQL Server Ignores

May 12, 2020
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Monitoring, SQL Server Configuration

Visible offline schedulers are CPUs that Windows shows and SQL Server refuses to use. This post reads the scheduler status with tested queries, compares it with the CPU count and affinity, and explains the two common causes. It also shows the statement that returns the CPUs to automatic affinity.

Read More
Gouache painting of pears spread evenly across a market table with one vermilion pear in the middle

Nonclustered Primary Key Test: Last Page Insert Waits

May 11, 2020
Pinal Dave
SQL Performance
Primary Key, SQL Constraint and Keys, SQL Identity, SQL Wait Stats, Testing

A nonclustered primary key test shows whether a heap fixes last page insert waits. On SQL Server 2025 it doesn’t, because the key index still rises. A lane layout that spreads the inserts removes the latch wait, and the post shows the cost of that layout.

Read More
A full workshop toolkit beside a smaller toolkit for a finished project

Where to Download SQL Server 2019 for FREE? – Interview Question of the Week #276

May 10, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Download, SQL Sample Database, SQL Server, SQL Server 2019, SQL Server Management Studio

Question: Where to Download SQL Server 2019 for FREE?

Answer: This is one of the most popular questions, I keep on receiving from blog readers.

Read More
Gouache painting of a gravel track branching into footpaths leading to three sheds, the nearest with a vermilion door

Windows Path Variable: Run oStress From Any Folder

May 9, 2020
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Utility, sqlcmd, Windows

The Windows Path variable is a list of folders that Windows searches when you type a program name. This post shows how to test a change in one window, add a folder for good and check that it works. It uses oStress and sqlcmd as the examples and ends with rules for a clean Path.

Read More
A market stall of identical brown paper bags, a hand opening them one by one to find what is inside.

Entity-Attribute-Value Tables: Why They Hurt Queries

May 8, 2020
Pinal Dave
SQL Tips and Tricks
JSON, Normalization, Schema, SPARSE Columns, SQL Server

Understand entity-attribute-value query costs, lost types, indexing limits, and alternatives using real columns, sparse columns, or JSON.

Read More
Testing with oStress

Stress Testing with oStress – SQL in Sixty Seconds #087

May 7, 2020
Pinal Dave
SQL Video
SQL Download, SQL in Sixty Seconds, SQL Performance, SQL Server, Testing

One of the things which we cover in my  Comprehensive Database Performance Health Check is how to do Load Testing or Stress Testing with oStress.

Read More
Gouache painting of an empty wooden pier ending in a lamp post, small boats bunched around its end and a small vermilion buoy

OPTIMIZE_FOR_SEQUENTIAL_KEY: Test the Last Page Insert Fix

May 6, 2020
Pinal Dave
SQL Performance
Primary Key, SQL Identity, SQL Server 2019, SQL Wait Stats, Testing

OPTIMIZE_FOR_SEQUENTIAL_KEY is an index option that targets last page insert contention. This post tests it with 32 connections that insert into a clustered identity key, with the option off and on. The option changes the kind of waiting, and the post shows how to decide whether it helps your table.

Read More
Previous 1 … 111 112 113 114 115 116 117 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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