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 hand checking the soil of one red window box on a tall apartment building

Azure SQL Database Wait Stats: Reading sys.dm_db_wait_stats

November 4, 2014
Pinal Dave
SQL Performance
SQL Azure, SQL DMV, SQL Performance, SQL Wait Stats

Read Azure SQL Database wait stats with sys.dm_db_wait_stats, identify log-rate governance, and compare resource percentages before scaling.

Read More
A row of kitchen cupboard doors, one knob worn to bare brass and the paint around it rubbed pale.

Finding Hot Tables With sys.dm_db_index_usage_stats

October 7, 2014
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Lock, SQL Performance, SQL Server

Identify hot tables with index usage, lock and latch counters, table sizes, and retained snapshots that describe a real workload interval.

Read More
A nested set of wooden measuring scoops in graded sizes on a kitchen counter, the smallest holding a single pinch of spice.

What Is a Data Type, and Why the Wrong One Costs You

September 28, 2014
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Performance, SQL Server

A data type decides what a column holds, what it costs in bytes, and how SQL Server compares it. Why NVARCHAR doubles your storage, why float will not compare cleanly, and the conversion that quietly kills an index.

Read More
Copper embossing die above a biscuit beside plain and decorated biscuits

FORMAT vs CONVERT: The CPU Cost of Pretty Dates

September 14, 2014
Pinal Dave
SQL Tips and Tricks
SQL CPU, SQL DateTime, SQL Performance

FORMAT makes dates look nice, but it costs CPU on every row. Here is the gap, and where it hurts most.

Read More
Gouache painting: a wooden country mailbox on a post at dawn with its vermilion flag raised, a stack of unsent envelopes waiting on a bench beside it, empty open fields stretching to the horizon behind

Delayed Transaction Durability Explained: SQL in Sixty Seconds #074

September 10, 2014
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Performance, SQL Transactions, Transaction Log

Delayed transaction durability lets a commit return before its log record reaches the disk. This post explains the idea and the three settings, then measures 10,000 small transactions on SQL Server 2025 and shows the one risk with a log write count. It ends with a simple rule for using it safely.

Read More
Gouache painting: a small shop counter where a wrapped paper parcel has already been slid across to the far side, while a closed ledger and a resting pen wait on the near side; the parcel's wax seal is vermilion

Example of Delayed Durability: How Much Faster Are Commits?

September 8, 2014
Pinal Dave
SQL Performance
SQL Performance, SQL Scripts, SQL Transactions, Transaction Log

This example of delayed durability runs 50,000 small transactions on SQL Server 2025 four ways and compares time and log writes. It shows what the database setting and the commit option change, and what you risk.

Read More
Gouache painting: a wooden sluice gate on a small stream with thin lines of water running through its slots toward a waterwheel, one vermilion float drifting in the channel

Live Execution Plan of a Running Query: SQL in Sixty Seconds #073

September 3, 2014
Pinal Dave
SQL Video
Execution Plan, SQL DMV, SQL in Sixty Seconds, SQL Performance, SQL Server Management Studio

A live execution plan shows how far a query has gotten while it is still running. This post builds a slow query on SQL Server 2025, watches it through sys.dm_exec_query_profiles from a second window, and explains why rows divided by the estimate is a progress meter only when the estimate is right.

Read More
Previous 1 … 28 29 30 31 32 33 34 … 50 Next
  • Books
  • Testimonials
  • Privacy Policy

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