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

KB442285: Optimization for In-Memory query against Intelligent Cubes to improve filter expression for better performance


Community Admin

• Strategy


This technical article describes an optimization for In-Memory query against Intelligent Cubes to improve filter expression for better performance.

Starting with the release of Strategy ONE (March 2024), dossiers are also known as dashboards.
STEPS TO REPRODUCE
1. In Strategy Tutorial Project, create an In-Memory Intelligent Cube by importing the following Database Tables.

ka0PW0000001JSsYAM_0EM44000000RSd9.png

2. Publish the Cube, and create the following Dossier:

ka0PW0000001JSsYAM_0EM44000000RSdE.png

3.  From Visualization context menu, select Edit Filter... option and define following filter.

ka0PW0000001JSsYAM_0EM44000000RSdT.png

4.  From Visualization context menu, select Query Details... option. Note the highlighted part of the CSI is not efficient.


Tables Accessed:
Table2    [F_DAY_CTR_SLS9428FDCC1679389DE01331052FD41625]:    Call Ctr Id, Day Date,     Tot Dollar Sales, Tot Unit Sales, Tot Cost, Row Count - DAY_CTR_SLS, Gross Dollar Sales,     FACT_TABLE    
select    [Call Ctr Id]@[CALL_CTR_ID],
    sum([[F_DAY_CTR_SLS9428FDCC1679389DE01331052FD41625].Tot Unit Sales])@{[Call Ctr Id]} as [Tot Unit Sales]
from    DAY_CTR_SLS
with Table Join Tree:     [F_DAY_CTR_SLS9428FDCC1679389DE01331052FD41625]<([Call Ctr Id]@[CALL_CTR_ID] not in (2)
 and [Call Ctr Id]@[CALL_CTR_ID] not in (6)
 and [[F_DAY_CTR_SLS9428FDCC1679389DE01331052FD41625].Tot Dollar Sales] > 5000.0)>



ACTION/RESOLUTION:
Starting 11.0 release, the new CSI is efficient and looks like this:

Tables Accessed:
Table2    [F_DAY_CTR_SLS9428FDCC1679389DE01331052FD41625]:    Call Ctr Id, Day Date,     Tot Dollar Sales, Tot Unit Sales, Tot Cost, Row Count - DAY_CTR_SLS, Gross Dollar Sales,     FACT_TABLE    

select    [Call Ctr Id]@[CALL_CTR_ID],
    sum([[F_DAY_CTR_SLS9428FDCC1679389DE01331052FD41625].Tot Unit Sales])@{[Call Ctr Id]} as [Tot Unit Sales]
from    DAY_CTR_SLS
with Table Join Tree:     [F_DAY_CTR_SLS9428FDCC1679389DE01331052FD41625]<([Call Ctr Id]@[CALL_CTR_ID] not in (2, 6)
 and [[F_DAY_CTR_SLS9428FDCC1679389DE01331052FD41625].Tot Dollar Sales] > 5000.0)>

Strategy reference numbers for this technical note are KB442285 and DE101600.


Comment

0 comments

Details

Knowledge Article

Published:

November 19, 2018

Last Updated:

March 21, 2024