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
..
2022-06-10 19:45:31 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-05-31 16:13:42 +08:00
2023-04-24 14:51:51 +08:00
2022-04-12 15:30:40 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-03-29 20:56:49 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2022-04-12 15:30:40 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-05-22 00:32:20 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2023-05-10 16:18:44 +08:00
2023-04-24 14:51:51 +08:00
2023-04-24 14:51:51 +08:00
2022-08-29 12:06:01 +08:00
2023-04-24 14:51:51 +08:00