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 sunny courtyard with wooden stools holding saplings, the front stool vermilion

Index a Computed Column in SQL Server

August 20, 2021
Pinal Dave
SQL Performance
Computed Column, SQL Index, SQL Performance, SQL Scripts

To index a computed column, define the formula once on the table and create a normal index on it. This post loads 200,000 rows, shows the scan, then the seek after the index, and tests the rules that decide whether SQL Server accepts the column.

Read More
A worn shuttle is inspected over its finite work area beside a fresh unworn tool.

SQL SERVER – High Frequency Cached Query Counts and Statement Metrics

August 12, 2021
Pinal Dave
SQL Performance
SQL Cache, SQL DMV, SQL Scripts, SQL Server

I measure High Frequency cached statements with decimal executions-per-second arithmetic. A customer wanted to identify the busiest queries.

Read More
A whole assembly is inspected separately from its three internal component workpieces.

SQL SERVER – Stored Procedure Timing and Cached Measurements

August 11, 2021
Pinal Dave
SQL Performance
Execution Plan, SQL Server Management Studio, SQL Statistics, SQL Stored Procedure

SET STATISTICS TIME reports CPU and elapsed execution time for Stored Procedures. A customer wanted to measure a run without adding statements manually.

Read More
An intact assembled panel remains available beside its preserved source tiles and assembly jig.

SQL SERVER – Using NOEXPAND with Indexed View

August 6, 2021
Pinal Dave
SQL Performance
SQL Server, SQL View

NOEXPAND treats an indexed view as stored indexed data instead of expanding its base tables. Customer results have differed.

Read More
A specialized jig and a generic guide are compared against differently shaped workpieces.

SQL SERVER – Parameter Sniffing and Bad Plan

August 5, 2021
Pinal Dave
SQL Performance
Parameter Sniffing, Query Hint, SQL Scripts, SQL Server

Disabling parameter sniffing does not guarantee that a bad plan becomes good. That remains my answer to the customer question.

Read More
Gouache painting of a vermilion locomotive with a carriage on a track beside an empty railway yard

Parallelism in Express Edition: What the Limits Mean

August 4, 2021
Pinal Dave
SQL Performance
Parallel, SQL CPU, SQL Scripts, SQL Server Express

Parallelism in Express Edition has its own reason code in the execution plan. This post reads that reason, shows the settings that keep a plan serial on any edition, and tests the check on a demo table.

Read More
Panels with pending and settled work remain distinct from a separate template case.

SQL SERVER – Dirty Pages Clean Pages and the Correct Cache Commands

August 3, 2021
Pinal Dave
SQL Performance
SQL Memory, SQL Scripts, SQL Server

Clean Pages have no outstanding data-file write, while dirty pages contain unwritten changes. A customer asked which state was better.

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

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