Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Help understanding simple query trace with 35,000 "query subcube" events

$
0
0

No matter WHAT query I issue against my cube, I'm finding thousands of query subcube events against an unexpected , I assume it's a partition.

Even for the simplest possible query SELECT FROM <CUBE>, which for this cube would return the measure [MRN Distinct Count], a trace reveals 35,000 query subcube events against a partition (?) called "<server>.Medical Home.MedHome.Lab Orders With Results" which is NOT the partition that holds that [MRN Distinct Count] measure.

I can't figure out why this object is being queried so many times for queries completely unrelated to it.  I believe this performance degradation is somewhat new...so I have been trying to think of what may have been added to the cube recently.

I recently added KPIs and calculated sets & members that DO draw from that Lab Orders With Results object...would calculated members or KPI's cause this kind of problem? I thought that they were all pre-calculated @ processing?

Thanks for any insight you can provide

Here's a summary of the profiler trace on the query SELECT FROM <CUBE>

Event Desc# of EventsObjectPathDuration
Query Begin1NULL0
Query Cube Begin1<server>.Medical Home.MedHome0
Query Subcube Verbose11<server>.Medical Home.MedHome.Fact Dx 2189
Query Dimension7<server>.Medical Home.Dim Person0
Query Subcube Verbose35650<server>.Medical Home.MedHome.Lab Orders With Results13856
Serialize Results Begin1<server>.Medical Home.MedHome0
Serialize Results Current4<server>.Medical Home.MedHome0
Query Subcube Verbose5<server>.Medical Home.MedHome.Dim Person0
Serialize Results Current1<server>.Medical Home.MedHome0
Serialize Results End1<server>.Medical Home.MedHome0
Query Cube End1<server>.Medical Home.MedHome40919
Query End1NULL41059


Paul


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>