Oved Ourfali has submitted this change and it was merged. Change subject: userportal: optimize GetAllFromVms query ......................................................................
userportal: optimize GetAllFromVms query Rewrote the stored function to optimize the query inside GetAllFromVms Splitting out the boolean for simplicity Joining instead of using exists on a complicated view Removing distinct, as it's already inside the joined view Change-Id: I541c9172c3ba9bcf989f9660baf06ec2e1fd02d7 Bug-Url: https://bugzilla.redhat.com/1151477 Signed-off-by: Tim Speetjens <[email protected]> --- M packaging/dbscripts/vms_sp.sql 1 file changed, 11 insertions(+), 6 deletions(-) Approvals: Pablo Iranzo Gómez: Looks good to me, but someone else must approve Omer Frenkel: Looks good to me, approved Tim Speetjens: Verified Liran Zelkha: Looks good to me, but someone else must approve Tomáš Došek: Verified; Looks good to me, but someone else must approve -- To view, visit http://gerrit.ovirt.org/34006 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I541c9172c3ba9bcf989f9660baf06ec2e1fd02d7 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Tim Speetjens <[email protected]> Gerrit-Reviewer: Eli Mesika <[email protected]> Gerrit-Reviewer: Liran Zelkha <[email protected]> Gerrit-Reviewer: Omer Frenkel <[email protected]> Gerrit-Reviewer: Oved Ourfali <[email protected]> Gerrit-Reviewer: Pablo Iranzo Gómez <[email protected]> Gerrit-Reviewer: Tim Speetjens <[email protected]> Gerrit-Reviewer: Tomáš Došek <[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
