单项选择题
You are a professional level SQL Server 2005 database administrator in an international corporation named Wiikigo. You are experienced in implementing high-availability solutions, monitoring the database server, and design deployment. In the company, you major job is the deployment, maintenance and support of Microsoft SQL Server 2005. You work as a database administrator for your company. A SQL Server 2005 application is utilized by the company. A query is executed by the application to return three columns of the nvarchar data type and one column of the XML data type. A WHERE clause is utilized by the query, and all three of the nvarchar columns are contained by the WHERE clause. 5 million rows are included by the table, and 50,000 rows are returned by the query. The performance of the query should be enhanced.
Which action should be performed to achieve the goal?()
A.A primary XML index should be created on the XML column.
B.Statistics should be created on the nvarchar columns.
C.A view should be created, and only the four columns that the query utilizes are contained by a view.
D.A composite index should be created on the three nvarchar columns, and INCLUDE should be specified for the XML column.
相关考题
-
单项选择题
You are a professional level SQL Server 2005 database administrator in an international corporation named Wiikigo. You are experienced in implementing high-availability solutions, monitoring the database server, and design deployment. In the company, you major job is the deployment, maintenance and support of Microsoft SQL Server 2005. You work as the database administrator for your company. You find a problem that there are three reports which are running slowly. And through detailed analysis, you conclude that no error messages are generated from these reports. Not only the indexing strategy but also the status of the current indexes is tested by you. You confirm that the slow performance of the financial reports is not caused by it. Since you are the technical support, you are required to find out which statement is causing the slow performance. Which action should be performed first?()
A.SQL Server Profiler should be run with the Lock:Deadlock event class.
B.The Database Engine Tuning Advisor (DTA) f should be run or at least one hour.
C.SQL Server Profiler should be run with the TSQL_Duration template.
D.The Database Engine Tuning Advisor (DTA) should be run with the default options. -
单项选择题
You are a professional level SQL Server 2005 database administrator in an international corporation named Wiikigo. You are experienced in implementing high-availability solutions, monitoring the database server, and design deployment. In the company, you major job is the deployment, maintenance and support of Microsoft SQL Server 2005. You work as a database administrator for your company. The users report the slow performance of a SQL Server 2005 application. You are required to identify the queries which perform slowly because of blocking. Which action should you perform?()
A.In a SQL Trace log file, you should look for queries with low duration values and high read and write values.
B.In a query execution plan, you should look for queries with missing or out-of-date statistics.
C.In a SQL Trace log file, you should look for queries with high duration values and low read and write values.
D.In a query execution plan, you should look for queries with a large number of table scans. -
单项选择题
You are a professional level SQL Server 2005 database administrator in an international corporation named Wiikigo. You are experienced in implementing high-availability solutions, monitoring the database server, and design deployment. In the company, you major job is the deployment, maintenance and support of Microsoft SQL Server 2005. You work as a database administrator for your company. You utilize the SP:Recompile event class to run SQL Server Profiler. You find that a great amount of recompiles occurring. The possible causes of the large number of recompiles should be identified. From the flowing four options, which one is the most possible cause of the problem?()
A.The sp_executesql batches are not being recovered from the procedure cache.
B.A database administrator executed UPDATE STATISTICS statements on all tables, and the most common stored procedures reference all the tables.
C.One new stored procedure is created by a database administrator.
D.Ad hoc batches are not being recovered from the procedure cache.
