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
Make the optimiser aware of the parallel temp scan
Consider the extra cost of flushing temporary tables in partial path
comparisons. With this commit, the optimiser gains a rationale for cost-based
decision on enabling the parallel scan of subtrees that include temporary
tables. It is achieved by adding to the path comparison routine an extra
'flush buffers' weighting factor.
It is trivial to calculate the cost by tracking the number of dirtied temporary
buffers and multiplying it by the write_page_cost parameter.
The functions compare_path_costs and compare_fractional_path_costs
were modified to account for this additional factor.
0 commit comments