Grounding.co.za

Technology information for IT specialists
Welcome to Grounding.co.za Sign in | Join | Help
in Search

Neil's IW Space

Information Worker Blog's by Neil van Wyngaard

SQL databases used in Sharepoint

There are quite a number of databases generated during a Sharepoint install and depending on the "Farm" configuration there might be more or less. A lot of SQL DBA's get quite annoyed when all these databases suddenly appear in their system and they have no idea what each database does or why it is there.

I have therefore decided to explain what databases get created during a MOSS install and what the purpose is behind each. A WSS install generates less databases and therefore I decided to focus on a MOSS install as this generates the most.

Lets start by taking a look at a screen shots of the databases generated and then I will explain the purpose of each.

List All DB's

Below is a list of the databases generated by Sharepoint, the names may differ per deployment, but the purpose remains the same:

  • Config Database for the Farm - Sharepoint_Config - stores configuration information about the servers deployed in the farm , their individual configurations settings and some security information. Without this database there is no Sharepoint.
  • Content database for the Admin Console - Sharepoint_AdminContent_GUID - sharepoint uses its own technology to render the web based admin console for Sharepoint. Therefore it needs it's own content database to stored the configuration settings for the web parts used. The actual data configured using this console is stored in the config database for the farm. The name for this database is system generated and cannot be controlled during the installation process and therefore it ends with a GUID.
  • Config database for the SSP (Shared Service Providers) - BPS_SharedServices_DB - during the configuration process a SPP is defined to configure all the Shared Services used by Sharepoint. All the Configuration settings for these services are stored in this database. The name of the database can be controlled during the creation process and should be descriptive of the purpose.
  • Content database for the SSP Console - BPS_SSP_Content - just like the admin console the SSP also needs a web site to allow you to configure the shared services and these also use web parts and lists. Therefore the SSP also needs its own content database to store these settings.
  • SSP Search database - BPS_SharedServices_Search_DB - this database is used by the Enterprise search service to store metadata about the information crawled including security information. This is typically used for information stored external from Sharepoint.
  • WSS search database - WSS_Search_sps-dc1 - this database is used by the WSS core components to store metadata about content stored inside the Sharepoint web application content databases. This is created during the installation process.
  • Web Application Content - Office_Content - this is the content database for the first user based web site in Sharepoint. Before the users can actually use Sharepoint a "Web Application", Site Collection and Site must be built. This database stores all the information generated within this web application.
  • Additional content databases - Office_Content_2 - new content databases can be created to host additional "Site Collections" and "Web Applications" and there could be hundreds of these.

The other databases that are left over in the snapshot is used by other applications that do not have a direct influence on Sharepoint, but can be used in conjunction with the product.

  • SQL Server system databases and sample databases
  • Project Server 2007 databases
  • Live Communication Server 2005 databases.
  • Reporting Services databases.

Related Blogs:

Installing MOSS with a remote SQL Server

Connecting an External Database to Sharepoint using the BDC

Installation Procedure for MOSS

Sharepoint Server Topologies

Published Aug 16 2008, 03:16 AM by Neil
Filed under: ,

Comments

 

Quest SharePoint Team said:

The better you understand the SharePoint databases, the better off you can manage and optimize your farm

May 18, 2009 3:27 PM
 

Gary Davis said:

Nice post.  Very informative, thanks.

Are there any more resources on this topic that I can also review?

Gary.

September 23, 2009 1:12 PM
 

Libran Dragon said:

Nice read,

I recently upgrade from from WSS2 to MOSS 2007 and so far so good..

Currently moving sites into their own site collections.

Currently DB holds 120 sites of which 85 are active (2.5TB in size)

How do I could create an additional content database and move active sites to the new database. We are also removing old/expired/stale data during the process.

I'm no SQL guru, so will the above create another .mdf

Eventually end up with 2 content databases balancing the site collections (50/50)

November 5, 2009 11:35 AM

About Neil

Neil van Wyngaard is a MCSE, MCSD, MCDBA, MCT, MCTS, MCITP, MCBMSS. Neil's core industry focus is CRM, ERP, EPM and ECM implementations in the enterprise environment. Core technology focus is based on SQL Server, Visual Studio, WSS, MOSS and OCS
Add to Technorati Favorites
Powered by Community Server (Commercial Edition), by Telligent Systems
Afrigator