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

Function calculate_materialization_costs

sql/sql_optimizer.cc:9229–9333  ·  view source on GitHub ↗

For {semijoin,subquery} materialization: calculates various cost information, based on a plan in join->best_positions covering the to-be-materialized query block and only this. @param join JOIN where plan can be found @param sj_nest sj materialization nest (NULL if subquery materialization) @param n_tables number of to-be-materialized tables @param[out] sjm where computed c

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 7

get_partial_join_costFunction · 0.85
minFunction · 0.85
get_tmp_table_rec_lengthFunction · 0.85
next_bitMethod · 0.80
add_ioMethod · 0.80
used_tablesMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected