Question 21


Answer C is correct. To correct fragmentation of indexes, you need to reorganize the indexes. You could rebuild the indexes to correct fragmentation issues, but you would need to take the data offline. Defragmenting the disk does not correct fragmentation within the data and log files. DBCC CLEANTABLE is used to reclaim space dropped from variable-length and text columns. DBCC CHECKIDENT checks the current identity value for a table.

For more information, see the following sources:

  • Chapter 8, "Troubleshooting and Optimizing SQL Server"

  • SQL Server 2005 Books Online: "SQL Server Database Engine, Designing and Creating Databases, Indexes, Optimizing Indexes, Performing Index Operations Online"

  • "ALTER DATABASE," http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_aa-az_4e5h.asp




MCTS 70-431(c) Implementing and Maintaining Microsoft SQL Server 2005
MCTS 70-431 Exam Cram: Implementing and Maintaining Microsoft SQL Server 2005 Exam
ISBN: 0789735881
EAN: 2147483647
Year: 2006
Pages: 200
Authors: Thomas Moore

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net