Thor Logo dbatools

Buffer

Get-DbaAgRingBuffer

the dbatools team + Claude

Get-DbaAgRingBuffer View Source the dbatools team + Claude Windows, Linux, macOS On this page: Synopsis · Description · Syntax · Examples · Parameters · Outputs Synopsis Retrieves Always On availability group diagnostic data from SQL Server’s internal HADR ring buffers. Description This command queries sys.dm_os_ring_buffers for HADR-specific ring buffer types to provide diagnostic information about Always On availability groups. These ring buffers record state transitions, role changes, commit activity, and transport state events useful for troubleshooting AG health and failover issues.

Read more

Get-DbaCpuRingBuffer

Patrick Flynn (@sqllensman)

Get-DbaCpuRingBuffer View Source Patrick Flynn (@sqllensman) Windows, Linux, macOS On this page: Synopsis · Description · Syntax · Examples · Parameters · Outputs Synopsis Retrieves historical CPU utilization data from SQL Server’s internal ring buffer for performance analysis Description This command queries sys.dm_os_ring_buffers to extract detailed CPU utilization history for performance troubleshooting and capacity planning. Based on Glen Berry’s diagnostic query, it provides minute-by-minute CPU usage breakdowns that help identify performance patterns and resource contention.

Read more