[MDEV-15504] Use group by optimization, if where condition includes the whole table or partition Created: 2018-03-07 Updated: 2019-03-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Optimizer, Partitioning |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Richard Stracke | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Hello, this feature request based on https://bugs.mysql.com/bug.php?id=89870 In the following both scenarios group by optimizazion will not used. With partition:
Without partition:
In both cases Is it possible to enhance the optimizer to check, if the where condition include the whole table (or partition in the first case), so group-by optimization is feasible ? Richard |
| Comments |
| Comment by Igor Babaev [ 2019-03-28 ] |
|
Richard, |