I have a GP 10 database that is on a very fragmented (OS Level) hard drive. I would like to run an OS Level defrag on the drive. My SQL server is configured as follows:
The mdf files are on an independent/physical RAID 5 drive
The ldf files are on an independent/physical RAID 1 drive
The tmp db and the OS are on their own dives as well.
Data Size
Production db 64 GBs
Archive db 30 Gbs
The issue –
I would like to run an OS Level defrag on the data files; however, SQL db’s and Windows defrag tools don’t play well together. I have already tried defragging the drive with little success (note: I did stop SQL). What I would like to try now is to do a backup of the GP db’s delete the db’s stop SQL and then run Windows defrag. If all goes well I would then restore by GP db’s – same location and name. What I am not sure about is/if there will be a problem with data base permissions. To the best of my limited SQL knowledge when restoring an SQL db the user permissions should nor be affected, however, given GP secret squirrel 007 security will I need to re-run any of user permission scripts that one would run when moving a GP db to a new server or restoring it in a db with a different name?
Respectfully –
ingram
*This post is locked for comments