Groups | Blog | Home
all groups > sql server data warehouse > january 2004 >

sql server data warehouse : Defragging SQL Database files


Ashwini Khanna
1/28/2004 11:34:17 AM
I am trying to defrag my Hard-disk drive. Windows 2000 Server does not
defrag my drice compoletely as major portion is occupied by my SQL database
whose size is around 2GB. The Defrag program on completion says that it
cannot defrag the SQL Database files.
Then how do I do it? Is there any way to defrag the SQL Database files? I
need to do it as major portion of my HDD is occupied by database files.

Regards,
Ashwini

mountain man
1/28/2004 10:31:29 PM
[quoted text, click to view]

In order to reduce space, via enterprise manager you could
run the "Shrink database" function. Also, you might want to
look at the housekeeping maintenance functions.





Dennis Redfield
1/29/2004 10:51:33 AM
you can also defrag the index files (I don't know if this will save any
space however).
If your situation allows you to mark the db's as SIMPLE recovery the shrink
will work to best effects.

hope this helps
dlr
[quoted text, click to view]

AddThis Social Bookmark Button