The DeepSee Shell Best Practices Series - Get your MDX query performance stats from the DeepSee Shell
DeepSee Shell can show MDX query stats and result set stats.
>>stats on
Stats are: on
>>SELECT {[Measures].[%COUNT],[Measures].[Allergy Count],[MEASURES].[MEDIAN TEST SCORE]} ON 0,NON EMPTY HEAD(NONEMPTYCROSSJOIN([AgeD].[H1].[Age Group].Members,[AgeD].[H1].[Age Bucket].Members),2000) ON 1 FROM [PATIENTS] %FILTER [GenD].[H1].[Gender].&[Female]
Patient Count Allergy Count Median Test Scor
1 0 to 29->0 to 9 69 45 73.50
2 0 to 29->10 to 19 74 47 75.50
3 0 to 29->20 to 29 80 56 68.00
4 30 to 59->30 to 3 82 43 77.00
5 30 to 59->40 to 4 75 49 75.00
6 30 to 59->50 to 5 58 43 68.00
7 60+->60 to 69 43 24 68.00
8 60+->70 to 79 24 16 70.50
9 60+->80+ 20 9 78.00
============================================
Query Statistics:
Results Cache: 1
Query Tasks: 0
Computations: 0
Cache Hits: 0
Cells: 0
Slices: 1
Expressions: 0
Join Indices: 0
Prepare: 2.689 ms
Execute Axes: 16.048 ms
Rows: 14.568 ms
Crossjoin: 11.505 ms
Members: 5.491 ms
Execute Cells: 0.000 ms
Consolidate: 0.000 ms
Total Time: 18.737 ms
ResultSet Statistics:
Cells: 27
Parse: 7.189 ms
Display: 1.943 ms
Total Time: 9.132 ms
Elapsed time: .040249s


