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
Aug19

Reading the Connectivity Ring Buffer for Dropped Connections

Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server
No Comments

The error log says nothing, but the connectivity ring buffer may remember. Here is how to read it and what it cannot tell you.

Continue Reading
Aug18

Size and Rows of Each Table in SQL Server, Indexes Included

Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL DMV, SQL Scripts, SQL Server
3 Comments

To list the size and rows of each table, add up the pages from sys.dm_db_partition_stats and split them into data, index and unused space. This post shows three traps in the common join query and checks the corrected result against sp_spaceused.

Continue Reading
Aug17

MAX Columns Ever Existed in Table – SQL in Sixty Seconds #182

Pinal Dave
SQL Video
SQL DMV, SQL in Sixty Seconds, SQL Server
No Comments

Earlier I wrote about SQL SERVER – MAX Columns ID Used in Table and lots of people asked me to create a video on this topic. Let us see the video.

Continue Reading
Aug16

Free Space in Database Files: Check Data and Log Files

Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Scripts, SQL Server, Transaction Log
1 Comment

To see the free space in database files, compare each file’s size with the pages it uses. This post gives one query for data and log files, adds the free space on the drive, and checks the log figure against a second source.

Continue Reading
Aug13

SQL SERVER – Rename View

Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL View
No Comments

When I rename view objects, I inspect references and retained definitions first. SSMS and sp_rename both need dependency planning.

Continue Reading
Aug12

SQL SERVER – High Frequency Cached Query Counts and Statement Metrics

Pinal Dave
SQL Performance
SQL Cache, SQL DMV, SQL Scripts, SQL Server
1 Comment

I measure High Frequency cached statements with decimal executions-per-second arithmetic. A customer wanted to identify the busiest queries.

Continue Reading
Aug11

SQL SERVER – Stored Procedure Timing and Cached Measurements

Pinal Dave
SQL Performance
Execution Plan, SQL Server Management Studio, SQL Statistics, SQL Stored Procedure
1 Comment

SET STATISTICS TIME reports CPU and elapsed execution time for Stored Procedures. A customer wanted to measure a run without adding statements manually.

Continue Reading
Previous 1 … 59 60 61 62 63 64 65 … 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