HetuEngine provides the execution plan cache function. For the same query that needs to be executed for multiple times, this function reduces the time required for generating the execution plans for the same query.
Parameter |
Default Value |
Recommended Value |
Description |
Parameter File |
---|---|---|---|---|
hetu.executionplan.cache.enabled |
false |
true |
Indicates whether to enable the global execution plan cache. |
coordinator.config.properties and worker.config.properties |
hetu.executionplan.cache.limit |
20000 |
Adjust the value based on application requirements. |
Indicates the maximum number of execution plans that can be cached. |
coordinator.config.properties and worker.config.properties |
hetu.executionplan.cache.timeout |
86400000 |
Adjust the value based on application requirements. |
Indicates the timeout interval of the cached execution plan since the last access, in milliseconds. |
coordinator.config.properties and worker.config.properties |