Details
-
New Feature
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Duplicate
-
None
Description
MySQL 8 implemented hints that can be embedded into the query text (for example, in the view definition) and used to control every optimizer option available in the optimizer_switch for every table (among other hints). See https://dev.mysql.com/doc/refman/8.0/en/optimizer-hints.html for more details.
I think we should do the same, as finding and fixing every place where SET STATEMENT ... FOR may help to get good plan for some problematic view is too complex to be practical. This was already discussed as a large project in MDEV-12980.
Attachments
Issue Links
- is duplicated by
-
MDEV-33281 Implement optimizer hints like in MySQL 8
-
- In Progress
-
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Ralf Gebhardt [ ralf.gebhardt@mariadb.com ] |
Workflow | MariaDB v3 [ 124619 ] | MariaDB v4 [ 131546 ] |
Assignee | Ralf Gebhardt [ ralf.gebhardt@mariadb.com ] | Sergei Petrunia [ psergey ] |
Description |
MySQL 8 implemented hints that can be embedded into the query text (for example, in the view definition) and used to control every optimizer option available in the optimizer_switch for every table (among other hints). See https://dev.mysql.com/doc/refman/8.0/en/optimizer-hints.html for more details.
I think we should do the same, as finding and fixing every place where SET STATEMENT ... FOR may help to get good plan for some problematic view is too complex to be practical. This was already discussed as a large project in MDEV-12980. |
MySQL 8 implemented hints that can be embedded into the query text (for example, in the view definition) and used to control every optimizer option available in the optimizer\_switch for every table (among other hints). See https://dev.mysql.com/doc/refman/8.0/en/optimizer\-hints.html for more details. I think we should do the same, as finding and fixing every place where SET STATEMENT ... FOR may help to get good plan for some problematic view is too complex to be practical. This was already discussed as a large project in MDEV\-12980. |
Issue Type | Task [ 3 ] | New Feature [ 2 ] |
Assignee | Sergei Petrunia [ psergey ] | Michael Widenius [ monty ] |
Fix Version/s | 11.6 [ 29515 ] |
Link | This issue is duplicated by MDEV-33281 [ MDEV-33281 ] |
Fix Version/s | 11.7 [ 29815 ] | |
Fix Version/s | 11.6 [ 29515 ] |
Labels | triage |
Zendesk Related Tickets | 201690 | |
Zendesk active tickets | 201690 |
Fix Version/s | 11.8 [ 29921 ] | |
Fix Version/s | 11.7 [ 29815 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Assignee | Michael Widenius [ monty ] | Oleg Smirnov [ JIRAUSER50405 ] |
Summary | Add flexible optimizer hints support for every setting in the optimizer_switch and more | Add flexible optimizer hints support for every setting in the optimizer_switch |
Summary | Add flexible optimizer hints support for every setting in the optimizer_switch | Add flexible optimizer hints support for every setting in the optimizer_switch and more |
Fix Version/s | 11.9 [ 29945 ] | |
Fix Version/s | 11.8 [ 29921 ] |
Labels | triage |
Fix Version/s | 12.1 [ 29992 ] | |
Fix Version/s | 12.0 [ 29945 ] |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 12.1 [ 29992 ] | |
Resolution | Duplicate [ 3 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |