06-27-2017 09:30 PM
If you are under the scale limits consider increasing # of partitions. Impala tends to use one thread per partition when scanning.
06-28-2017 02:44 AM
06-28-2017 09:38 AM
Impala heavily relies on parallelism for throughput so if you have 60 partitions for Kudu and 1800 partitions for Parquet then due to Impala's current single-thread-per-partition limitation you have built in a huge disadvantage for Kudu in this comparison.
Please let us know if you re-run your comparison test.
07-02-2017 07:57 PM
I have been re-run the test, and kudu perform much better this time(though it's still a little bit slower than parquet), thanks for @mpercy's suggestion.
I changed two things by re-runing the test:
1, increase the partitions for the fact table from 60 to 768(affact all queries)
2, change the query3.sql 'or' predicate into 'in' predicate, so predicate can push down to kudu(only affact query 3)
below is the re-run result:
(column 'kudu60' is the previous result, which means the partitions of fact table is 60 )
(column 'kudu768' is the new result, which means the partitions of fact table is 768)