In this particular case the use of UNION ALL leads to a better query plan compared to using 1 big query that uses an OR statement to combine different data sources. See https://gitlab.com/gitlab-org/gitlab-ce/issues/38508 for more information. |
||
|---|---|---|
| .. | ||
| glob_spec.rb | ||
| pattern_spec.rb | ||
| recursive_cte_spec.rb | ||
| union_spec.rb | ||