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 fully wound ribbon spool has no capacity left beside a larger empty spool

How to Solve Error When Transaction Log Gets Full? – Interview Question of the Week #272

April 12, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Data Storage, SQL Error Messages, SQL Scripts, Transaction Log

Question: How to Solve Error When Transaction Log Gets Full?

Answer: This was a question I was asked in the recent Health Check.

Read More
Illustrated cover: One Log File Is Enough

SQL SERVER – Multiple Log Files to Your Databases – Not Needed

April 11, 2020
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Scripts, SQL Server, Transaction Log

I was asked a very interesting question by their DBA about log files. The question was – Is there ever need of multiple log files in SQL Server?

Read More
Gouache painting of a small chest with one vermilion drawer open beside a pile of wooden planks

Rebuild All Indexes on a Table in SQL Server: SSMS and T-SQL

April 7, 2020
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Scripts, SQL Server Management Studio

To rebuild all indexes on a table, right-click the Indexes folder in SSMS and choose Rebuild All, or run ALTER INDEX ALL with REBUILD. This post checks fragmentation first, rebuilds a demo table and shows what the command does to a disabled index. It also compares REBUILD with REORGANIZE and the options that matter.

Read More
A replacement shaping template is separate from a populated tray of retained tiles.

SQL SERVER – SQL_NO_CACHE and OPTION RECOMPILE Target Different Caches

April 6, 2020
Pinal Dave
SQL Tips and Tricks
MySQL, Query Hint, SQL Cache, SQL Scripts, SQL Server

OPTION (RECOMPILE) and SQL_NO_CACHE concern different cached objects. A banking customer using MySQL and SQL Server prompted my comparison.

Read More
A workshop bench holds materials and a small chair being worked on temporarily

What is Stored in TempDB? – Interview Question of the Week #271

April 5, 2020
Pinal Dave
SQL Interview Questions and Answers
Parameter Sniffing, SQL Scripts, SQL TempDB

Question: What is Stored in TempDB?
Answer: In my recent conversation my client asked me if I know what is currently stored in their TempDb.

Read More
Hands sorting a tipped-out lost property box into heaps of umbrellas, gloves and scarves on a table

Schema Discovery for JSON Columns: Listing Every Key With OPENJSON

April 4, 2020
Pinal Dave
SQL Tips and Tricks
JSON, SQL Function, SQL Scripts, SQL Server

Use schema discovery on JSON columns to count keys and types, inspect nested objects, and find missing required paths with guarded input.

Read More
Gouache painting of an overflowing vermilion basket of linens beside a single copper washtub

Query for CPU Pressure: Sample the Scheduler Queue

April 2, 2020
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Monitoring, SQL Scripts

To sample the scheduler queue, read the runnable counts of every scheduler eight times, one second apart, and compare the result with a baseline. This post shows the queue on a quiet server and again while more busy sessions than schedulers run. It reads the spread, the streak and the average that tell pressure from noise.

Read More
Previous 1 … 42 43 44 45 46 47 48 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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