InterviewSolution
Saved Bookmarks
| 1. |
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 mentionedI had been asked this question during an interview.This intriguing question comes from SQL Audit in portion Monitoring and Auditing of SQL Server |
|
Answer» The correct option is (B) SELECT command_count/duration AS [Throughput] FROM sys.dm_cdc_log_scan_sessions WHERE session_id = 0 |
|