You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql/hints: add per-node cache for system.statement_hints
This commit adds a per-node cache for the `system.statement_hints` table,
similar to the table stats cache. The cache tracks the set of all statement
fingerprint hashes that have hints in a map kept up-to-date via rangefeed.
This allows queries to quickly determine whether they have hints, minimizing
the overhead for unhinted queries. Hints are kept in a separate
limited-capacity LRU cache. The LRU cache size can be configured by setting
the `sql.hints.statement_hints_cache_size` cluster setting.
Fixes#148160
Release note: None
0 commit comments