PrepAway - Latest Free Exam Questions & Answers

What statement should you use?

DRAG DROP
You have a database named DB1. DB1 contains a table named Sales.SalesPerson that has an index named
AK_SalesPerson_rowguid. Queries that do not use the index take approximately 10 times longer to complete
than queries that use the index.
You discover that AK_SalesPerson_rowguid has severe fragmentation.
You need to recommend a solution to defragment the index. The solution must ensure that the index can be
used by queries during the defragmentation.
What statement should you use? To answer, drag the appropriate elements to the correct locations. Each
element may be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.
Select and Place:

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
Rebuilding an index can be executed online or offline. Reorganizing an index is always executed online. To
achieve availability similar to the reorganize option, you should rebuild indexes online.
Use: ALTER INDEX REBUILD WITH (ONLINE = ON)
Reorganize and Rebuild Indexes
https://msdn.microsoft.com/en-us/library/ms189858.aspx


Leave a Reply