Skip to main content
Version: 5.0.0

Recommendation

Following the manual modeling section, it’s evident that the work involved can be tedious and labor-intensive, relying heavily on the expertise of data modelers. In this chapter, we will introduce an easier way to accomplish this work in Kylin 5.0 through a feature called Recommendation. Note that this type of recommendation differs from the its counterpart in machine learning, but it significantly improves your efficiency. We will cover the following topics:

  • Imported SQL Modeling: The Kylin recommendation engine can recognize input SQL statements, extract dimensions, measures, and other critical information, and automatically translate this data into models and indexes. This means you do not need in-depth knowledge to create models that meet your needs, allowing you to focus more on your business.

  • Query History Recommendation: The Kylin recommendation engine periodically analyzes query history records and transforms them into recommendations. You just need to review the proposed recommendations and make any necessary adjustments to the configuration to achieve your desired outcomes. Once you approve them, query performance can be significantly accelerated.

  • Index Optimization: The Kylin recommendation engine analyzes the relationships among existing indexes to identify those that are useless or ineffective. It then generates recommendations for deletion, helping you save time on building and managing indexes as well as conserving storage space.

Before the journey, you should turn on the recommendation function in the project setting page.

turn_on_recommendation.gif

Now, let’s embark on this journey.