[MDEV-7662] Possible perf issue: handler objects are created for merged derived tables Created: 2015-03-04 Updated: 2015-03-04 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 5.5.42, 10.0.17 |
| Fix Version/s: | 10.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
This is a continuation of If one takes a basic testcase with a merged derived table (or a view):
they can see that the code calls create_tmp_table(... do_not_open=true. ...) for the derived table (or the merged view). This may add extra overhead (although we are not sure how much ATM). This effect was introduced in MariaDB 5.3, in this commit:
MySQL 5.6 doesn't have this optimization, so they dont have this problem. |