Kylin 4 is a major architecture upgrade version, both cube building engine and query engine use spark as calculation engine, and cube data is stored in parquet files instead of HBase.So the build/query performance tuning is very different from Kylin 3 tuning.
About the build/query performance tuning of Apache Kylin4.0, Please refer to:
How to improve cube building and query performance of Apache Kylin4.0.
At the same time, you can refer to kylin4.0 user’s optimization practice blog:
why did Youzan choose Kylin4