What should you do to reduce the effect of this query on the server?

You are a database developer.You plan to design a database solution by using SQL Server 2008. The database contains a large table that is infrequently updated. Users execute a query against the table. The query requires the execution of a complex calculation that involves multiple columns for a given row. You discover that the query performance is poor because the query is CPU intensive. You need to reduce the effect of this query on the server. What should you do?

You are a database developer.You plan to design a database solution by using SQL Server 2008. The database contains a large table that is infrequently updated. Users execute a query against the table. The query requires the execution of a complex calculation that involves multiple columns for a given row. You discover that the query performance is poor because the query is CPU intensive. You need to reduce the effect of this query on the server. What should you do?

A.
Create a computed column on the table.

B.
Create a persisted computed column on the table.

C.
Create an index on each field used by the calculation.

D.
Create a view on the table that includes the calculation.



Leave a Reply 0

Your email address will not be published. Required fields are marked *