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

KB9868: How is query cancellation facilitated by the MicroStrategy Query Engine?


Community Admin

• Strategy


When a query must be cancelled, a SQLCancel ODBC command is issued by the application (in this case, Strategy Query Engine) to the database. The following are some situations under which SQLCancel is issued by the Strategy Query Engine:
 

  • A user manually cancels a query in Strategy Developer or Strategy Web.
  • The Maximum value for report execution time setting is reached. This setting is located in Project Configuration > Governing.
  • The project goes into Execution Idle mode.
  • Timeout on a SQL statement for purging data in Statistics tables is exceeded.

Per Strategy's experience, SQLCancel is a complex operation and its successful execution possibly depends upon a number of factors like the database itself, ODBC driver, database load, timing of query cancellation and others.
 
To trouble-shoot issues pertaining to query cancellation, it must be determined whether a SQLCancel command was issued by the Strategy Query Engine. This is done by obtaining an ODBC trace log. 
 
Refer to Technical Document below on how to enable ODBC trace: 
KB11979: How to turn on/turn off ODBC tracing in MicroStrategy Intelligence Server Universal 9.x  
KB8699: How to enable 32-bit Open Database Connectivity (ODBC) tracing in MicroStrategy Intelligence Server 9.x
 
 
Third Party Software Installation:
WARNING:
The third-party product(s) discussed in this technical note is manufactured by vendors independent of Strategy. Strategy makes no warranty, express, implied or otherwise, regarding this product, including its performance or reliability.
 


Comment

0 comments

Details

Knowledge Article

Published:

June 5, 2017

Last Updated:

June 5, 2017