v.21.6Improvement
Measure Found Rate for Dictionaries in ClickHouse
Measure found rate (the percentage for which the value was found) for dictionaries (seefound_rateinsystem.dictionaries). #23916 (Azat Khuzhin).
Why it matters
This feature enables users to monitor and analyze the effectiveness of dictionary key lookups by providing a metric that shows what percentage of queried keys were found. It helps in identifying dictionary hit rates and can assist in troubleshooting and optimizing dictionary usage.How to use it
Users can query thefound_rate column in the system.dictionaries table to see the current found rate for each dictionary. For example, use: SELECT name, found_rate FROM system.dictionaries; to retrieve this information.