Place system and data files on the salme disk

  • 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

  • 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]

  • 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

  • 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?

  • 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

  • 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

  • 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