> And we could do the same kind of approach with the non-granular request > groups by reducing the single large SQL statement that is used for all > resources and all traits (and all agg associations) into separate SELECT > statements. > > It could be slightly less performance-optimized but more readable and > easier to output debug logs like those above.
Okay, but first we should define the actual problem(s) we're trying to solve, as Chris says, so we can assert that it's worth the (possible) perf hit and (definite) dev resources, not to mention the potential for injecting bugs. That said, it might be worth doing what you suggest purely for the sake of being able to read and understand the code... efried __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
