Skip to content

[Feature Request] Add the capability to automatically adjust the skipFactor parameter for improved query cache utilization #20436

@kkewwei

Description

@kkewwei

Is your feature request related to a problem? Please describe

QueryCache is proven to accelerate query performance, with up to a 50% improvement achievable through proper configuration. In #18351, we added capability to adjuste the querycache skipFactor, but this expert-level setting requires manual tuning to take effect.

Cluster administrator unfamiliar with skipFactor often fail to unlock the full potential of querycache. In production, we have seen many clusters with underutilized query caches—where manual skipFactor adjustments directly boosted query performance.

Another common scenario is that users retain the default skipFactor, only to find the querycache perpetually saturated—resulting in cache entry creation and eviction. This not only causes unnecessary CPU overhead but also degrades overall query performance. In such cases, reducing the skipFactor value would effectively alleviate cache overloading.

Describe the solution you'd like

Therefore recommend adding a scheduled task to auto-adjust skipFactor based on real-time query cache usage, enabling the system to maximize query caching value without manual intervention.

Related component

Search:Performance

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions