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 basket with a heap of clothes beside neat folded stacks, a vermilion shirt on top

Heap or Clustered Index: When a Heap Table Is the Right Choice

June 7, 2023
Pinal Dave
SQL Performance
Clustered Index, SQL Data Storage, SQL Heap, SQL Index

The heap or clustered index choice changes the reads of every scan. The demos measure forwarded records in a heap, a range query on both kinds of table, and the size of a nonclustered index on a wide key, and says when a heap is the right choice.

Read More
Recovery materials, inspection tools and a blank planning folio support a practical learning exercise.

Challenges and Opportunities for DBAs in the Next 5-10 Years: How to Prepare

June 6, 2023
Pinal Dave
SQL Tips and Tricks
Idera

DBA challenges and opportunities call for skills we can practice now. I focus on recovery, performance and judgment as tools change.

Read More
Gouache painting of a garage half full of stacked flower pots and half cleared, one stack vermilion

sp_delete_database_backuphistory: Prune msdb Backup History

June 5, 2023
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, System Database

The sp_delete_database_backuphistory procedure removes the backup and restore history of one database from msdb, and sp_delete_backuphistory does it by age. The demo counts the rows of a database before and after the delete and previews the delete by age. The last sections explain how to keep the history small.

Read More
last-valid-restore-time

SQL SERVER 2022 – Last Valid Restore Time – Improved Backup Metadata

June 2, 2023
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Server 2022

One significant addition to the backup metadata is the inclusion of the last valid restore time. In SQL Server 2022, a new improved backup metadata feature.

Read More
A puppeteer's hands gathering a marionette's loose strings onto one wooden control bar

Finding Permissions Granted Directly to Users Instead of Roles

June 1, 2023
Pinal Dave
SQL Tips and Tricks
DBA, SQL Scripts, SQL Server Security

Find permissions granted directly to users, generate role-based review statements, and preserve DENY, column, and grant-option distinctions.

Read More
A removable limiting rail bounds one assembly frame while the adjacent workstation remains separate.

Configuring Parallel Index Operations in SQL Server

May 31, 2023
Pinal Dave
SQL Performance
MAXDOP, SQL CPU, SQL Index

MAXDOP limits supported parallel index operations without changing unrelated instance settings. I choose the ceiling from the maintenance workload.

Read More
A hand pulling a lint filter packed thick with grey fluff from a tumble dryer full of damp towels.

Query Store Wait Stats: Why a Query Was Slow, Not Just That It Was

May 30, 2023
Pinal Dave
SQL Performance
Query Store, SQL Performance, SQL Server, SQL Wait Stats

Read Query Store wait stats by query, plan, interval, and category, then compare matched windows with execution counts and capture coverage.

Read More
Previous 1 … 37 38 39 40 41 42 43 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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