diff options
author | Joe Gordon <jogo@cloudscaling.com> | 2013-02-27 20:59:08 +0000 |
---|---|---|
committer | Joe Gordon <jogo@cloudscaling.com> | 2013-02-28 04:01:24 +0000 |
commit | ce23d6c1d679355bafede816bca39ea1eb24073c (patch) | |
tree | 60409d750269859f1cbc02ef870b72ad7e5c97ae /nova/utils.py | |
parent | f86f9a8cb508da22bf02ac602710bacd8e2c1ff2 (diff) | |
download | nova-ce23d6c1d679355bafede816bca39ea1eb24073c.tar.gz nova-ce23d6c1d679355bafede816bca39ea1eb24073c.tar.xz nova-ce23d6c1d679355bafede816bca39ea1eb24073c.zip |
Shrink size of aggregate_metadata_get_by_host sql query
* Remove unnecessary secondary joins in Aggregate model.
* Remove unnecessary backrefs (only needed to create bidirectional relationship)
aggregate_metadata_get_by_host goes from 6 JOINS down to two JOINS.
Fix bug 1133495
Change-Id: I72966fa205973ec638816b07bfdcd54f1102feb5
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions