Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The Parallelism setting for the instance of SQL Server when you configure BizTalk Server


View products that this article applies to.

Introduction

When you configure Microsoft BizTalk Server, the Parallelism setting for the instance of Microsoft SQL Server that houses the BizTalk Server databases is changed. This behavior occurs if the instance of SQL Server has multiple processors available. When you configure BizTalk Server, the Max Degree of Parallelism setting is set to 1 in the instance of SQL Server that hosts the BizTalkMsgBoxDB database.

Note The Parallelism setting does not affect the number of processors that SQL Server uses in a multiple-processor environment. The Parallelism setting only governs the number of processors on which any particular Transact-SQL statement can run at the same time. If the Parallelism setting is set to use one processor, the SQL Server query optimizer will not create execution plans that permit any particular Transact-SQL statement to run on multiple processors at the same time.

↑ Back to the top


More information

BizTalk Server database queries are relatively small, and they execute quickly. Therefore, BizTalk Server database queries do not benefit from a Parallelism setting that specifies using more than one processor. Changing the Parallelism setting to specify using more than one processor may have an adverse effect on BizTalk Server database queries.

Note If the instance of SQL Server 2000 that houses the BizTalk Server databases has only one processor available, Use all available processors is selected under Parallelism. In this case, Use all available processors is functionally equivalent to Use "n" processors together with 1 selected as the number of processors.

To view the Parallelism setting for an instance of SQL Server 2000, follow these steps:
  1. Click Start, point to Programs, point to Microsoft SQL Server, and then click Enterprise Manager to start SQL Server Enterprise Manager.
  2. Expand the server group that contains the target server.
  3. Right-click the target server, and then click Properties.
  4. In the SQL Server Properties dialog box, click the Processor tab.
To view the Parallelism setting for an instance of SQL Server 2005 or a later version, follow these steps:
  1. Click Start, point to Programs, point to Microsoft SQL Server 200x, and then click SQL Server Management Studio .
  2. Connect to the instance of SQL Server that you want.
  3. Right-click the target server, and then click Properties.
  4. Click Advanced. Note the Max Degree of Parallelism setting in the right pane.
You can also view the Parallelism setting for an instance of SQL Server by executing the following Transact-SQL statement against the instance of SQL Server.
USE master 
EXEC sp_configure 'max degree of parallelism'
If the value is not set to 1, execute the following Transact-SQL statement against the instance of SQL Server:
USE master 
EXEC sp_configure 'max degree of parallelism', '1' 
reconfigure with override
The value in the run_value column that is returned by this query indicates the Parallelism setting for the instance of SQL Server.

If changing the Parallelism setting for an instance of SQL Server will have an adverse effect on other database applications that are being executed on the instance, you should create a separate instance of SQL Server to house the BizTalk Server databases before you run the Configuration Framework Wizard.

↑ Back to the top


References

For more information about why the Max Degree of Parallelism setting is changed when you configure BizTalk Server, click the following article number to view the article in the Microsoft Knowledge Base:
912262 The auto update statistics option, the auto create statistics option, and the Parallelism setting are turned off in the SQL Server database instance that hosts the BizTalk Server BizTalkMsgBoxDB database
For more information about the Parallelism setting in SQL Server, visit the following Microsoft Developer Network (MSDN) Web sites:

↑ Back to the top


Keywords: kbinfo, kbbiztalk2004-2006swept, KB899000

↑ Back to the top

Article Info
Article ID : 899000
Revision : 4
Created on : 5/24/2009
Published on : 5/24/2009
Exists online : False
Views : 458