diff options
author | Stan Hu <stanhu@gmail.com> | 2019-07-23 14:54:04 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-07-30 08:45:37 -0700 |
commit | 5bb2f0c6fcd7bc195a18efa73420be7de0ce879b (patch) | |
tree | 5892a57832ad5326cdb582b4a9a8e36848559283 /danger | |
parent | 11f82c891ab82620982ef157d3a6783ee56a6997 (diff) | |
download | gitlab-ce-5bb2f0c6fcd7bc195a18efa73420be7de0ce879b.tar.gz |
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
Diffstat (limited to 'danger')
0 files changed, 0 insertions, 0 deletions