SQL Server 2005 standard filegroups / files for performance on SAN

Posted by Blootac on Stack Overflow See other posts from Stack Overflow or by Blootac
Published on 2010-04-25T20:49:05Z Indexed on 2010/04/25 20:53 UTC
Read the original article Hit count: 414

Ok so I've just been on a SQL Server course and we discussed the usage scenarios of multiple filegroups and files when in use over local RAID and local disks but we didn't touch SAN scenarios so my question is as follows;

I currently have a 250 gig database running on SQL Server 2005 where some tables have a huge number of writes and others are fairly static. The database and all objects reside in a single file group with a single data file. The log file is also on the same volume. My interpretation is that separate data files should be used across different disks to lessen disk contention and that file groups should be used for partitioning of data. However, with a SAN you obviously don't really have the same issue of disk contention that you do with a small RAID setup (or at least we don't at the moment), and standard edition doesn't support partitioning.

So in order to improve parallelism what should I do?

My understanding of various Microsoft publications is that if I increase the number of data files, separate threads can act across each file separately. Which leads me to the question how many files should I have. One per core? Should I be putting tables and indexes with high levels of activity in separate file groups, each with the same number of data files as we have cores?

Thank you

© Stack Overflow or respective owner

Related posts about sql-server-2005

Related posts about sql-server