tencent cloud

TDSQL Boundless

tdsql_cache_range_max_use_cnt

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-03-27 17:59:23

Feature Description

tdsql_cache_range_max_use_cnt is used to set the maximum number of times the cached range information can be used before it becomes invalid. Caching range information can reduce disk access frequency, thereby improving query performance. When this limit is reached, the system removes the least recently used data blocks based on the LRU algorithm to free up space for new data blocks.
When adjusting the tdsql_cache_range_max_use_cnt parameter, you need to consider the following factors:
Cache hit rate: Increasing the value of the tdsql_cache_range_max_use_cnt parameter may improve the hit rate of range query cache, thus enhancing query performance. However, an extremely large value may cause the data blocks in the cache not to expire quickly enough, thereby reducing the effectiveness of the cache.
Monitor and optimize: Monitor server performance metrics such as CPU utilization, memory utilization, and disk I/O to determine whether the tdsql_cache_range_max_use_cnt parameter needs to be adjusted. If a performance bottleneck is identified, you can try to adjust the parameter to optimize performance.

Attribute Description

Required
Description
Parameter Type
ULONGLONG
Default Value
100000
Value Range
0 ~ 18446744073709551615
Effective Scope
GLOBAL
SESSION
Restart Required
No

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백