Sep 11, 2009 #1 klewis10367 MIS Joined Mar 12, 2003 Messages 678 Location US Should I run a defragmenting tool like diskkeeper on my SQL data files? I am running a sql 2005 database and Windows 2003 SP2 OS.
Should I run a defragmenting tool like diskkeeper on my SQL data files? I am running a sql 2005 database and Windows 2003 SP2 OS.
Sep 11, 2009 1 #2 mrdenny Programmer Joined May 27, 2002 Messages 11,595 No, it won't be able to do anything. SQL Server locks the files so that nothing else can access them. If you need to defrag the databases you'll need to stop the SQL Service, then defrag the files. This will give you a small performance benefit if anything. It usually isn't worth the downtime. Denny MVP MCSA (2003) / MCDBA (SQL 2000) MCTS (SQL 2005 / SQL 2005 BI / SQL 2008 DBA / SQL 2008 DBD / SQL 2008 BI / MWSS 3.0: Configuration / MOSS 2007: Configuration) MCITP (SQL 2005 DBA / SQL 2008 DBA / SQL 2005 DBD / SQL 2008 DBD / SQL 2005 BI / SQL 2008 BI) My Blog Upvote 0 Downvote
No, it won't be able to do anything. SQL Server locks the files so that nothing else can access them. If you need to defrag the databases you'll need to stop the SQL Service, then defrag the files. This will give you a small performance benefit if anything. It usually isn't worth the downtime. Denny MVP MCSA (2003) / MCDBA (SQL 2000) MCTS (SQL 2005 / SQL 2005 BI / SQL 2008 DBA / SQL 2008 DBD / SQL 2008 BI / MWSS 3.0: Configuration / MOSS 2007: Configuration) MCITP (SQL 2005 DBA / SQL 2008 DBA / SQL 2005 DBD / SQL 2008 DBD / SQL 2005 BI / SQL 2008 BI) My Blog
Sep 11, 2009 Thread starter #3 klewis10367 MIS Joined Mar 12, 2003 Messages 678 Location US Thank You. Upvote 0 Downvote