Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


September 2008

Content Databases for Extranets


RSS
Subscribe to Windows IT Pro | See More SQL Server and Database Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
Main Article    Using SharePoint for Extranets

Although each content database can contain multiple site collections, each site collection should be assigned to a separate content database for an end-to-end extranet backup and restoration solution.

To make this one to one assignment of site collection to content database in the SharePoint Central Administration site, create the content database first. On the content database creation screen, set Number of sites before a warning event is generated to 0 and Maximum number of sites that can be created in this database to 1. Then, create the site collection so it occupies the only available spot in the content database.

Central Administration doesn't currently allow you to specify a content database on the site collection creation page. However, you can use the Stsadm console utility to create a site collection and a new database simultaneously by using the stsadm -o createsiteinnewdb command. If you choose to use this command, you'll still have to go back and edit the content database and set maximums. You'll most likely be on that screen anyway since this script doesn't have an option for selecting a search indexing server for the content database. Considering you want to be able to search documents by default, the only way to automate the entire process outside of the API is to use the following series of stsadm commands. 

  • “stsadm -o addcontentdb …” creates the content database with the maximums
  • "stsadm -o createsite ..." creates the site collection assigned to the content database
  • "stsadm -o spsearch ..." assigns the content database to an indexing server for the WSS search service (not the same command as MOSS search)

Database Management
Based on guidance from Microsoft and the recently released scalability and performance case study, you should try to keep the number of content databases under 100 per web application to maintain a well-performing environment. This means if you have more than 100 active site collections (extranets), you'll need to start sharing content databases between site collections.

Anything but the most basic of extranets should be using a dedicated SQL Server. From a SQL Server perspective, you should remember to presize your databases and choose a more appropriate autogrow interval then the default setting. The sizing defaults for SQL databases actually have a negative impact on performance in SharePoint.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

Understanding File-Size Limits on NTFS and FAT

A general confusion about files sizes on FAT seems to stem from FAT32's file-size limit of 4GB and partition-size limit of 2TB. ...


Related Events SQL Server Unleashed EMEA

WinConnections and Microsoft® Exchange Connections

Managing Multiple Databases Is Easier Than You Think

Check out our list of Free Email Newsletters!

SQL Server and Database eBooks Safeguarding Your Windows Servers

SQL Server Administration for Oracle DBAs

Taking Control: Monitoring the Windows Platform Proactively

Related SQL Server and Database Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement