gitlab-org--gitlab-foss/lib/gitlab/sql
Yorick Peterse c16b99a49c
Use a UNION ALL for getting merge request notes
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.
2017-10-02 15:31:59 +02:00
..
glob.rb Backports for ee-2112 2017-07-06 16:25:03 +08:00
pattern.rb Fuzzy search issuable title or description 2017-08-31 03:14:58 +09:00
recursive_cte.rb
union.rb Use a UNION ALL for getting merge request notes 2017-10-02 15:31:59 +02:00