Link to home
Start Free TrialLog in
Avatar of garychu
garychu

asked on

Location of MSSQL system database files - revisited

The host computer has 2x Intel Xeon 4C 2.40ghz CPU and 32 GB ram.
Operating system is Win 2008 R2 SP1.
MSSQL is installed on the same system disk as the OS.
The system disk is a virtual volume comprising 4x 10K 6Gbps SAS disks configured as RAID 5.
All system database files are located on this volume.
A second volume is made up of a RAID 10 array of 12x 15K 6Gbps SAS disks.
User database files are stored on the second volume.
Under consideration is moving all system database files over to the second volume.
Question - would performance advantage (ceteris paribus) be significant enough to justify it?
Would appreciate very much some Experts comments.
Thanks
Avatar of DBAduck - Ben Miller
DBAduck - Ben Miller
Flag of United States of America image

Well, from my point of view, your TempDB would benefit very much from being moved to the second volume, but I don't think that the other System databases would benefit, performance wise.

TempDB is write intensive and would be a happy camper to be moved to that other disk.
Avatar of garychu
garychu

ASKER

Thanks, dbaduck.
You confirm what I can only suspect from inexperience.
Presently, there is only 1 tempdb (tempdb.mdf and templog.ldf) in the default directory.
Can I use the following to move it?
(tempdev and templog being the logical filenames)
......................................
USE master;
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = tempdev, FILENAME = '<new path>\tempdb.mdf');
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = templog, FILENAME = '<new path>\templog.ldf);
GO
........................................................
Your further advice would be appreciated.
ASKER CERTIFIED SOLUTION
Avatar of DBAduck - Ben Miller
DBAduck - Ben Miller
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of garychu

ASKER

Thanks, Expert.
Got the confidence I need.