Remove data base file fragmentation?

  • What option (GUI Options) or sql command can be used to remove fragmentation from Inserts, Updates and Deletes? (SQL Server 2000 on Windows 2003.) Is this done at the page level?

    Thanks, Kevin

  • Rebuilding the indexes will remove fragmentation. Look at DBCC SHOWCONTIG

  • Does fragmentation only occur at the index level? Does it occur at the non-indexed table level? Can the database files (.mdf) become fragmented?

    Thanks, Kevin

  • Yes, data files can also be fragmented. You need to use a defrag software to defrag it like any other operating system files.

    _____________
    Donn Policarpio

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply