exam questions

Exam 70-464 All Questions

View all questions & answers for the 70-464 exam

Exam 70-464 topic 1 question 21 discussion

Actual exam question from Microsoft's 70-464
Question #: 21
Topic #: 1
[All 70-464 Questions]

You need to identify which long running transactions use an index.
Which dynamic management view should you use?

  • A. sys.dm_exec_query_optimizer_info
  • B. sys.dm_exec_plan_attributes
  • C. sys.dm_exec_requests
  • D. sys.dm_exec_procedure_stats
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
sys.dm_exec_query_optimizer_info teturns detailed statistics about the operation of the SQL Server query optimizer. You can use this view when tuning a workload to identify query optimization problems or improvements. For example, you can use the total number of optimizations, the elapsed time value, and the final cost value to compare the query optimizations of the current workload and any changes observed during the tuning process.
References:
https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-exec-query-optimizer-info-transact-sql

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Zikato
4 years, 4 months ago
I think none of them. Optimizer info shows cumulative info since the last restart. plan_attributes shows only for specific plan handle procedure_stats show procedures stats (not all queries) and have no index info requests also has no index info
upvoted 1 times
...
Iuliana16
4 years, 10 months ago
Correct answer is sys.dm_exec_procedure_stats
upvoted 2 times
...
sanketh
4 years, 11 months ago
sys.dm_exec_query_stats or sys.dm_exec_plan_attributes will help you find the long running transactions. Sources: Brent Ozar site
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago