Visit My Sponsors - SharePointAds







Easily Secure SharePoint Documents
Based on Metadata. By Titus Labs.



SharePoint Joel's SharePoint Land > Posts > SharePoint Performance and File Groups for Temp db, Search db, and Content dbs
SharePoint Performance and File Groups for Temp db, Search db, and Content dbs
I just finished the Large SharePoint and SQL session at Teched. One of the things Paul demo'ed in the session was multiple files for the content database.  In the past the temp db was the only database that was supported with file groups since SharePoint databases hadn't supported them.  More recently with the testing that was done, file groups are now supported on search, temp, and content databases.  I knew that search and temp db were supported, but didn't think that content was supported.  That's legacy.  Paul is right.  (Sorry Paul.) Content database file groups are supported and this is clearly documented on "Technet article: Physical storage recommendations (Office SharePoint Server)" updated April 23, 09.
 
In the case study "Using Microsoft Office SharePoint Server to implement a large-scale content storage scenario with rapid search availability" published by Microsoft, Paul and team recommended splitting the Temp db and search database into multiple data files to match the number of core processors in SQL. Paul and team did a number of performance tests and found significant gains.  In some environments I've seen huge bottlenecks addressed with these somewhat simple configuration changes.  I suggested in the talk today that the gains are next to adding RAM.  For performance reasons it totally makes sense to split the temp and search database with multiple files per core.  (Note for smaller environments or those not experiencing disk I/O bottlenecks, I'd keep this in your back pocket as a future option.)
 
The content database multiple file groups may give you some better disk I/O, but the database isn't designed to split tables across the files or file groups. If you read the article on Technet, you'd expect that you will find some performance gains in splitting large content databases across multiple physical LUNS or drives. From the Physical Storage article...  "For improved performance for large content databases and the SSP search database, consider using multiple data files."
 
I would caution SharePoint admins and SQL admins to weigh out the complexity of files and filegroups in relation to backup/restore and maintenance with performance.  Most gains will come from the temp db, and search performance.
 
In the Physical Storage Article on Technet note the wording: “The use of multiple data files for databases other than content database and the SSP search database is not supported.”  The temp database since it isn't a SharePoint database is NOT excluded as a result of this statement.  This element has been clarified by the SharePoint Customer Advisory team to include the temp db.  It simply isn't called out because it's not a SharePoint database.

Comments

Minor Point

Hi Joel.  I worked with Paul Learning to create some of the results that you guys presented.  Great Post!
 
I do think there is a minor clarification that needs to be made here though.
 
As you mentioned, Microsoft has now said that file groups are allowed for the SearchDB.  In fact, they provide specific guidance as to how to break up data into multiple file groups in the article that you linked to.
 
This is not the case with the Content DB.  Microsoft still only supports 1 and only 1 file group for Content Databases.  However, we are allowed to have more than 1 data file in that file group.  Having multiple data files in a file group is a different concept than having multiple file groups.  It is this feature that allows us to spread the content across physical disk spindle sets even though we have only 1 file group. 
 
So in reality, the tables in the Content Database would never actually span file groups.  But the data in the table can be spread across multiple disk spindle sets which will improve I/O performance.
 
Cheers
Russ Houberg
 
 
 
at 5/13/2009 5:35 AM

Add Comment

 Social Comments

Post Comments to your Facebook Profile Post comments to twitter or on SharePointJoel.com
blog comments powered by Disqus
Share

Blog (RSS)

Follow on Networked Blogs Facebook

Recent Comments

Powered by Disqus
Subscribe by Email or RSS

Contact me

 20 Recent Posts

Effective SharePoint 2010 Upgrade Q&AUse SHIFT+ENTER to open the menu (new window).New
How Microsoft Is Doing Records ManagementUse SHIFT+ENTER to open the menu (new window).New
Free Webcast: Get to SharePoint 2010 – Strategies for Effective Upgrades and MigrationsUse SHIFT+ENTER to open the menu (new window).
SharePoint 2010 and SQL Hotfix DependenciesUse SHIFT+ENTER to open the menu (new window).
Aptillon SharePoint Consulting GeniusUse SHIFT+ENTER to open the menu (new window).
Really, A SharePoint Training Cruise?Use SHIFT+ENTER to open the menu (new window).
Updated Guidance on SharePoint 2010 Upgrade and the FAB 40 application templatesUse SHIFT+ENTER to open the menu (new window).
SharePoint 2010 Upgrade Decision TreeUse SHIFT+ENTER to open the menu (new window).
We’re Serious - Don’t Modify Your Database or Face ConsequencesUse SHIFT+ENTER to open the menu (new window).
Remove/Deactivate a missing feature for a cleaner upgradeUse SHIFT+ENTER to open the menu (new window).
Free Webcast: Best Practices for Upgrading and Migrating to SharePoint 2010Use SHIFT+ENTER to open the menu (new window).
I’m in Utah today at the MOSSPit (SLC UG)Use SHIFT+ENTER to open the menu (new window).
Wish you had free end user training incorporated into your SharePoint environment?Use SHIFT+ENTER to open the menu (new window).
SharePoint Virtual Expo Networking EventUse SHIFT+ENTER to open the menu (new window).
Planning SharePoint Deployments with RACIUse SHIFT+ENTER to open the menu (new window).
Reaching out to the SharePoint Portuguese CommunityUse SHIFT+ENTER to open the menu (new window).
Kudos to Owen Allen @owenallenUse SHIFT+ENTER to open the menu (new window).
Practical Windows PowerShell for SharePoint 2010Use SHIFT+ENTER to open the menu (new window).
Project Server 2010 and SharePoint 2010 CoexistenceUse SHIFT+ENTER to open the menu (new window).
What’s Next in SharePoint LandUse SHIFT+ENTER to open the menu (new window).