Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Defrag the Drive

Author  Topic 

kid_on_the_block
Posting Yak Master

172 Posts

Posted - 2006-04-17 : 03:01:29
Hi

Can I de-frag the Drive in which the Data files & Log Files of the SQl Server Exists ???

Please Advice.


Thanks

sachinsamuel
Constraint Violating Yak Guru

383 Posts

Posted - 2006-04-17 : 03:03:27
If the drive is in SAN, then no defragmentaion is needed, else you can defrag the drive.

Regards
sachin

Don't sit back because of failure. It will come back to check if you still available. -- Binu
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2006-04-17 : 06:44:40
I don't think the files will be defragged if they are in use, will they?

I use the single-file-defragged from sysinternals

http://www.sysinternals.com/Utilities/Contig.html

Kristen
Go to Top of Page

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2006-04-17 : 07:53:33
it will defrag but it'll take a very very very long long long time to complete

atleast from our experience

--------------------
keeping it simple...
Go to Top of Page

kid_on_the_block
Posting Yak Master

172 Posts

Posted - 2006-04-18 : 02:26:56
So there is no harm , if I did that right , would not effect the data file , cause I have heard that the Data files should not be place on a compressed file system

But the Dr-frag would not be compressing right ????

Anyways thanks !!!!!!!!!!!
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2006-04-18 : 07:58:12
"But the Dr-frag would not be compressing right"

Correct, but unless you have other, non-SQL, files that you want to defrag I wouldn't bother - the effort of trying to defrag whilst the database files are in use will bring the server to its knees!

Kristen
Go to Top of Page
   

- Advertisement -