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
Optimize for Adhoc

Optimize for Ad Hoc Workloads – SQL in Sixty Seconds #173

June 10, 2021
Pinal Dave
SQL Video
Ad Hoc Query, Execution Plan, SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL Server Configuration

Today we are going to discuss if we should keep Optimize for Ad Hoc Workloads true or false. Let us see a detailed video about it.

Read More
Gouache painting of a closed garden gate with a brass padlock and a doormat with a small vermilion mark

Unlock SQL Login Without Changing the Password

June 9, 2021
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Password, SQL Scripts, SQL Server Security

Unlock SQL login accounts without a new password: switch CHECK_POLICY off and on. See the lockout, the fix, and what to do when MUST_CHANGE blocks it.

Read More
Avoid Join Hints

Avoid Join Hints – SQL in Sixty Seconds #172

June 8, 2021
Pinal Dave
SQL Video
Execution Plan, SQL in Sixty Seconds, SQL Joins, SQL Server

Question: If they can change the join hints to improve the performance of the query. Well, the reality is that I always Avoid Join Hints.

Read More
Gouache painting of three grey wheelbarrows in three furrows beside a wooden crate, and a small vermilion basket at a fourth narrow furrow

Table Variables and Parallelism: Reads Yes, Inserts No

June 7, 2021
Pinal Dave
SQL Performance
Parallel, SQL Scripts, SQL Variable, Temp Table

Table variables and parallelism: reads can run in parallel, inserts cannot. See the plan reason, the 1-row estimate at old levels, and when to use a temp table.

Read More
Gouache painting of three mountain paths from one post to the same hut, with a vermilion stone cairn on the middle path

Group by Query Hash: Find One Query With Many Plans

June 4, 2021
Pinal Dave
SQL Performance
Execution Plan, SQL Cache, SQL Performance, SQL Scripts

Group by query hash to add up every cached copy of one query. See why the top query hides across entries in SQL Server.

Read More
many plans

One Query Many Plans – SQL in Sixty Seconds #171

June 3, 2021
Pinal Dave
SQL Video
Execution Plan, SQL Cache, SQL in Sixty Seconds, SQL Performance, SQL Server

After the blog post, lots of people asked me it will be more helpful if I can create a video on the same topic of one query many plans.

Read More
Gouache painting of two identical teapots on separate shelves, one on a vermilion saucer

Same Query Plan, Different Cache Entry in SQL Server

June 2, 2021
Pinal Dave
SQL Performance
Ad Hoc Query, Execution Plan, SQL Cache, SQL Scripts

The same query plan can sit in the cache many times when query text changes by a space, a letter case or a comment. See it, measure it and learn how to share one entry.

Read More
Previous 1 … 63 64 65 66 67 68 69 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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