Jerry Hu
c03a19ea23
[improvement](bitmap) Using set to store a small number of elements to improve performance ( #19973 )
...
Test on SSB 100g:
select lo_suppkey, count(distinct lo_linenumber) from lineorder group by lo_suppkey;
exec time: 4.388s
create materialized view:
create materialized view customer_uv as select lo_suppkey, bitmap_union(to_bitmap(lo_linenumber)) from lineorder group by lo_suppkey;
select lo_suppkey, count(distinct lo_linenumber) from lineorder group by lo_suppkey;
exec time: 12.908s
test with the patch, exec time: 5.790s
2023-05-31 16:13:42 +08:00
..
2023-05-30 13:09:19 +08:00
2023-04-19 23:11:48 +08:00
2023-03-08 12:41:15 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2022-01-18 10:07:15 +08:00
2023-03-17 11:13:13 +08:00
2023-04-19 23:11:48 +08:00
2023-05-29 13:07:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-23 18:24:31 +08:00
2023-04-19 23:11:48 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-31 16:13:42 +08:00
2023-04-19 23:11:48 +08:00
2023-05-22 10:58:29 +08:00
2022-05-10 21:25:35 +08:00
2023-05-29 12:17:21 +08:00
2023-05-22 10:58:29 +08:00
2022-02-23 11:42:16 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 15:51:11 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2022-05-30 16:12:10 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-05-24 10:27:50 +08:00
2023-04-19 23:11:48 +08:00
2023-05-22 10:58:29 +08:00
2022-06-07 15:04:57 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-05-22 10:58:29 +08:00
2022-11-11 21:22:56 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-19 20:28:59 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-17 09:32:03 +08:00
2023-04-21 15:11:18 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-05-19 14:10:01 +08:00
2023-04-19 23:11:48 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 10:58:29 +08:00
2023-05-22 22:48:44 +08:00
2023-05-18 10:03:12 +08:00
2023-05-22 10:58:29 +08:00
2023-05-30 15:02:57 +08:00
2023-05-30 15:02:57 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-05-17 09:32:03 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-03-13 11:11:59 +08:00
2023-05-22 10:58:29 +08:00
2023-04-19 15:51:11 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-26 12:06:38 +08:00