Parameter Name | Description | Value Suggestion |
tencentdb_syscache_max_num | A process can possess a maximum of how many syscaches. When this number is exceeded, cache elimination begins. Default value is -1, which means this feature is disabled. | If high process memory usage is detected or abnormal growth in syscache quantity is found, the recommended value range is 10000 - 50000. If modification is needed, you can select an intermediate value such as 20000 and adjust it gradually based on monitoring and actual effect. |
tencentdb_syscache_evict_num | How many syscaches are eliminated in one elimination. Default value is 1, which means only one is eliminated at a time. | Generally, keeping the default value of 1 is sufficient to ensure a smooth elimination process with minimal performance impact. If syscache grows rapidly or faster memory release is required, this value can be appropriately increased to 5 - 10, but setting it too large is not recommended to avoid eliminating too many caches at one time and affecting query performance. |
Parameter Name | Description | Value Suggestion |
tencentdb_relcache_max_num | A process can possess a maximum of how many relcaches. When this number is exceeded, cache elimination begins. Default value is -1, which means this feature is disabled. | If there are a large number of tables in the system or frequent access to different tables, the number of relcaches may surge. The recommended value range is 1000 - 5000. Adjust the specific value according to the memory size and load condition of the instance. If the instance memory is sufficient and the number of accessed tables is small, you can keep the default value -1, disable this feature, and avoid the performance overhead caused by frequent elimination. |
tencentdb_relcache_evict_num | How many relcaches are eliminated in one elimination. Default value is 1, which means only one is eliminated at a time. | If you want to release the cache faster through elimination, you can increase this value appropriately, such as 5 - 10, to reduce the elimination frequency, but it may cause instantaneous performance fluctuations. If you want the elimination process to be smoother and avoid significant performance impact, keeping the default value of 1 is more stable. |


Feedback