Skip to content
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

Use better estimation methods for values that stats never saw #7127

Closed
alivxxx opened this issue Jul 23, 2018 · 0 comments
Closed

Use better estimation methods for values that stats never saw #7127

alivxxx opened this issue Jul 23, 2018 · 0 comments
Assignees

Comments

@alivxxx
Copy link
Contributor

alivxxx commented Jul 23, 2018

When we query a value that the stats never saw, we will estimate as if they do not exist. However, we can use better estimation methods:

  • For equality queries, we can estimate them based on NDV.

  • For range queries, we can estimate them based on histograms and uniform spread assumptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant