[MDEV-3157] LP:940652 - Non-semi-join materialization creates too many temp. tables Created: 2012-02-24 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Sergei Petrunia | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
Non-semi-join materialization strategy creates too many temp. tables: CREATE TABLE t1(a int);
------------------------
------------------------ The query creates 3 temporary tables. Note that with default settings (semijoin=on) it will create two:
|
| Comments |
| Comment by Sergei Petrunia [ 2012-02-24 ] | ||||||||||||||||||||||||||||||
|
Re: Non-semi-join materialization creates too many temp. tables MariaDB [j16]> explain SELECT * FROM t1 WHERE a IN (SELECT * FROM t2 GROUP BY a HAVING a > 1);
---
--- | ||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2012-02-24 ] | ||||||||||||||||||||||||||||||
|
Re: Non-semi-join materialization creates too many temp. tables | ||||||||||||||||||||||||||||||
| Comment by Rasmus Johansson (Inactive) [ 2012-02-24 ] | ||||||||||||||||||||||||||||||
|
Launchpad bug id: 940652 |