Category: DMVs

Read Scale Availability Group – Failed to update Replica status due to exception 35222.

Read Scale Availability Groups can be pretty useful in the right places and for the right things and were a latest feature update for AGs until Contained AGs came along in 2022. Read Scale AGs don’t integrate with clustering of any type and they behave somewhat as mirroring used to where there is no real […]

Read article: Read Scale Availability Group – Failed to update Replica status due to exception 35222.

model_msdbdata and log, model_replicatedmaster and log – What are they?

There was a question that came up on the MCM mailing list about what are these files: model_msdbdata.mdf, model_msdblog.ldf, model_replicatedmaster.mdf, model_replicatedmaster.ldf? It was pointed out that the files don’t show up in the typical DMVs and seem to not really be used at the moment. These are the databases used as the basis for the […]

Read article: model_msdbdata and log, model_replicatedmaster and log – What are they?

What Are PREEMPTIVE Waits And How Can They Kill Performance

Primer If you haven’t already read up on cooperative and preemptive scheduling or aren’t sure what those are, please read the intro to that first, otherwise you’ll be lost. Much as I’ve discussed before, SQL Server uses a cooperative scheduling model. This doesn’t mean that Windows does, nor does it mean Windows will scheduler whatever […]

Read article: What Are PREEMPTIVE Waits And How Can They Kill Performance

Stop using Sys.dm_hadr_cluster_members for “quorum” information

Update 5/24/2022: I’ve updated the DMV to reflect the various node and witness dynamic settings with a new column at the end of the DMV called number_of_current_votes. This is only in 2022 and will not be backported. Background I’ve now run across a few different instances where the monitoring for quorum was done via this […]

Read article: Stop using Sys.dm_hadr_cluster_members for “quorum” information