Asked by:
dm_os_ring_buffers :RING_BUFFER_OOM'

Question
-
;WITH rb
AS (
SELECT CAST (record as xml) record_xml FROM sys.dm_os_ring_buffers
WHERE ring_buffer_type = 'RING_BUFFER_OOM'
)
SELECT
rx.value('(@id)[1]', 'bigint') AS RecordID
,DATEADD (ms, -1 * osi.ms_ticks - rx.value('(@time)[1]', 'bigint'), GETDATE()) AS DateOccurred
,rx.value('(OOM/Action)[1]', 'varchar(30)') AS MemoryAction
,rx.value('(OOM/Pool)[1]', 'int') AS MemoryPool
,rx.value('(MemoryRecord/MemoryUtilization)[1]', 'bigint') AS MemoryUtilization
FROM rb
CROSS APPLY rb.record_xml.nodes('Record') record(rx)
CROSS JOIN sys.dm_os_sys_info osi
ORDER BY rx.value('(@id)[1]', 'bigint')what's the definition of MemoryPool(Pool) and MemoryUtilization(MemoryUtilization)
Wednesday, August 12, 2020 9:56 AM
All replies
-
anyone has the idea?Thursday, August 13, 2020 2:46 AM
-
Hi sakurai_db,
What do you mean the defitnition?
Do you want to monitor the memory usage?
If you want to monitor the memory usage, you can reference: monitor-and-troubleshoot-memory-usage ,
script-to-monitor-sql-server-memory-usage
BR,
Mia
If the reply helped, please "Mark Answer" and upvote it.--Mia
""SQL Server related"" forum will be migrated to a new home on Microsoft Q&A SQL Server!
We invite you to post new questions in the "SQL Server related" forum’s new home on Microsoft Q&A SQL Server !
For more information, please refer to the sticky post.Friday, August 14, 2020 2:27 AM -
Hi sakurai_db,
Is the reply helpful?
BR,
Mia
If the reply helped,please "Mark Answer" and upvote it.--Mia
""SQL Server related"" forum will be migrated to a new home on Microsoft Q&A SQL Server!
We invite you to post new questions in the "SQL Server related" forum’s new home on Microsoft Q&A SQL Server !
For more information, please refer to the sticky post.Monday, August 17, 2020 1:14 AM -
no it's not helpful
what's the definition of MemoryPool(Pool) and MemoryUtilization(MemoryUtilization)
Tuesday, August 25, 2020 9:47 AM