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
Gouache painting of two water pumps with watering cans waiting, one spout clamped in vermilion

Full-Text Index Blocking Redo on an Always On Secondary

October 20, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL DMV, SQL High Availability, SQL Lock, SQL Scripts

A full-text index can block the redo thread of a readable Always On secondary. This post shows the three clues to read in sys.dm_exec_requests, how to find the internal table and how to check change tracking. It ends with the fix: manual tracking and a scheduled population.

Read More
Gouache painting of a worker checking a blocked bridge between two database towers

Always On Listener Creation Fails: Attempt to Locate a Writable Domain Controller Failed

October 18, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Domain Controller, SQL Error Messages, SQL Server Cluster

Always On listener creation can fail because the cluster cannot finish its directory work. In a 2018 client case, the same failure hit three clusters. This post shows how to read the cluster event, check DNS and directory permissions, prestage the listener object and verify the result.

Read More
Gouache painting of queued documents approaching a tower beside an overflowing storage room

Always On Redo Queue Grows: Version Store Is Full on the Secondary Replica

October 17, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL TempDB

An Always On redo queue that keeps growing means a secondary has log records waiting to be applied. In one client case the cause was a full version store in tempdb. The tests here show how a long read builds the version store on SQL Server 2025 and which queries find it.

Read More
Gouache painting of two brass compasses lying side by side on a folded paper map, their needles pointing in different directions, one needle tip vermilion

HADRAG Error: Did Not Find the Instance to Connect in SqlInstToNodeMap Key

October 12, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL DMV, SQL Error Messages, SQL High Availability, SQL Server Cluster

The HADRAG error ‘Did not find the instance to connect in SqlInstToNodeMap key’ kept an Always On availability group offline after unexpected failovers. The cluster log pointed to a metadata mismatch. Dropping the group on the secondary and recreating it brought it back.

Read More
Diagram of the sample sys.databases result with AVAILABILITY_REPLICA in log_reuse_wait_desc, the transaction log records the secondary has applied and the ones it is still applying, and three causes: slow or unreachable network, long running transaction, resource constraint

Log Reuse Wait Reason AVAILABILITY_REPLICA: What It Means and How to Fix It

September 18, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Replication, SQL Scripts, SQL Server, Transaction Log

A customer’s database always showed AVAILABILITY_REPLICA as the log reuse wait reason in sys.databases. Here is what it means and three causes to check: a slow network, a long running transaction and a resource constraint.

Read More
SQL Server size selection.

SQL SERVER – Microsoft Azure – Unable to Find Higher Tier Series Virtual Machine to Upgrade

September 13, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Azure, SQL Error Messages, SQL High Availability, SQL Server, Virtualization

My client wanted to upsize an Azure VM running Always On from D-Series to a higher tier G-Series size, but it was missing from the list. Here is what I suggested.

Read More
Replica Server Name Table.

SQL SERVER – Scripts to Overview HADR / AlwaysOn Local Replica Server

September 11, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Replication, SQL Scripts, SQL Server

SQL Server expert Dominic Wirth shares a script that gives a utilization overview of the local AlwaysOn replica server: database count and size, by role and group.

Read More
Previous 1 2 3 4 5 6 7 8 … 14 Next
  • Books
  • Testimonials
  • Privacy Policy

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