EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB16476: How to set database connection threads in MicroStrategy Intelligence Server 9.x


Community Admin

• Strategy


Introduction
Report and element requests are submitted from Strategy Intelligence Server 9.x to the data warehouse through a database connection thread. Results of these requests are also returned to Strategy Intelligence Server 9.x through the database connection thread.
 
If a system has hundreds of concurrent users submitting requests, it is important to find the number of threads that strikes a good balance between quickly serving each user request while not overloading the system. This number falls in the range depicted as the optimal use of resources, as shown in the figure below:
 

ka04W000000OhLUQA0_0EM440000002BUk.jpeg

Once the number of threads is calculated, priorities can be set to control how many threads are dedicated to serving jobs meeting certain criteria.
 
Monitoring Database Connection Threads
To monitor whether the number of database connection threads is effective in a particular system, Database Connection Monitor can be used. It enables users to view:

  1. Number of busy and cached connections to the data warehouse.
  2. Name of the database instance
  3. User who is using the connection
  4. Database login being used to connect to the database

 
Setting the number of database connection threads
To set the number of database connection threads allowed at one time in Strategy Intelligence Server 9.x, follow the steps below:

  1. Modify the database instance used to connect to the data warehouse.
  2. In the Database Instance window, select the 'Job Prioritization' tab.
  3. Specify the number of high, medium, and low connections. Each number represents a connection or a thread to the warehouse database. The sum of all three equals the total number of concurrent connection threads allowed between Strategy Intelligence Server 9.x and the data warehouse.

These settings apply to all projects that use the selected database instance. The default values for the High, Medium, and Low priorities are set to 2 each, as seen below. If no prioritization is set, only two Low connections will be used. All reports have a default of Low prioritization. Therefore, even though it is not required to set Medium and High connections, there should be at least one low connection, because Low priority is the default job priority.
 

ka04W000000OhLUQA0_0EM440000002BUh.jpeg

 
For additional details on setting job prioritization and connection management, refer to the following Strategy Knowledge Base technical notes:
 

  • KB5401 (KB5300-071-0124): How to set Group Prioritization in Strategy Intelligence Server 9.x
  • KB8486 (KB5300-72X-0405): What is Job Prioritization and Connection Management in Strategy Intelligence Server 9.x?

Comment

0 comments

Details

Knowledge Article

Published:

May 24, 2017

Last Updated:

May 24, 2017