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

KB20584: New feature in MicroStrategy Enterprise Manager 9.0: Indicator for SQL Execution against Warehouse


Community Admin

• Strategy


Article outlines how the indicator for SQL execution against the warehouse is mapped in the statistics tables.

Starting with Strategy Enterprise Manager 9.0, a new column called 'SQLEXECINDIC' has been added to the statistics table IS_REPORT_STATS to indicate if SQL/MDX was actually executed against the warehouse or the OLAP cube source.
 
This column is also available in the fact table IS_REP_FACT as IS_SQL_EXEC_IND_ID. In the Enterprise Manager Project, this column is used for the indicator attribute 'SQL Execution Indicator'.
 
There are several cases in which report jobs are logged in the table IS_REPORT_STATS, but these jobs don't actually result in execution of SQL or MDX against the warehouse of the OLAP Cube Source. Some of those cases are:
 

  1. Prompted or non-prompted report execution from Strategy Web that hit cache.
  2. Web exports which use existing report caches.
  3. Prompted report execution from Strategy Desktop that uses a report cache.
  4. Execution of a subset report (i.e. a subset report created based on an Intelligent Cube - new feature introduced in Strategy 9.0) in Strategy Desktop or Strategy Web.

Previously in 8.x, there was an indicator for cache creation in IS_REPORT_STATS, but there was no direct indicator for SQL execution. Also, in the IS_REP_FACT fact table, there were indicators for cache creation and cache hit, but these indicators are not applicable for element browse requests which result in SQL execution against the warehouse (when elements are not available in element cache or when element caching is disabled).
 
Using the SQL execution indicator, users can easily identify which report jobs resulted in execution against the database/cube data source and which report jobs did not. Sample data from IS_REPORT_STATS is shown below. The value of the indicator will be 1 for any job which results in SQL/MDX execution against the warehouse/MDX cube data source and the value will be 0 for all jobs which did not execute against the warehouse.
 

ka04W000000OgsUQAS_0EM440000002B9h.jpeg

 


Comment

0 comments

Details

Knowledge Article

Published:

June 8, 2017

Last Updated:

June 8, 2017