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 small chest with one vermilion drawer open beside a pile of wooden planks

Rebuild All Indexes on a Table in SQL Server: SSMS and T-SQL

April 7, 2020
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Scripts, SQL Server Management Studio

To rebuild all indexes on a table, right-click the Indexes folder in SSMS and choose Rebuild All, or run ALTER INDEX ALL with REBUILD. This post checks fragmentation first, rebuilds a demo table and shows what the command does to a disabled index. It also compares REBUILD with REORGANIZE and the options that matter.

Read More
A faceted gemstone is inspected with a freestanding magnifying lens under a lamp

How to Check Database Performance Facets in SQL Server? – Interview Question of the Week #270

March 29, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Performance, SQL Server Management Studio

Question: How to Check Database Performance Facets in SQL Server?
It is very simple to find out the facets of SQL Server Just follow the diagrams listed.

Read More
A boat ramp ending in dry cracked mud with a red buoy at its foot, the lake shrunk far away

Stale Statistics: Detecting and Updating Them

March 20, 2020
Pinal Dave
SQL Performance
DBA, Execution Plan, SQL Performance, SQL Server Agent, SQL Statistics

Detect stale statistics with update properties, review modification thresholds, and schedule targeted refreshes with recorded outcomes.

Read More
Two strings of drying chillies by a window, one twice as long, a red needle on the sill.

Proving a Tuning Change Worked With Before and After Numbers

March 10, 2020
Pinal Dave
SQL Performance
Best Practices, Query Store, SQL Performance, SQL Server

Prove a tuning change with before and after numbers from Query Store for CPU, reads, duration, and comparable execution volume.

Read More
A boot mud scraper bearing fresh mud while clean ground surrounds it

Listing Objects Changed Since the Last Release With modify_date

February 25, 2020
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

modify_date shows what changed after a release, but never what was dropped. Here is a small baseline trick that fills the gap.

Read More
Four greenhouse water reservoirs show different levels of resource use

How to Measure Resource Status on Azure? – Interview Question of the Week #264

February 16, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Azure, SQL Performance, SQL Scripts, SQL Server

Every single time when I start working with Azure, I always want to know what is the status of Azure resource status or consumption in the last hour.

Read More
Corks pass a waterwheel in a steady stream, illustrating throughput

How to Measure Transactions Per Seconds in SQL Server? – Interview Question of the Week #262

February 2, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Performance, SQL Scripts, SQL Server, SQL Transactions, Windows

Question: How to Measure Transactions Per Seconds in SQL Server?
I have updated the script for this for Comprehensive Database Performance Health Check.

Read More
Previous 1 … 14 15 16 17 18 19 20 … 54 Next
  • Books
  • Testimonials
  • Privacy Policy

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