"Select N+1" issue in catalog's SQL backend
Bug #1206725 reported by
Roman Verchikov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Roman Verchikov |
Bug Description
DESCRIPTION
SQL backend for keystone catalog has classic select n+1 issue in get_catalog() and get_v3_catalog() methods (for each endpoint get service). Even though the number of endpoints and services is usually not very high, given methods are executed on each authenticate request, which impacts performance of each openstack service regardless of keystone identity backend used.
FILES
keystone/
EXPECTED BEHAVIOR
Single "select ... join" SQL statement generated
ACTUAL BEHAVIOR
N+1 select statements generated, where N is the number of endpoints.
Changed in keystone: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
importance: | Undecided → Medium |
Changed in keystone: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/39386
Review: https:/