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
SQL SERVER – SPID is KILLED/ROLLBACK state. What to Do Next?

SQL SERVER – SPID is KILLED/ROLLBACK state. What to Do Next?

August 31, 2015
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

Your SPID shows KILLED/ROLLBACK and never seems to finish. Here is what that state means, why SQL Server sometimes cannot undo the work and what to do next.

Read More
SQL SERVER - Database Mirroring login attempt failed - Connection handshake failed

SQL SERVER – Database Mirroring login attempt failed – Connection handshake failed

August 25, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Mirroring, SQL Scripts, SQL Server

While building an AlwaysOn demo I hit the Database Mirroring login attempt failed error with a connection handshake failure. Here is how I fixed it.

Read More
A brush clears material from a stone bowl

Interview Question of the Week #033 – How to Invalidate Procedure Cache of SQL Server?

August 23, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Server, SQL Server DBCC, SQL Stored Procedure

Clear procedure cache at the narrowest useful scope, remove one plan handle, and compare sp_recompile with statement recompilation.

Read More
A turnstile in a dim marble lobby with a chain looped through its arms, one red bulb burning above it.

SQL SERVER – Login failed for user . Reason: Token-based server access validation failed

August 19, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Scripts, SQL Server

Login failed for user. Reason: Token-based server access validation failed. Here is how the state of error 18456 in the ERRORLOG shows the cause and fix.

Read More
Diagram of Failover Cluster Manager showing Online Pending while the SQL Server service is started: the IsAlive connection check fails with login timeout expired, so the resource never turns Online

Bring SQL Cluster Resource Online When It Sits in Online Pending

August 14, 2015
Pinal Dave
SQL Tips and Tricks
SQL High Availability, SQL Server, SQL Server Cluster

A client could start a SQL Server instance from services.msc but could not bring SQL cluster resource online in Failover Cluster Manager. Here is how I checked the connection and found the cause: a TCP alias with an old port.

Read More
Truncate Log File

SQL SERVER – Understanding the Basics of Write Ahead Logging (WAL) Protocol

August 12, 2015
Pinal Dave
SQL Tips and Tricks
SQL Server, Transaction Log

Doing the basics right matters. Here is a simple, story-driven explanation of the Write Ahead Logging (WAL) protocol that keeps SQL Server transactions safe.

Read More
Diagram of ADD FILE for E:\SQLAuthority.ndf on the primary replica, sent to the secondaries as a log record: a secondary with drive E: creates the file, a secondary without drive E: fails with error 5123 and is suspended

ADD FILE in an Availability Group: What Happens on the Secondary Replica

August 8, 2015
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL High Availability, SQL Scripts, SQL Server

ADD FILE on the primary of an availability group reaches every secondary as a log record. If the same path doesn’t exist on a secondary, the operation fails and data movement is suspended. Here is how to resume it.

Read More
Previous 1 … 230 231 232 233 234 235 236 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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