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

KB414567: How to increase the maximum number of parallel SQL queries per report in MicroStrategy Engine


Community Admin

• Strategy


This article explains how to increase the number of allowed parallel SQL queries per report for parallel execution

A feature is available in the Strategy SQL engine: "Maximum Parallel Queries Per Report." This is a governing setting to control the number of parallel database connections allowed per the feature "Parallel Query Execution" explained in KB44052 for a single report.
 
In order to adjust the Maximum Parallel Queries Per Report VLDB Property, follow the steps below:
1. Open the Strategy Project Configuration window for the Project you wish to modify. Select 'Advanced,' then 'Configure' under the Analytical engine VLDB properties section:

ka04W00000148unQAA_0EM440000002Ck3.png

 
2. Open the Query Optimizations folder, then select 'Maximum Parallel Queries Per Report:

ka04W00000148unQAA_0EM440000002Ck9.png

 
3. Uncheck the box for 'Use default inherited value,' then adjust the number as desired. (The default is 2, which added to the initial query = 3 total maximum parallel queries.)
 
The 'Maximum Parallel Queries Per Report' VLDB property setting controls the number of SQL passes that can execute in parallel. Since each pass opens a separate connection (thread) to the database, this setting should indirectly dictate the number of concurrently busy DB threads for that report.
There are several reasons that the number of connections visible in Database Connections System Monitor would not correspond to the number of threads in the setting. When a thread wants a connection, it can either use a cached connection or make a new one. It makes no difference to the Query Engine but will appear different in the connection monitor. Also, the set maximum for parallel queries may never be hit if the SQL runs very fast, since, by the time a certain later pass would be started, the 1st pass may have already finished.
For details on setting the number of connection threads at the Server level, refer to the following Strategy Knowledge Base articles:

  • KB16476: How to set database connection threads in Strategy Intelligence Server.
  • KB16624: What is the ‘Number of network threads’ setting in Strategy Intelligence Server 10.x?


KB414567


Comment

0 comments

Details

Knowledge Article

Published:

April 6, 2017

Last Updated:

November 28, 2018