PrepAway - Latest Free Exam Questions & Answers

Which type of index defragmentation solution should you include in the recommendation?

You have a SQL Server 2012 instance named SQL\Instance1. Instance1 contains a
database named Database1.
You need to recommend an index defragmentation solution for an index named
ContentIndex. ContentIndex must meet the following requirements:
Remain online during the defragmentation.
Update distribution statistics.
Perform defragmentation as quickly as possible.
Which type of index defragmentation solution should you include in the recommendation?
More than one answer choice may achieve the goal. Select the BEST answer.

PrepAway - Latest Free Exam Questions & Answers

A.
DBCC DBREINDEX

B.
REORGANIZE

C.
REBUILD

D.
DBCC INDEXDEFRAG

10 Comments on “Which type of index defragmentation solution should you include in the recommendation?

  1. Gerry says:

    c, work offline and add for reorganize

    STATISTICS_NORECOMPUTE = { ON | OFF }
    Specifies whether distribution statistics are recomputed. The default is OFF.
    ON
    Out-of-date statistics are not automatically recomputed.
    OFF
    Automatic statistics updating are enabled.

    To restore automatic statistics updating, set the STATISTICS_NORECOMPUTE to OFF, or execute UPDATE STATISTICS without the NORECOMPUTE clause.




    0



    0
  2. Vladimir says:

    B.
    REORGANIZE
    – Online operation
    – STATISTICS_NORECOMPUTE default OFF, so automatic statistics updating are enabled.

    DBCC INDEXDEFRAG online operation too, but:
    “This feature will be removed in a future version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible. Use ALTER INDEX instead.”




    0



    0

Leave a Reply