marcosqlbi / SsasEventsAnalyzer

SSAS Events Analyzer
26 stars 9 forks source link

[REQ] Expand query trace definition to include VertiPaq SE Query/Cache Match #7

Closed byobi closed 7 years ago

byobi commented 7 years ago

Expanding the xevent query trace to include the following events...

would allow us to provide deeper insights into query performance issues...

However, on busy systems, this could potentially add a lot more data to the xevent files and overwhelm the current method for shredding the xevent files (i.e. sys.fn_xe_file_target_read_file). If that becomes the case we would need to explore other options... for example, using .NET (http://byobi.com/blog/2015/12/3-methods-for-shredding-analysis-services-extended-events/)

marcosqlbi commented 7 years ago

I would avoid capturing those events by default. Analyzing the VertiPaq events is convenient when using DAX Studio, I'm not sure that such analysis on historical query have an high value, but it certainly have an high cost. A single DAX query can raise tens or hundreds of SE queries. I'm not saying it wouldn't be interesting, just that it's expensive to capture and not easy to analyze later.

byobi commented 7 years ago

yes, that's a good point... the collection/storage/processing is very likely to out-weigh the analysis value. Plus, from a usage standpoint, slow queries will have to be brought over to DAX studio for proper tuning... so yeah, agree there's not much value with this suggestion.