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
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
A ravioli press fitting different fillings into separately formed pasta parcels

Survey Answers: A Table Design for Questions and Responses

April 10, 2020
Pinal Dave
SQL Tips and Tricks
SQL System Table, SQL Table Operation, Table Partitioning, Temp Table

Store survey answers as typed rows instead of one column per question. Then break the design on purpose to see what it blocks and what it cannot.

Read More
A gardener seen from behind slowly rolling a long strip of turf back up across a lawn, most of it still flat.

KILL WITH STATUSONLY: How Long Will This Rollback Take?

April 9, 2020
Pinal Dave
SQL Tips and Tricks
DBA, SQL Server, SQL Transactions, Transaction Log

Read KILL WITH STATUSONLY rollback estimates, confirm the target session, avoid repeated kills, and account for accelerated recovery.

Read More
Gouache painting of a row of tilted pinwheels in the sand with the still middle one vermilion

Activity Monitor Keeps Freezing: Fix WMI and Permissions

April 8, 2020
Pinal Dave
SQL Tips and Tricks
SQL Activity Monitor, SQL Monitoring, SQL Server Security, WMI

When Activity Monitor keeps freezing, the cause can be a missing SQL permission or a missing WMI permission for the Windows account. This post tests the SQL side on SQL Server 2025, walks through the WMI security fix and explains what CIMV2 means. It also gives a query that reads the same activity without Activity Monitor.

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
Previous 1 … 115 116 117 118 119 120 121 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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