Igor Babaev
1ebe841fb8
MDEV-17382 Hash join algorithm should not be used to join materialized
...
derived table / view by equality
Now rows of a materialized derived table are always put into a
temporary table before join operation. If BNLH is used to join this
table with the result of a partial join then both operands of the
join are actually put into main memory. In most cases this is not
efficient.
We could avoid this by sending the rows of the derived table directly
to the join operation. However this kind of data flow is not supported
yet.
Fixed by not allowing usage of hash join algorithm to join a materialized
derived table if it's joined by an equality predicate of the form
f=e where f is a field of the derived table.
2018-10-08 00:31:37 -07:00
..
2018-05-15 12:10:48 +02:00
2017-07-20 20:13:28 +02:00
2018-06-21 23:47:39 +02:00
2017-07-12 19:46:44 +05:30
2018-06-21 23:47:39 +02:00
2018-05-10 13:01:42 +02:00
2018-05-08 10:48:13 +02:00
2018-06-21 23:47:39 +02:00
2018-08-05 13:25:40 +03:00
2017-08-17 11:38:34 +02:00
2018-03-14 12:45:28 +01:00
2018-03-14 12:45:28 +01:00
2018-07-01 22:32:55 +03:00
2018-05-23 00:32:49 +03:00
2017-07-05 17:15:59 +02:00
2018-05-01 11:50:34 +02:00
2018-04-10 17:43:18 +03:00
2018-09-16 11:23:27 +03:00
2018-09-10 16:47:44 +04:00
2017-08-09 18:09:04 +05:30
2018-09-24 11:46:08 +02:00
2018-07-18 20:58:59 +05:30
2018-02-06 14:50:50 +01:00
2017-11-21 20:03:57 +01:00
2018-09-14 18:13:16 -07:00
2018-07-20 19:32:28 -07:00
2018-09-17 23:15:56 -07:00
2017-09-17 11:05:33 +03:00
2018-08-02 08:19:57 +03:00
2017-09-17 11:05:33 +03:00
2017-09-17 11:05:33 +03:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2017-09-17 11:05:33 +03:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2017-12-08 13:19:19 +04:00
2017-09-17 11:05:33 +03:00
2017-07-05 17:15:59 +02:00
2017-12-08 13:19:19 +04:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2017-12-08 13:19:19 +04:00
2018-08-02 08:19:57 +03:00
2017-09-17 11:05:33 +03:00
2017-09-17 11:05:33 +03:00
2017-09-17 11:05:33 +03:00
2017-12-08 13:19:19 +04:00
2018-08-02 08:19:57 +03:00
2017-12-08 13:19:19 +04:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2017-12-08 13:19:19 +04:00
2018-08-02 08:19:57 +03:00
2017-09-18 10:12:23 +02:00
2017-09-13 16:45:42 +04:00
2017-10-23 15:35:10 -07:00
2017-11-06 12:56:56 +00:00
2018-08-27 16:15:05 +02:00
2018-10-08 00:31:37 -07:00
2018-08-15 16:48:13 +02:00
2018-08-02 08:19:57 +03:00
2018-08-05 13:25:40 +03:00
2018-02-08 13:53:21 +02:00
2017-08-01 09:52:57 +02:00
2017-10-24 14:53:18 +02:00
2017-05-09 13:24:52 +02:00
2018-08-05 13:25:40 +03:00
2018-05-19 22:12:39 +02:00
2018-03-20 17:53:33 +05:30
2018-09-14 08:47:22 +02:00
2018-02-06 14:50:50 +01:00
2018-01-30 11:35:27 +04:00
2017-07-05 19:08:55 +02:00
2018-03-16 14:12:00 +02:00
2017-06-16 09:50:57 -07:00
2017-10-24 14:53:18 +02:00
2018-08-21 15:20:34 +03:00
2018-09-13 13:42:09 +04:00
2017-09-18 10:12:23 +02:00
2018-05-07 13:49:14 +03:00
2017-10-24 14:53:18 +02:00
2017-12-22 12:23:39 +02:00
2018-04-10 17:43:18 +03:00
2018-09-24 11:46:08 +02:00
2017-10-11 11:57:26 +04:00
2017-07-20 20:13:28 +02:00
2017-11-14 13:36:50 +04:00
2018-09-16 10:22:32 +04:00
2017-07-11 23:27:19 +04:00
2018-01-04 19:46:23 +02:00
2018-09-14 08:47:22 +02:00
2018-06-21 10:15:27 +02:00
2018-05-19 22:05:55 +02:00
2018-09-24 11:46:08 +02:00
2017-12-22 12:23:39 +02:00
2018-09-14 08:47:22 +02:00
2017-04-27 19:12:38 +02:00
2018-06-21 23:47:39 +02:00
2018-05-08 17:08:23 +02:00
2017-08-16 18:44:17 +02:00
2017-07-05 17:15:59 +02:00
2017-07-05 17:15:59 +02:00
2017-07-05 17:15:59 +02:00
2018-06-21 23:47:39 +02:00
2017-06-08 12:45:08 +03:00
2017-05-09 13:24:52 +02:00
2018-10-08 00:31:37 -07:00
2018-05-20 20:25:35 +02:00
2017-11-16 09:31:12 +05:30
2017-09-22 02:27:00 +02:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2018-09-14 08:47:22 +02:00
2017-04-30 14:58:11 +02:00
2017-05-23 11:09:47 +03:00
2018-06-21 23:47:39 +02:00
2017-05-09 13:24:52 +02:00
2017-08-17 11:38:34 +02:00
2017-09-18 10:12:23 +02:00
2018-06-21 23:47:39 +02:00
2017-09-19 12:43:02 +03:00
2018-06-28 16:17:21 +02:00
2018-04-10 17:43:18 +03:00
2017-10-23 15:33:13 -07:00
2018-01-23 17:29:58 +05:30
2017-06-19 16:46:34 +03:00
2017-07-05 17:15:57 +02:00
2018-02-06 14:50:50 +01:00
2017-05-17 00:00:27 +03:00
2017-05-17 00:00:27 +03:00
2017-08-01 09:52:59 +02:00
2017-05-09 13:24:52 +02:00
2018-02-06 14:50:50 +01:00
2018-04-10 17:43:18 +03:00
2018-05-19 22:05:55 +02:00
2018-08-14 22:42:46 +02:00
2017-08-17 11:38:34 +02:00
2018-08-14 22:42:46 +02:00
2017-11-21 19:47:46 +01:00
2018-04-10 17:43:18 +03:00
2018-08-17 14:28:39 -07:00
2018-02-06 14:50:50 +01:00
2018-06-21 23:47:39 +02:00
2018-06-10 17:16:27 +03:00
2018-06-25 19:01:41 +02:00
2017-07-05 19:08:55 +02:00
2018-06-11 16:29:22 +04:00
2017-09-22 13:58:00 +02:00
2017-08-08 09:56:38 +02:00
2017-08-08 09:56:38 +02:00
2017-08-08 09:56:38 +02:00
2017-11-10 14:01:29 -08:00
2018-02-06 14:50:50 +01:00
2018-05-07 13:49:14 +03:00
2017-07-05 19:08:55 +02:00
2017-07-05 17:15:59 +02:00
2017-07-05 17:15:59 +02:00
2017-07-05 17:15:59 +02:00
2017-10-24 14:53:18 +02:00
2017-07-05 17:15:59 +02:00
2017-07-05 17:15:59 +02:00
2017-07-05 17:15:59 +02:00
2017-07-05 17:15:59 +02:00
2017-07-05 17:15:59 +02:00
2017-07-05 17:15:59 +02:00
2018-02-02 16:15:13 +02:00
2018-05-14 16:30:25 -07:00
2017-07-05 17:15:59 +02:00
2017-07-05 17:15:59 +02:00
2017-07-05 17:15:59 +02:00
2017-07-05 17:15:59 +02:00
2017-07-05 17:15:59 +02:00
2017-09-19 12:43:02 +03:00
2017-07-05 17:15:59 +02:00
2017-12-25 15:18:21 +01:00
2018-02-06 14:50:50 +01:00
2018-04-07 17:11:22 +03:00
2017-04-27 19:12:38 +02:00
2018-03-25 13:02:52 +02:00
2018-08-30 00:51:39 -07:00
2018-02-06 14:50:50 +01:00
2018-09-14 08:47:22 +02:00
2018-03-12 17:37:23 +01:00
2017-09-18 10:12:23 +02:00
2018-08-17 14:28:39 -07:00
2017-10-24 14:53:18 +02:00
2017-10-06 00:08:36 -07:00
2018-08-17 14:28:39 -07:00
2018-06-21 23:47:39 +02:00
2017-10-24 14:53:18 +02:00
2018-08-02 08:19:57 +03:00
2018-02-02 10:09:44 +01:00
2018-06-25 18:49:14 +02:00
2017-09-18 10:12:23 +02:00
2017-09-18 10:12:23 +02:00
2017-09-18 10:12:23 +02:00
2018-09-14 08:47:22 +02:00
2018-09-14 08:47:22 +02:00
2018-08-09 11:28:35 +02:00
2018-06-21 10:15:27 +02:00
2017-11-03 12:34:05 +05:30
2017-10-10 16:16:12 +03:00
2018-06-21 10:15:27 +02:00
2018-03-13 15:53:19 +04:00
2018-08-02 08:19:57 +03:00
2018-04-24 09:39:45 +03:00
2018-05-10 13:01:42 +02:00
2018-09-24 11:46:08 +02:00
2018-09-14 08:47:22 +02:00
2017-08-08 09:56:38 +02:00
2018-09-24 11:46:08 +02:00
2017-05-11 17:28:47 +03:00
2017-05-11 17:28:47 +03:00
2018-09-19 01:24:46 -07:00
2018-05-24 18:57:52 +03:00
2018-06-26 18:16:49 +03:00
2017-10-24 14:53:18 +02:00
2017-05-09 13:24:52 +02:00
2017-05-09 13:24:52 +02:00
2018-06-19 14:03:41 +04:00
2017-11-09 15:41:26 +04:00
2018-08-21 15:20:34 +03:00
2018-05-12 12:42:42 +02:00
2017-06-08 12:45:08 +03:00
2018-08-02 08:19:57 +03:00
2018-08-21 15:20:34 +03:00
2018-07-25 11:58:19 -07:00
2018-07-25 11:58:19 -07:00
2018-07-25 11:58:19 -07:00
2018-07-25 11:58:19 -07:00
2018-07-25 11:58:19 -07:00
2017-07-12 10:39:02 +02:00
2018-08-02 08:19:57 +03:00
2018-05-10 13:01:42 +02:00
2018-08-21 15:20:34 +03:00
2018-06-09 11:40:28 +05:30
2018-05-10 13:01:42 +02:00
2018-05-15 12:10:48 +02:00
2018-07-25 11:58:19 -07:00
2017-09-19 12:43:02 +03:00
2017-10-04 18:36:30 +02:00
2018-02-01 09:01:15 +00:00
2018-05-29 16:52:12 +03:00
2018-06-15 10:11:51 +04:00
2018-06-21 15:17:15 +04:00
2017-11-07 23:02:39 +02:00
2017-07-05 17:15:59 +02:00
2018-06-25 09:08:07 +04:00
2018-09-24 11:46:08 +02:00
2018-06-15 10:11:51 +04:00
2018-07-01 22:32:55 +03:00
2017-08-14 19:45:59 +02:00
2018-03-23 01:11:14 +01:00
2018-02-11 13:47:16 +01:00
2018-03-21 10:36:49 +02:00
2017-10-24 14:53:18 +02:00
2018-08-02 08:19:57 +03:00
2018-02-02 10:09:44 +01:00
2017-10-02 11:16:53 +03:00
2018-04-10 17:43:18 +03:00
2018-05-07 13:49:14 +03:00
2017-08-30 14:37:16 +00:00
2018-03-12 18:38:40 +00:00
2017-09-19 15:14:10 +03:00
2017-09-19 15:14:10 +03:00
2018-08-25 18:47:14 +03:00
2018-08-25 18:47:14 +03:00
2018-03-12 23:43:42 +04:00
2018-02-06 14:50:50 +01:00