1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
unknown 8ec5e13f1f MWL#89: Cost-based choice between Materialization and IN->EXISTS transformation
Phase 3: Implementation of re-optimization of subqueries with injected predicates
           and cost comparison between Materialization and IN->EXISTS strategies.

The commit contains the following known problems:
- The implementation of EXPLAIN has not been re-engineered to reflect the
  changes in subquery optimization. EXPLAIN for subqueries is called during
  the execute phase, which results in different code paths during JOIN::optimize
  and thus in differing EXPLAIN messages for constant/system tables.
- There are some valgrind warnings that need investigation
- Several EXPLAINs with minor differences need to be reconsidered after fixing
  the EXPLAIN problem above.

This patch also adds one extra optimizer_switch: 'in_to_exists' for complete
manual control of the subquery execution strategies.
2010-09-30 18:32:44 +03:00
..
2010-04-02 11:20:09 +02:00
2010-07-10 13:37:30 +03:00
2010-03-15 12:51:23 +01:00
2010-04-28 14:52:24 +02:00
2010-04-28 14:52:24 +02:00
2010-06-26 14:05:41 +04:00
2010-06-01 21:52:20 +02:00
2010-06-26 14:05:41 +04:00
2010-06-26 14:05:41 +04:00
2010-04-21 02:25:59 +02:00
2010-07-06 19:16:24 +04:00
2010-04-28 14:52:24 +02:00
2010-06-26 14:05:41 +04:00
2010-03-20 15:01:47 +03:00
2010-06-26 14:05:41 +04:00
2010-06-26 14:05:41 +04:00
2010-05-26 21:55:40 +03:00
2010-06-01 21:52:20 +02:00
2010-07-10 13:37:30 +03:00
2010-06-01 21:52:20 +02:00
2010-03-15 12:51:23 +01:00
2010-02-01 08:14:12 +02:00
2010-07-10 13:37:30 +03:00
2010-03-29 17:13:53 +02:00
2010-06-01 21:52:20 +02:00
2010-06-01 21:52:20 +02:00
2010-06-01 21:52:20 +02:00
2010-06-01 21:52:20 +02:00
2010-03-15 12:51:23 +01:00
2010-07-10 13:37:30 +03:00
2010-04-21 02:25:59 +02:00
2009-12-22 15:33:21 +03:00
2008-11-22 01:10:38 +01:00
2008-11-22 01:10:38 +01:00
2009-12-22 15:33:21 +03:00
2010-06-26 14:05:41 +04:00
2010-06-01 21:52:20 +02:00
2010-03-29 17:13:53 +02:00
2010-07-10 13:37:30 +03:00
2010-06-01 21:52:20 +02:00
2010-03-29 17:13:53 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2010-01-28 19:51:40 -02:00
2010-03-04 09:03:07 +01:00
2010-03-04 09:03:07 +01:00
2010-03-17 19:15:41 +01:00
2010-06-26 14:05:41 +04:00
2010-05-27 20:18:31 +03:00
2010-04-28 14:52:24 +02:00
2010-06-01 21:52:20 +02:00
2009-04-29 07:59:10 +05:00
2009-12-18 16:44:24 -02:00
2008-01-23 13:26:41 -07:00
2009-06-17 16:56:44 +02:00
2010-03-29 17:13:53 +02:00
2009-06-17 16:56:44 +02:00
2010-07-10 13:37:30 +03:00
2009-08-13 02:34:21 +04:00
2010-04-01 17:34:51 +03:00
2010-07-16 15:10:55 +03:00
2010-04-29 20:18:19 -03:00
2010-03-04 09:03:07 +01:00
2010-03-04 09:03:07 +01:00
2010-03-04 09:03:07 +01:00
2009-12-08 23:47:54 +02:00
2010-06-01 21:52:20 +02:00
2010-05-26 21:55:40 +03:00
2010-06-26 14:05:41 +04:00
2010-06-01 21:52:20 +02:00
2010-03-03 15:44:14 +01:00
2010-06-01 21:52:20 +02:00
2010-04-01 17:34:51 +03:00
2010-01-24 15:03:23 +08:00
2010-05-26 21:55:40 +03:00
2010-03-15 12:51:23 +01:00
2010-06-26 14:05:41 +04:00
2010-06-26 14:05:41 +04:00
2009-01-14 18:50:51 +04:00
2010-03-15 12:51:23 +01:00
2010-06-01 21:52:20 +02:00
2010-06-01 21:52:20 +02:00
2010-06-26 14:05:41 +04:00
2010-07-10 13:37:30 +03:00
2010-07-10 13:37:30 +03:00
2010-04-30 22:04:35 +02:00