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
Several similar sparrows and one different bird gather at a feeder

How to Find Cardinality or Uniqueness for any Column? – Interview Question of the Week #177

June 10, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Index, SQL Performance, SQL Scripts, SQL Server

What is Cardinality, and how do you find it for a column? This simple script shows the percentage of unique values, using an AdventureWorks table.

Read More
Gouache painting of five glasses of water at different levels with the fullest one rimmed in vermilion

Find Memory Used by Each Database in SQL Server

June 9, 2018
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Memory, SQL Scripts, SQL Server

To see the memory used by each database, count its pages in the buffer pool with sys.dm_os_buffer_descriptors. This post builds a small demo database, shows buffer and dirty page sizes before and after a checkpoint, explains the row with no name, and covers what the buffer pool numbers leave out, such as the plan cache.

Read More
Microsoft Cluster Service errors dialog box.

SQL SERVER – Install Error: Microsoft Cluster Service (MSCS) Cluster Verification Errors – Part 3

June 8, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL Server, SQL Server Cluster

Part 3: one more reason SQL Server setup can fail the MSCS cluster verification errors rule during install or AddNode, as seen at a client, and the fix.

Read More
SQL Server query plan.

SQL SERVER – How to Know Transaction Isolation Level for Each Session?

June 7, 2018
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Performance, SQL Scripts, SQL Server, Transaction Isolation

An outsourced app had teams using different coding standards, and performance suffered. Here is how to find the transaction isolation level of each session.

Read More
Gouache painting of a maintenance checklist beside an hourglass and marked calendar

Integration Services Evaluation Period Has Expired: Maintenance Plan Fails

June 6, 2018
Pinal Dave
SQL Tips and Tricks
Maintenance Plan, SQL Backup and Restore, SQL Error Messages, SSIS

The Integration Services evaluation period can expire while the Database Engine keeps running, and the maintenance plan that depends on it fails. In one client case backups stopped. These checks show how to find the failure, close the backup gap and identify the expiring component.

Read More
A wooden seesaw tipping as one more stone is added from a red bucket.

The Tipping Point: Why SQL Server Skips Your Nonclustered Index

June 5, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server

Find the tipping point where key lookups cost more than a scan, then compare covering and filtered indexes with measured reads.

Read More
A hand dropping bolts through a brass ring gauge, one oversized bolt caught on the rim

Linting T-SQL: Rules Worth Automating in a Build

June 4, 2018
Pinal Dave
SQL Tips and Tricks
Best Practices, DevOps, SQL Coding Standards, SQL Server

Use linting T-SQL to flag repeatable code risks, review catalog-based candidates, and automate confirmed rules without false certainty.

Read More
Previous 1 … 212 213 214 215 216 217 218 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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