Recommended Suggestions for LLVM
Currently, the LLVM database kernel side is enabled by default, and users can perform related configurations on it. The overall suggestions are as follows:
- Set an appropriate value for work_mem and set it as great as possible in allowed conditions. If much data is stored in disks, you are advised to disable the LLVM dynamic compilation and optimization by setting enable_codegen to off).
- To set an appropriate value for codegen_cost_threshold (The default value is 10000). Ensure that LLVM dynamic compilation and optimization is not used when the data volume is small. After the value is set, the database performance deteriorates due to using of LLVM dynamic compilation and optimization. In this scenario, you are advised to increase the parameter value.
- If a large amount of C- functions are invoked, you are advised not to use the LLVM dynamic compilation and optimization.
If the resource volume is sufficient, the database performance improves with the volume of data larger.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot