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 watered garden beds with one bed covered by a vermilion tarp

sp_autostats: See and Undo Automatic Statistics Updates

November 17, 2020
Pinal Dave
SQL Performance
SQL Scripts, SQL Server Configuration, SQL Statistics

The sp_autostats procedure shows and changes the automatic statistics update setting of one table, one index or one statistic. This post turns the setting off for a table, flips it back for one index, undoes it, and shows that the database level setting and the statistics themselves are untouched.

Read More
A row of market shutters locked with heavy padlocks at night, one held shut only by a twist of wire.

CHECK_POLICY and CHECK_EXPIRATION for SQL Logins

November 16, 2020
Pinal Dave
SQL Tips and Tricks
DBA, SQL Login, SQL Password, SQL Server Security

Audit CHECK_POLICY and password expiration for SQL logins, inspect LOGINPROPERTY evidence, and plan safe service-account exceptions.

Read More
Gouache painting of a cream ribbon running off a counter edge beside a tidy roll of wound cream and vermilion ribbon

Word Wrap in SSMS: Wrap Long Lines of T-SQL

November 13, 2020
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Configuration, SQL Server Management Studio

Word wrap in SSMS folds a long line of T-SQL at the edge of the window, so you read it without scrolling sideways. This post shows where to turn it on for every window, how to show the wrap marks, how to switch it for one window, and why it never changes your script.

Read More
An open folio remains available at the workbench beside a separate storage cabinet.

SQL SERVER – What is Logical Read?

November 12, 2020
Pinal Dave
SQL Performance
SQL Server, SQL Server Management Studio, SQL Statistics

A logical read requests a database page through the buffer cache. A customer asked about that measure after my STATISTICS IO video.

Read More
Bench, work-area and workpiece controls operate at three distinct scopes.

SQL SERVER – 3 Different Ways to Set MAXDOP

November 11, 2020
Pinal Dave
SQL Performance
MAXDOP, SQL CPU, SQL Scripts, SQL Server, SQL Server Configuration

There are 3 different MAXDOP scopes: instance, database and statement. Readers of my 16-versus-1 demonstration asked where to configure it.

Read More
16 CPU

SQL SERVER – 16 CPU vs 1 CPU : Performance Comparison – SQL in Sixty Seconds #142

November 10, 2020
Pinal Dave
SQL Video
Execution Plan, SQL CPU, SQL in Sixty Seconds, SQL Scripts, SQL Server

Well, let us figure out the answer to this question in today’s blog post where I will be doing a performance comparison of 16 CPU vs 1 CPU.

Read More
A continuous thread passes through an external fixture and returns to its loom.

SQL SERVER – PREEMPTIVE Waits and Scheduler Context

November 9, 2020
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Wait Stats

Preemptive waits can measure work outside SQL Server cooperative scheduling. A customer asked about their increase during a health check.

Read More
Previous 1 … 84 85 86 87 88 89 90 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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