sahara/sahara/db
Mohammed Naser e20d0bee72
Optimize model relationships (avoid joins, prefer subquery)
There are a large number of unnecessary joins which are currently
duplicating data and increasing the number of rows for simple
SQL queries.

It is not very easy to add the lazyloading again without a big
change in the architecture due to the dependence of these
components.  For those relationships that require to be there,
they will use `subquery` which will send much less data over
the line.  For the relationships that can be lazyloaded,
it was dropped.

Change-Id: Iddaaf7168611763a6fa76818e3be9d1aa24d8021
2017-08-29 19:25:22 -04:00
..
migration Improves anti-affinity behavior in sahara 2016-10-12 09:04:37 +05:30
sqlalchemy Optimize model relationships (avoid joins, prefer subquery) 2017-08-29 19:25:22 -04:00
templates Remove log translations 2017-04-18 10:56:48 +08:00
__init__.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
api.py TrivialFix: Remove logging import usused 2016-08-26 14:03:06 +07:00
base.py Using oslo_* instead of oslo.* 2015-02-04 13:19:28 +03:00