You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The existing equality index scan deals with a single value and returns a bitmap matching that value. It could be extended to match several values with one index scan and return the combined bitmap for all those values. This allows to replace multiple index scans with a single scan in some cases. I can see such an improvement to be used e.g. by the block nested loops or the IN (<list>) predicate.
I suppose this should require the list of values to be sorted, but this is up to the implementation whether the storting will be performed by the caller or by the index scan code itself.
The text was updated successfully, but these errors were encountered:
description: The existing equality index scan deals with a single value and returns a bitmap matching that value. It could be extended to match several values with one index scan and return the combined bitmap for all those values. This allows to replace multiple index scans with a single scan in some cases. I can see such an improvement to be used e.g. by the block nested loops or the IN (<list>) predicate. => The existing equality index scan deals with a single value and returns a bitmap matching that value. It could be extended to match several values with one index scan and return the combined bitmap for all those values. This allows to replace multiple index scans with a single scan in some cases. I can see such an improvement to be used e.g. by the block nested loops or the IN (<list>) predicate.
I suppose this should require the list of values to be sorted, but this is up to the implementation whether the storting will be performed by the caller or by the index scan code itself.
Submitted by: @dyemanov
Votes: 1
The existing equality index scan deals with a single value and returns a bitmap matching that value. It could be extended to match several values with one index scan and return the combined bitmap for all those values. This allows to replace multiple index scans with a single scan in some cases. I can see such an improvement to be used e.g. by the block nested loops or the IN (<list>) predicate.
I suppose this should require the list of values to be sorted, but this is up to the implementation whether the storting will be performed by the caller or by the index scan code itself.
The text was updated successfully, but these errors were encountered: