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
A settled bookcase and a mobile bookcase suggest different patterns of access and change

How to Determine Read Intensive and Write Intensive Tables in SQL Server? – Interview Question of the Week #251

November 17, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Scripts, SQL Server

Question: How to Determine Read Intensive and Write Intensive Tables in SQL Server?

Answer: The script is very simple and lets us see in the blog.

Read More
Three nearly identical rakes on a shed wall and a fourth new red-handled rake by the door.

Missing Index Suggestions: Three Checks Before You Create One

November 12, 2019
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Performance, SQL Server

Review missing index suggestions against existing indexes, key order, and INCLUDE size before adding extra write overhead.

Read More
Gouache painting of a mountain stream blocked by one large vermilion stone with water backing up behind it

Session Wait Stats: Find the Query Behind a Wait Type

October 26, 2019
Pinal Dave
SQL Performance
SQL DMV, SQL Scripts, SQL Server, SQL Wait Stats

Session wait stats tell you which session produced a wait type, and the input buffer tells you which query that session ran. This post shows how to see who waits right now, how to read the wait history of each session, and how to join them to the query text. It also explains the THREADPOOL wait.

Read More
Gouache painting of four wooden chests in an attic with their keys in front and one key in vermilion

Memory-Optimized Files: List Logical and Physical Names

October 4, 2019
Pinal Dave
SQL Performance
In-Memory OLTP, SQL DMV, SQL Memory, SQL Scripts

To list memory-optimized files, join sys.dm_db_xtp_checkpoint_files to sys.database_files. This post builds a small memory-optimized database, shows the container’s logical and physical name and counts its checkpoint files by type and state. It also explains why a container holds far more disk space than its data uses.

Read More
A bike rack with one long red chain looped through every slot while a cyclist waits with nowhere to park

Counting Locks per Session With sys.dm_tran_locks

September 13, 2019
Pinal Dave
SQL Performance
SQL DMV, SQL Lock, SQL Server, SQL Transactions

Count locks per session by resource and mode, connect open transactions, and recognize escalation while keeping snapshot limits clear.

Read More
A leather satchel on a station bench, its strap buckled tight but its brass clasp hanging open

Listing Driver, Encryption and Auth Scheme for Every Connection

September 3, 2019
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL DMV, SQL Server, SQL Server Encryption, SQL Server Security

Inspect the auth scheme, encryption, driver interface, and protocol for current SQL Server connections, then group the results clearly.

Read More
Gouache painting of a balance scale tipping toward a vermilion basket of apples against a few pears

Read Heavy Workload or Write Heavy: Measure It in SQL Server

August 24, 2019
Pinal Dave
SQL Performance
SQL Counter, SQL DMV, SQL Scripts, SQL Server

To tell a read heavy workload from a write heavy one, compare what the server reads with what it changes, and measure it over a window. This post counts reads and writes per table, reads the buffer and log counters with two snapshots, and explains what each lens misses.

Read More
Previous 1 … 9 10 11 12 13 14 15 … 44 Next
  • Books
  • Testimonials
  • Privacy Policy

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