Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Advantages in Multiple Files per Filegroup per Spindle ? Expand / Collapse
Posted Monday, October 8, 2012 2:45 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, April 2, 2015 12:23 PM
Points: 9, Visits: 84
In some of the databases I'm taking over ( in the 1.5 TB range ) I'm finding multiple files per filegroup on same spindle. Not dealing with table partitioning across multiple file groups etc.

Is there any advantage to multiple files per filegroup versus a single file ?

Some DBMSs this can trigger more IO threads, and other parallel operations but I'm not clear on all the implications in SQLServer.

Obviously lots of unknowns in this question but what are the tradeoffs generally ?
Post #1370051
Posted Monday, October 8, 2012 4:36 PM



Group: General Forum Members
Last Login: Today @ 12:48 PM
Points: 43,976, Visits: 41,343
No advantages. It doesn't allow more IO threads (all threads in SQL can issue IOs to any file), it doesn't spread out IO load. As long as you're talking just a few files, no disadvantage either. When it gets to a few hundred files there can be a performance impact in some cases.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1370100
Posted Tuesday, October 9, 2012 5:38 AM



Group: General Forum Members
Last Login: Today @ 11:10 AM
Points: 7,964, Visits: 15,989
to add to Gail, in fact in some cases if you have a large number of files per filegroup the file switching can be a performance issue. SQL Server attempts to stripe when multiple files are implemented per filegroup, this has to be monitored and calculated ongoing so that sql server knows exactly how full a particular file is.


"Ya can't make an omelette without breaking just a few eggs"
Post #1370331
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse