Hi all,
We have an old SQL Server 2000 database that is used company wide, and has apparently been running without any sort of maintenance being performed on it for years. Needless to say, it often times performs rather sluggish, and I think this is probably the main reason why. But this is one of the few areas that I actually know almost nothing about, so I'm asking you guys where to start.
To start with, looking at the standard windows defrag analysis results, it shows that we have about an 85% file fragmentation on the SQL Server "data" drive. However, even after clearing over 100GB of space it is unable to do any defragmentation - it just runs for a second and completes with no changes. I've tried disabling the MSSQLSERVER service, thinking that it was probably using the file, but to no avail.
I also believe that the database indexes should probably be defragged or rebuilt, but I don't know the best method for doing that either.
Any advice would be appreciated, as we currently aren't handling this at all!