Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
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
Author
Message
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: Wednesday, July 2, 2014 9:35 AM
Points: 7, Visits: 69
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


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 4:54 PM
Points: 42,434, Visits: 35,488
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 2008, MVP
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


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 8:08 AM
Points: 6,162, Visits: 13,305
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