Eli Mesika has submitted this change and it was merged. Change subject: core: Fix performance issues with GetHostsAndVmsForClusters ......................................................................
core: Fix performance issues with GetHostsAndVmsForClusters GetHostsAndVmsForClusters takes >30s in performance environment. This is caused by an uneeded join between vm_static and vds_static. This patch uses 2 sub-selects to eliminate the join and improve the performance. This decreased execution time in the performance environment from 30s to <1s Change-Id: I185e157bb00596c10449b637bf0c9a2c3b9d21e5 Bug-Url: https://bugzilla.redhat.com/1186737 Signed-off-by: [email protected] <[email protected]> --- M packaging/dbscripts/vds_groups_sp.sql 1 file changed, 1 insertion(+), 3 deletions(-) Approvals: Eli Mesika: Looks good to me, approved Liran Zelkha: Verified -- To view, visit http://gerrit.ovirt.org/37526 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I185e157bb00596c10449b637bf0c9a2c3b9d21e5 Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Liran Zelkha <[email protected]> Gerrit-Reviewer: Eldad Marciano <[email protected]> Gerrit-Reviewer: Eli Mesika <[email protected]> Gerrit-Reviewer: Liran Zelkha <[email protected]> Gerrit-Reviewer: Oved Ourfali <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
