Which of the following query returns the average throughput for the most recent sessions?

Duyên Trương

New member
Which of the following query returns the average throughput for the most recent sessions?
A. SELECT command_count*duration AS [Throughput] FROM sys.dm_cdc_log_scan_sessions WHERE session_id = 0
B. SELECT command_count/duration AS [Throughput] FROM sys.dm_cdc_log_scan_sessions WHERE session_id = 0
C. SELECT command_count/duration AS [Throughput] FROM sys.dm_cdc_log_scan_sesss WHERE session_id = 0
D. None of the mentioned
 
Answer: b
Explanation: To determine the throughput of a session, divide the value in the command_count column by the value in the duration column.
 

Tìm kiếm

Back
Top