Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unexpectedly slow scalar index performance #1887

Open
westonpace opened this issue Jan 30, 2024 · 0 comments
Open

Unexpectedly slow scalar index performance #1887

westonpace opened this issue Jan 30, 2024 · 0 comments
Assignees

Comments

@westonpace
Copy link
Contributor

This was reported from Discord. When querying an indexed column with a very simple query (unique_id_col = some_id) there was a lot of CPU time spent in the materialize index node. It looks like we are always materializing the entire list of row IDs (this table had millions of rows) even if the allow list is very small. We can probably pick the smaller of the two lists to iterate on if there is no block list.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant