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
A larger material cabinet shares finite workspace with a loom and other tools.

MySQL Performance – Slow Query and innodb_buffer_pool_size

August 9, 2021
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Memory, SQL Scripts

A small innodb_buffer_pool_size contributed to one customer slow MySQL query. The comparable SQL Server workload ran quickly.

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
Two daisy chains on a lawn with a gap between them, a child's hands starting a fresh chain

Recovery Model Changes and the Log Backup Chain

August 2, 2021
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Log, Transaction Log

Explain the log backup chain across FULL and SIMPLE changes, inspect recovery LSNs and backup history, and establish a new backup boundary.

Read More
A rag rug with broad repeated-color bands and distinct color transitions

Status Changes Only: Collapsing Repeated Rows With LAG

July 30, 2021
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Hundreds of repeated readings, three real changes. Here is how LAG finds them, and why a plain not-equal test quietly drops rows.

Read More
Previous 1 … 57 58 59 60 61 62 63 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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