MCPcopy Create free account
hub / github.com/arkdb/inception / find_intersect_order

Function find_intersect_order

sql/opt_range.cc:4682–4760  ·  view source on GitHub ↗

Sort indexes in an order that is likely to be a good index merge intersection order. After running this function, [start, ..., end-1] is ordered according to this strategy: 1) Minimize the number of indexes that must be used in the intersection. I.e., the index covering most fields not already covered by other indexes earlier in the sort order is picked first. 2) When mu

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

get_best_ror_intersectFunction · 0.85

Calls 8

alloc_rootFunction · 0.85
bitmap_initFunction · 0.85
bitmap_copyFunction · 0.85
bitmap_intersectFunction · 0.85
bitmap_bits_setFunction · 0.85
bitmap_subtractFunction · 0.85
bitmap_is_clear_allFunction · 0.85

Tested by

no test coverage detected