Microsoft SQL Serverプロファイルを使用して、Query1という名前のクエリを評価します。プロファイラーレポートは次の問題を示します。 * クエリプランの各レベルで、少ない合計行数が処理されます。 * クエリは多くの操作を使います。これにより、クエリ全体のコストが高くなります。 オプティマイザに役立つ情報を特定する必要があります。 あなたは何をするべきか?
正解:A
Explanation The Performance Statistics event class can be used to monitor the performance of queries, stored procedures, and triggers that are executing. Each of the six event subclasses indicates an event in the lifetime of queries, stored procedures, and triggers within the system. Using the combination of these event subclasses and the associated sys.dm_exec_query_stats, sys.dm_exec_procedure_stats and sys.dm_exec_trigger_stats dynamic management views, you can reconstitute the performance history of any given query, stored procedure, or trigger. References: https://docs.microsoft.com/en-us/sql/relational-databases/event-classes/performance-statistics-event-class?view=