keystone/keystone/identity/mapping_backends
Pavlo Shchelokovskyy 4abd9926ab Filter by entity_type in get_domain_mapping_list
with many users and groups in a domain fetching all mappings (for both
users and groups) may become inefficient.

In an environment with approx 125k users and 150 groups in the mapping
table and SAML2+LDAP auth/backend, this patch reduced the time
for first (uncached) 'openstack token issue' command from 12 to 3 seconds.
Similar improvements were seen with time to login to Horizon as well.

Change-Id: Iccbef534ff7e723f8b1461bb1169e2da66cc1dea
Closes-Bug: #1775207
2018-06-20 21:18:42 +03:00
..
__init__.py Add identity mapping capability 2014-07-02 11:29:07 +01:00
base.py Filter by entity_type in get_domain_mapping_list 2018-06-20 21:18:42 +03:00
mapping.py Correct failures for H238 2015-01-11 17:33:21 -06:00
sql.py Filter by entity_type in get_domain_mapping_list 2018-06-20 21:18:42 +03:00