gitlab-org--gitlab-foss/db
Stan Hu 5bb2f0c6fc Add partial index on identities table to speed up LDAP lookups
For customers with thousands of entries in the table, lookups for an
LDAP identity dominated the PostgreSQL statistics because of sequential
scans. We can speed this up by adding a partial index with the
extern_uid and provider.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59630
2019-07-30 08:45:37 -07:00
..
fixtures CE pipelines don't respond to sourced_pipelines 2019-07-22 11:45:05 -05:00
migrate Create index on environments by state 2019-07-29 19:06:50 +00:00
optional_migrations Add version 4.2 to all existing migrations 2018-11-22 13:18:28 +01:00
post_migrate Add partial index on identities table to speed up LDAP lookups 2019-07-30 08:45:37 -07:00
schema.rb Add partial index on identities table to speed up LDAP lookups 2019-07-30 08:45:37 -07:00
seeds.rb