Change in ovirt-engine[ovirt-engine-3.5]: core: Improve performance of getdisksvmguid

tnisan at redhat.com tnisan at redhat.com
Wed Oct 22 11:02:07 UTC 2014


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 at redhat.com <lzelkha at 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 at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list