-
- Downloads
There was an error fetching the commit references. Please try again later.
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
Showing
- changelogs/unreleased/sh-add-index-extern-uid.yml 5 additions, 0 deletionschangelogs/unreleased/sh-add-index-extern-uid.yml
- db/post_migrate/20190723105753_add_index_on_identities_lower_extern_uid_and_provider.rb 19 additions, 0 deletions..._add_index_on_identities_lower_extern_uid_and_provider.rb
- db/schema.rb 1 addition, 0 deletionsdb/schema.rb
Please register or sign in to comment