on 03-27-2023 05:06 PM - edited on 06-16-2023 12:46 PM by Tristan
The MV Assistant helps you identify the appropriate value combination of Spark-related configurations for each materialized view (MV) in Incorta. A dedicated dashboard displays the recommended values and a comparison between the performance of the current and recommended configurations. In addition, the metadata database saves these recommended values per MV. As a schema developer, you can manually apply the recommended values for each MV.
The MV Assistant consists of a Spark Listener, a Heuristics Recommender, and a Cleanup job.
<TENANT_NAME>/mvlenslogs/pending/<SCHEMA_NAME>/<TABLE_NAME>/
.<TENANT_NAME>/mvlenslogs/archived/<SCHEMA_NAME>/<TABLE_NAME>/
directory.The following are the configurations that the MV Assistant analyzes and recommends new values for.
Configuration | Syntax | Description |
Executor Instances | spark.executor.instances |
Determines the total number of executors to allocate for the application |
Executor Cores | spark.executor.cores |
Determines the number of cores per executor |
Executor Memory | spark.executor.memory |
Determines the amount of memory to be allocated to each executor |
Shuffle Partitions | spark.sql.shuffle.partitions |
Determines how many partitions the data is partitioned into after shuffling |
1- The MV assistant will only work on MV's that have at least one successful run