August 23, 2013 at 10:10 am
Hi,
Our DBA is currently installing a SQL cluster attached to a SAN. In order to optimize disk space usage, he informed us that he will be placing the database data files on the same disk where system files are stored. Log files are placed on a separate disk.
Is it a good idea to place system and data files on the same disk ? Will there be any performance issues ?
Thanks
August 23, 2013 at 3:21 pm
My preference is to have tempdb on a separate disk, as there can be some quite heavy action in tempdb. If master, model and msdb are on the same disk as the data files is less of a concern.
Of course, since it is a SAN, there is a risk that it is all the same disk anyway, all depending on how the LUNs are carved out.
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 11, 2013 at 11:14 am
SANs are a completely different animal. And even the variation in manufacturer and model change the "best practice" of how to lay out your files. The best thing to do is consult with the SAN vendor. At the very least, ask for their white paper or best practice documentation on how to lay out files for SQL Server. Any respectable SAN vendor will have this and be happy to share it with you.
Francis
-----------------
SQLRanger.com
September 12, 2013 at 9:53 am
Ask, and be very specific, what your SAN admin means by "disk".
Remember, you have, in some ordering (ask your SAN admin)
Physical spindles/SSD's
RAID groups
LUNs
MetaLUNs (sets of LUNs in a RAID)
For SQL Server performance, you need to know, at a minimum:
1) Which parts of which physical spindles/SSDs does each of your drive letters/mount points map to?
2) What else maps to those physical spindles/SSDs?
September 13, 2013 at 10:31 am
Not a very good idea if you are considering future performance and other DR deployement .
If your SAN admin is creating different mount points in the drive then the story will be different .
C:\ system files
D or E:\ SQL data file
M:\ Data files
L:\ Log files
T:\ Temp files
September 13, 2013 at 1:33 pm
Um, NO! not good...
C:\ - OS only
E:\ - Apps - install of sql, various third party if any, ever
M:\ Mdf files - Data files
L:\ ldf files - only logs
T:\ tempdb - only temp
S:\ system databases - msdb, model, master
I know there can be different types of san, disk, mount points, but it is always good to have structure and best practice. ๐
MCSE SQL Server 2012\2014\2016
September 25, 2013 at 1:27 pm
I would like to add my 2 cents:
Whenever I can, I recommend against more than drive letters C and D and advice to use mount points for everything. Itโs hard to make sure all servers have the same disk layout (in fact rarely ever) โ especially when it comes to test and dev environment. I will spare you a list of advantages here.
Second: for most SANs and environments in general it nowadays does not harm to put tempdb on the same drive as the other databases. In fact itโs mostly better (more disks). And only if tempdb becomes a bottleneck, then I would move it to a dedicated LUN/Raid-Group.
Of course, as usual, this is also a matter of personal preference and (bad) experience.
Andreas
---------------------------------------------------
MVP SQL Server
Microsoft Certified Master SQL Server 2008
Microsoft Certified Solutions Master Data Platform, SQL Server 2012
www.insidesql.org/blogs/andreaswolter
www.andreas-wolter.com
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply