Subject | Re: [firebird-support] Re: Natural Plan when grouping by 5 indexed columns? |
---|---|
Author | Richard Wesley |
Post date | 2007-02-01T20:57:34Z |
On Jan 31, 2007, at 16:28, Adam wrote:
change the plan or the speed, so it looks like the "artificiality" of
the query is not the problem. Which makes me happy - I would have
been surprised if the optimiser was that particular.
________________________________________________________
Richard Wesley Senior Software Developer Tableau
Software
Visit: http://www.trytableau.com/now.html
> Why do you need to group by unless you have aggregates or a havingBecause one is trying to view the dimension structure?
> clause?
> It is quite possible an optimisation noone has considered writingAdding an aggregation (SUM("Gross Profit")) to the WHERE did not
> because it seems at first glance to me to be unusual query.
change the plan or the speed, so it looks like the "artificiality" of
the query is not the problem. Which makes me happy - I would have
been surprised if the optimiser was that particular.
________________________________________________________
Richard Wesley Senior Software Developer Tableau
Software
Visit: http://www.trytableau.com/now.html