Optimize UI queries (#1234)
* first iteration of query optimization for target and distribution set * fixed type distribution set filter * adapted all ui dataproviders to use repository count * adapted test to not check target attributes within search query * unified search behaviuor for ds and sm * removed unneccessary count queries for some mgmt calls * removed unneccessary type id proprty from ProxyDistributionSetInfo to minimize lazy fetches * refactored mgmt classes * removed duplication of name version filter * fixed copy rollout compatibility check * cleaned-up management left overs * added index to rollouts table on tenant/status queries Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
CREATE INDEX sp_idx_rollout_status_tenant ON sp_rollout (tenant, status);
|
||||
@@ -0,0 +1 @@
|
||||
CREATE INDEX sp_idx_rollout_status_tenant ON sp_rollout (tenant, status);
|
||||
@@ -0,0 +1 @@
|
||||
CREATE INDEX sp_idx_rollout_status_tenant ON sp_rollout (tenant, status);
|
||||
@@ -0,0 +1,3 @@
|
||||
CREATE INDEX sp_idx_rollout_status_tenant
|
||||
ON sp_rollout
|
||||
USING BTREE (tenant, status);
|
||||
@@ -0,0 +1 @@
|
||||
CREATE INDEX sp_idx_rollout_status_tenant ON sp_rollout (tenant, status);
|
||||
Reference in New Issue
Block a user