-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize get list of possible values query for types/Collection
columns
#170
Comments
types/Collection
columns
Related #119 |
Can you please clarify what needs to be done here cause I am a bit OOTL? As I understood, it's better to apply these settings for types/Collection scans queries:
Is it correct? |
Yeah, something like that will be simpler. It will not return sorted list of values, but just first/random 1000 values. Another possible problem, what if your column have less then 1000 values, so ClickHouse will scan it fully. (1 trillion rows) So, it make sense to play with settings:
Or
|
Use approach with settings for such queries:
ClickHouse/ClickHouse#50919 (comment)
The text was updated successfully, but these errors were encountered: