Tal Nisan has submitted this change and it was merged.
Change subject: core: Improve performance of getdisksvmguid
......................................................................
core: Improve performance of getdisksvmguid
getdisksvmguid is using view all_disks_including_snapshots which used
UNION instead of UNION ALL. This caused a needless performance hit.
On the performance environment it reduced execution from 2.2s to 700ms.
Change-Id: If037bf4a20f7cae9dd6ab6e7f95bcf0681b3bda1
Bug-Url:
https://bugzilla.redhat.com/1141543
Signed-off-by: lzelkha(a)redhat.com <lzelkha(a)redhat.com>
---
M packaging/dbscripts/create_views.sql
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Allon Mureinik: Looks good to me, approved
Liran Zelkha: Verified
Oved Ourfali: Looks good to me, but someone else must approve
--
To view, visit
http://gerrit.ovirt.org/34346
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If037bf4a20f7cae9dd6ab6e7f95bcf0681b3bda1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Liran Zelkha <lzelkha(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server