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
May30

Scalar Function Statistics With sys.dm_exec_function_stats

Pinal Dave
SQL Performance
SQL DMV, SQL Function, SQL Performance, SQL Server
No Comments

Read dm_exec_function_stats to rank scalar UDF activity, inspect callers, verify collection settings, and recognize inlined work.

Continue Reading
May29

Ask the Experts: Database Performance Roundtable by Quest

Pinal Dave
SQL Tips and Tricks
Quest
No Comments

Today I am going to talk about my motivation behind  Ask the Experts: Database Performance Roundtable. Questions are Conversation Extenders.

Continue Reading
May28

Memory Used by Each Table in the SQL Server Buffer Pool

Pinal Dave
SQL Performance
SQL DMV, SQL Memory, SQL Scripts, SQL Server
2 Comments

Memory used by each table is the number of its pages in the buffer pool times 8 KB. This post adds them up with sys.dm_os_buffer_descriptors, shows why a plain division by 128 hides small tables, and compares the cached pages with the pages each table owns on disk.

Continue Reading
May27

Buffer Pool Pages for One Table in SQL Server

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

Buffer pool pages for one table show how much of one table sits in memory right now. This post lists them by index, page type and page level with sys.dm_os_buffer_descriptors, then shows which pages a seek, a scan and a large text read pull in. It uses the join that the documentation gives for each allocation unit type.

Continue Reading
May26

Schema Changes History Has No Data: Check Default Trace Enabled

Pinal Dave
SQL Tips and Tricks
Schema, SQL Reports, SQL Scripts, SQL Server Configuration, SQL Server Management Studio
No Comments

The Schema Changes History report can say it has no data to show. A client saw this message in SSMS. Check that default trace enabled is 1, make a schema change, and run the report again.

Continue Reading
May25

SQL SERVER – Validating Positive Integer Strings with Explicit Boundaries

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

To Validate Natural integer strings, I define a nonempty positive ASCII-digit contract. A customer wanted a simpler validator.

Continue Reading
May24

How to Alter Index to Add New Columns in SQL Server? – Interview Question of the Week #278

Pinal Dave
SQL Interview Questions and Answers
SQL Index, SQL Performance, SQL Scripts, SQL Server
1 Comment

Question: How to Alter Index to Add New Columns in SQL Server? 

Answer: It is not possible to Alter Index definition to add or remove columns.

Continue Reading
Previous 1 … 111 112 113 114 115 116 117 … 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