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
Feb15

Forwarded Records and Performance – SQL in Sixty Seconds #155

Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Heap, SQL in Sixty Seconds, SQL Scripts, SQL Server
No Comments

Forwarded records make SQL Server read extra pages when it scans a heap. In this SQL in Sixty Seconds video, I explain forwarded records and performance.

Continue Reading
Feb12

Which Tables Are Huge: Rows Versus Size in SQL Server

Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server
4 Comments

Rows versus size decides which tables are huge in SQL Server. One query reads sys.dm_db_partition_stats and ranks every table twice, by rows and by size. A demo shows 300 rows that outweigh 300,000 rows, and why the older join misleads.

Continue Reading
Feb11

Internal Temporary Tables in MySQL: When a Query Spills to Disk

Pinal Dave
SQL Performance
MariaDB, MySQL, SQL Performance, SQL Scripts
No Comments

MySQL and MariaDB build internal temporary tables behind your back for GROUP BY, DISTINCT, UNION and derived tables. This post counts them with status counters, reads them in EXPLAIN, shows what pushes one to disk, and removes one with an index.

Continue Reading
Feb10

SQL SERVER – Check Backup Reliability

Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server
1 Comment

Backup Reliability needs a successful restore followed by integrity and application validation. Customers ask whether they can skip that exercise.

Continue Reading
Feb9

SQL SERVER – Finding Fragmentation in Forwarded Records

Pinal Dave
SQL Performance
SQL Data Storage, SQL Heap, SQL Scripts, SQL Server
No Comments

Finding Fragmentation in a heap also requires a separate check for forwarded records. I measure their effect before choosing maintenance.

Continue Reading
Feb8

SQL SERVER – Who Dropped Table? Part 2

Pinal Dave
SQL Tips and Tricks
SQL Log, SQL Scripts, SQL Server, SQL Server Security
No Comments

A dropped table can leave transaction-log clues, but those clues are not a complete audit trail. My original investigation had limits.

Continue Reading
Feb5

Running Totals That Reset Every Month

Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server
No Comments

Calculate running totals that reset by calendar month, customer, or fiscal period, using stable ordering and explicit ROWS frames.

Continue Reading
Previous 1 … 78 79 80 81 82 83 84 … 846 Next

SQL Server slow? Let's fix it together in about four hours.

Pinal Dave

In my Comprehensive Database Performance Health Check, you share your screen, I guide you, and we fix your biggest performance troublemakers. No passwords. No remote access.

You keep every script, and the know-how to fix it yourself next time.

Want your whole team to learn it?

My Practical Workshop has no PowerPoint, just live demos. My AI Enablement Workshop shows your team where AI saves hours, and where it quietly costs them.

Over 400 customers have worked with me this way, and not one shared a password. See all consulting options.


Who We Are

Pinal Dave is an SQL Server Performance Tuning Expert and independent consultant with over 24 years of hands-on experience. He holds a Masters of Science degree and numerous database certifications.

Pinal has authored 19 books and 125 Pluralsight courses. To freely share his knowledge and help others build their expertise, Pinal has also written more than 5,800 database tech articles on his blog at https://blog.sqlauthority.com.

Pinal is also a CrossFit Level 1 Trainer (CF-L1) and CrossFit Level 2 Trainer (CF-L2).


Nupur Dave is a social media enthusiast and an independent consultant. She primarily focuses on the database domain, helping clients build short and long-term multi-channel campaigns to drive leads for their sales pipeline.


Shaivi Pinalkumar Dave is a book author and a women’s artistic gymnast.

  • Books
  • Testimonials
  • Privacy Policy

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