summaryrefslogtreecommitdiffstats
path: root/bin/stack
diff options
context:
space:
mode:
authorDan Smith <danms@us.ibm.com>2013-04-04 12:57:32 -0700
committerDan Smith <danms@us.ibm.com>2013-04-10 12:43:14 -0700
commitc3568f9a1a28b269d88d2dcc175e6b5a2f7abf37 (patch)
tree917d9e257f19b074ddf9ec99bbcd55fd6fc35fde /bin/stack
parenta993b2b969bad0785aad02dc2a6f04ac0c675f8d (diff)
downloadnova-c3568f9a1a28b269d88d2dcc175e6b5a2f7abf37.tar.gz
nova-c3568f9a1a28b269d88d2dcc175e6b5a2f7abf37.tar.xz
nova-c3568f9a1a28b269d88d2dcc175e6b5a2f7abf37.zip
Replace metadata joins with another query
Right now, we always join metadata and system_metadata when we query for instances. This inflates the number of rows returned by a factor of ten at a minimum, and over 30 in some situations. This patch avoids the direct join of these tables in favor of a "manual join" which performs additional queries to fill the needed data. Latency may be increased, but with the gain of a potentially significant amount of reduction in data transfer. This also provides the ability for the queries which utilize it to selectively decide whether either or both of these additional fills are performed, paving the way for future high-level optimizations. Related to bug 1164737 Change-Id: I0610fb16ccce2ee95c318589c8abcc30613a3fe9
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions