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 index scan when more than one index scanned and ANDed [CORE1069] #1490
Comments
Modified by: @hvladstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.1 [ 10041 ] |
Commented by: Ann Harrison (awharrison) You could extend this to include OR's of indexed terms. Pass in the existing bit map and set bits |
Commented by: @hvlad Ann, please, take a look at EVL_bitmap, especially at nod_bit_in handler |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Commented by: @pcisar Reopened to update ticket information. |
Modified by: @pcisarWorkflow: jira [ 11440 ] => Firebird [ 14970 ] |
Modified by: @pavel-zotovQA Status: No test |
Modified by: @pavel-zotovstatus: Closed [ 6 ] => Closed [ 6 ] QA Status: No test => Cannot be tested |
Submitted by: @hvlad
When two index scan's AND'ed pass first bitmap into second scan and set bit in second bitmap only if corresponding bit is set in first bitmap.
Then no need to perform AND operation on both bitmap's as second already ANDed with first one
This is reduced number operation on bitmaps and amount of memory needed for second bitmap
Commits: 2e343c7
The text was updated successfully, but these errors were encountered: