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

KB19538: When running a cached report in MicroStrategy Developer or Web 9.4.x-10.x with statistics logging enabled, the IS_REP_COL_STATS table is not being populated.


Stefan Zepeda

Salesforce Solutions Architect • Strategy


This article describes an expected behaviour: when running a report in MicroStrategy Developer 9.4.x-10.x and collecting statistics for this execution, the IS_REP_COL_STATS table is not being populated

SYMPTOM:
When running a report in Strategy Developer 9.4.x-10.x  and collecting statistics for this execution, the IS_REP_COL_STATS table is not being populated.
 
STEPS TO REPRODUCE:
Using Strategy Tutorial:

  • Create a simple report with the Year attribute in the rows and the Revenue metric in the columns as its objects.
  • Go to Data->Report Caching Options and ensure that the option "Enabled: This report should be cached" is checked as shown in the image below:
ka02R000000kcWXQAY_0EM440000002Ei0.jpeg
  • Execute the report. Click Save and Close.
  • Run the report again from Strategy Desktop and the user will notice that there is no information being populated in the IS_REP_COL_STATS table.

CAUSE:
This is expected behavior for Strategy Statistics logging.
When running a report that is already cached, Strategy will create a record in the IS_CACHE_HIT_STATS table but will not do it for the IS_REP_COL_STATS as shown in the following example SQL being executed:
 
0090CD1010090CD30insert into IS_CACHE_HIT_STATS (CACHEINDEX,CACHESESSIONID,SERVERID,SERVERMACHINE,PROJECTID,CACHEHITTIME,CACHEHITTYPE,CACHECREATORJOBID,CREATORSESSIONID,JOBID,RECORDTIME) values (13, 'F2CD551E4442F8CC10F9B5A022760C0F', '38A341254D1D43951064E4ABC315BC6A', 'WAS-RORTEGA:34952', 'BB8A57CE45D4CB21F7BA4A86804EF023', {ts'2008-11-11 18:27:17'}, 0, 518, 'F2CD551E4442F8CC10F9B5A022760C0F', -1,GETDATE())
ACTION:
Users have two different options to always have statistics logged the IS_REP_COL_STATS table for running any report :

  • Re-executing the report, which will ensure that statistics are logged.
  • Disable the caching option for this report by going to Data->Report Cache Options and select "Disabled: The report should not be cached" as shown in the image below which will cause the report to always be re-executed against the warehouse, in turn creating an entry in the IS_REP_COL_STATS table.
ka02R000000kcWXQAY_0EM440000002Ehy.jpeg

Note: For the second option, users should be aware that disabling the cache option may impact performance for the report will never utilize Intelligence Server caching.
 
The SQL being executed for statistics will now insert data into the IS_REP_COL_STATS table as shown in the following example query:
 
0090CD1010090CD30insert into IS_REP_COL_STATS (JOBID,SESSIONID,SERVERID,SERVERMACHINE,PROJECTID,TABLEID,COLUMNID,COLUMNNAME,SQLCLAUSETYPEID,COUNTER,RECORDTIME) values (529, 'F2CD551E4442F8CC10F9B5A022760C0F', '38A341254D1D43951064E4ABC315BC6A', 'WAS-RORTEGA:34952', 'BB8A57CE45D4CB21F7BA4A86804EF023', '8D67912D11D3E4981000E787EC6DE8A4', '8D6792A011D3E4981000E787EC6DE8A4', 'TOT_DOLLAR_SALES', 4, 1,GETDATE())
0090CD1010090CD30insert into IS_REP_COL_STATS (JOBID,SESSIONID,SERVERID,SERVERMACHINE,PROJECTID,TABLEID,COLUMNID,COLUMNNAME,SQLCLAUSETYPEID,COUNTER,RECORDTIME) values (529, 'F2CD551E4442F8CC10F9B5A022760C0F', '38A341254D1D43951064E4ABC315BC6A', 'WAS-RORTEGA:34952', 'BB8A57CE45D4CB21F7BA4A86804EF023', '8D67912D11D3E4981000E787EC6DE8A4', '8D6791E111D3E4981000E787EC6DE8A4', 'YEAR_ID', 2, 1,GETDATE())


Comment

0 comments

Details

Knowledge Article

Published:

April 14, 2017

Last Updated:

April 14, 2017