Microsoft
70-451 · Question #107
You are a database developer. You plan to design a database solution by using SQL Server 2008. Users report poor performance of a long-running query in a database. You fail to detect the cause of…
The correct answer is D. Update statistics on the appropriate tables. See the full explanation below for the reasoning.
Question
You are a database developer. You plan to design a database solution by using SQL Server 2008. Users report poor performance of a long-running query in a database. You fail to detect the cause of poor performance when you examine the estimated execution plan. On viewing the actual execution plan, you discover that several tasks are CPU-intensive. You need to ensure that you can view an estimated execution plan containing the most likely actions. You want to achieve this goal by incurring minimum possible CPU overhead. What should you do?
Options
- ARebuild all indexes.
- BUse the SET STATISTICS PROFILE ON statement.
- CUse the SET STATISTICS XML ON statement.
- DUpdate statistics on the appropriate tables.
How the community answered
(23 responses)- A9% (2)
- B13% (3)
- C4% (1)
- D74% (17)
Community Discussion
No community discussion yet for this question.