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

KB8975: Choosing "View SQL" for a report may result in long time for generated SQL to appear in MicroStrategy Intelligence Server


Community Admin

• Strategy


This article notes a scenario where SQL view takes significant time

SYMPTOM:
 
When a user chooses "View SQL" for a report, the Structured Query Language (SQL) generation takes much longer than anticipated. At this time, the Job Monitor displays a report status of "Waiting for cache."
 
CAUSE:
 
The report executing in "SQL View" is waiting for the cache file to be returned from another executing job. This behavior is working as designed. Every executed report type (Grid, Graph or SQL View) creates a job first. This job then checks to see if a cache file exists. If a matching report is already executing against the database, the Strategy Intelligence Server will then wait for the executing job to return and use the cache file. At this portion of the execution cycle, there is no recognized difference between Grid Reports, Graph Reports and SQL View reports.
 
WORKAROUND:
 
If the SQL is required immediately, it can be obtained from the Job Monitor. To retrieve it, perform the following steps:

  1. Go to the Job Monitor and highlight the report that is currently executing.
  2. Right click on the job and go to Quick View.


The SQL will be present in the job monitor window.
 


Comment

0 comments

Details

Knowledge Article

Published:

May 25, 2017

Last Updated:

May 25, 2017