![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
When I select a distinct view of the query log that captures OLAP queries, I get 9 distinct aggregations. I sample each query (1). When I do the usage-based optimizer in AS, it finds only 5. When I inspect these 5 with the Partition Explorer tool, it is missing the single aggregation that would make my MDX query run the fastest. Why does the optimizer not include some aggregation designs? Is there a setting I need to make to get it to include all designs and not "pick and choose?" I realize that it may be able to use other aggregations to provide the missing data, but in my case the 1 level I needed aggregated was missing from all 5 aggregations the optimizer chose. However, if it had used all nine aggregations, there were two of the nine that had the needed level aggregation. Any expertise out there with this type of issue? Thanks Kory |
#3
| |||
| |||
|
|
When using the UI to create usage-based aggs, at the last step it displays the form with the chart on it. This UI provides one last (confusing) opportunity to limit the # of aggs that will be built. Make sure the defaults aren't limiting the aggs. tom @ the domain below www.tomchester.net "Kory" <kory.skistad (AT) gmacrfc (DOT) com> wrote in message news:dd431a8c.0310010655.6d6dd5d5 (AT) posting (DOT) google.com... When I select a distinct view of the query log that captures OLAP queries, I get 9 distinct aggregations. I sample each query (1). When I do the usage-based optimizer in AS, it finds only 5. When I inspect these 5 with the Partition Explorer tool, it is missing the single aggregation that would make my MDX query run the fastest. Why does the optimizer not include some aggregation designs? Is there a setting I need to make to get it to include all designs and not "pick and choose?" I realize that it may be able to use other aggregations to provide the missing data, but in my case the 1 level I needed aggregated was missing from all 5 aggregations the optimizer chose. However, if it had used all nine aggregations, there were two of the nine that had the needed level aggregation. Any expertise out there with this type of issue? Thanks Kory |
#4
| |||
| |||
|
|
When using the UI to create usage-based aggs, at the last step it displays the form with the chart on it. This UI provides one last (confusing) opportunity to limit the # of aggs that will be built. Make sure the defaults aren't limiting the aggs. tom @ the domain below www.tomchester.net "Kory" <kory.skistad (AT) gmacrfc (DOT) com> wrote in message news:dd431a8c.0310010655.6d6dd5d5 (AT) posting (DOT) google.com... When I select a distinct view of the query log that captures OLAP queries, I get 9 distinct aggregations. I sample each query (1). When I do the usage-based optimizer in AS, it finds only 5. When I inspect these 5 with the Partition Explorer tool, it is missing the single aggregation that would make my MDX query run the fastest. Why does the optimizer not include some aggregation designs? Is there a setting I need to make to get it to include all designs and not "pick and choose?" I realize that it may be able to use other aggregations to provide the missing data, but in my case the 1 level I needed aggregated was missing from all 5 aggregations the optimizer chose. However, if it had used all nine aggregations, there were two of the nine that had the needed level aggregation. Any expertise out there with this type of issue? Thanks Kory |
#5
| |||
| |||
|
|
BTW- I found your utilities on your web site extremely useful. To round out your toolbox, a tool to design and save aggregations would be perfect I've used the Partition Explorer tool but it is buggyand I think Excel would be a better environment to host this type of utility. Just a thought... |
#6
| |||
| |||
|
|
Thanks Kory. You're right, unlikely I'll be rev'ing the 2000-based stuff though. Looking to the future. tom @ the domain below www.tomchester.net "Kory Skistad" <kskistad (AT) hotmail (DOT) com> wrote in message news:c27ce0e1.0310011606.32cb1074 (AT) posting (DOT) google.com... BTW- I found your utilities on your web site extremely useful. To round out your toolbox, a tool to design and save aggregations would be perfect I've used the Partition Explorer tool but it is buggyand I think Excel would be a better environment to host this type of utility. Just a thought... |
#7
| |||
| |||
|
|
In the event that you find that after you try Tom's suggestion below that the aggregates are still not added, you could still go in an add them by hand using the Partition Explorer from the SQL Server 2k resource kit. Sean -- Sean -- Sean Boon SQL Server BI Product Unit -- This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm. "Tom Chester" <publicNOSPAM (AT) tomchester (DOT) net> wrote in message news:YFCeb.599$eI.16756 (AT) news (DOT) uswest.net... When using the UI to create usage-based aggs, at the last step it displays the form with the chart on it. This UI provides one last (confusing) opportunity to limit the # of aggs that will be built. Make sure the defaults aren't limiting the aggs. tom @ the domain below www.tomchester.net "Kory" <kory.skistad (AT) gmacrfc (DOT) com> wrote in message news:dd431a8c.0310010655.6d6dd5d5 (AT) posting (DOT) google.com... When I select a distinct view of the query log that captures OLAP queries, I get 9 distinct aggregations. I sample each query (1). When I do the usage-based optimizer in AS, it finds only 5. When I inspect these 5 with the Partition Explorer tool, it is missing the single aggregation that would make my MDX query run the fastest. Why does the optimizer not include some aggregation designs? Is there a setting I need to make to get it to include all designs and not "pick and choose?" I realize that it may be able to use other aggregations to provide the missing data, but in my case the 1 level I needed aggregated was missing from all 5 aggregations the optimizer chose. However, if it had used all nine aggregations, there were two of the nine that had the needed level aggregation. Any expertise out there with this type of issue? Thanks Kory |
#8
| |||
| |||
|
|
Good point Tom. Hopefully "Yukon" Analysis Services will have a lot of management tools included without users having to build their own. Kory "Tom Chester" <publicNOSPAM (AT) tomchester (DOT) net> wrote Thanks Kory. You're right, unlikely I'll be rev'ing the 2000-based stuff though. Looking to the future. tom @ the domain below www.tomchester.net "Kory Skistad" <kskistad (AT) hotmail (DOT) com> wrote in message news:c27ce0e1.0310011606.32cb1074 (AT) posting (DOT) google.com... BTW- I found your utilities on your web site extremely useful. To round out your toolbox, a tool to design and save aggregations would be perfect I've used the Partition Explorer tool but it is buggyand I think Excel would be a better environment to host this type of utility. Just a thought... |
![]() |
| Thread Tools | |
| Display Modes | |
| |