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
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
Gouache painting of a xylophone with grey bars on the left and vermilion bars on the right, with a mallet beside it

max_column_id_used: How Many Columns a Table Once Had

July 29, 2021
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL DMV, SQL Scripts, SQL Table Operation

The max_column_id_used column shows how many columns a table ever had. See it grow, find tables that lost columns, and avoid treating column_id as a position.

Read More
query cost

Tuning Query Cost 100% – SQL in Sixty Seconds #181

July 27, 2021
Pinal Dave
SQL Video
Execution Plan, SQL in Sixty Seconds, SQL Scripts, SQL Server

After the blog posts, lots of people asked me to build a video so here is the video discussing the topic of Tuning Query Cost 100%.

Read More
Gouache painting of a row of measuring jugs at different levels with a fresh one filled through a vermilion funnel

UPDATEUSAGE and Space: What It Fixes and What It Does Not

July 26, 2021
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Scripts, SQL Server DBCC

UPDATEUSAGE and space are two jobs: the command corrects page and row counts but frees no space. See a test where it finds nothing and a rebuild shrinks the table.

Read More
Previous 1 … 7 8 9 10 11 12 13 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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