Change in ovirt-engine[ovirt-engine-3.5]: userportal: optimize GetAllFromVms query
tnisan at redhat.com
tnisan at redhat.com
Thu Oct 23 10:09:42 UTC 2014
Tal Nisan 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 <tim.speetjens at redhat.com>
---
M packaging/dbscripts/vms_sp.sql
1 file changed, 11 insertions(+), 6 deletions(-)
Approvals:
Omer Frenkel: Looks good to me, approved
Tim Speetjens: Looks good to me, but someone else must approve
Oved Ourfali: Verified
--
To view, visit http://gerrit.ovirt.org/34387
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I541c9172c3ba9bcf989f9660baf06ec2e1fd02d7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Tim Speetjens <tim.speetjens at gmail.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list