Change in ovirt-engine[master]: core: getdisksvmguid hit the perf due to all_disks_including...

oourfali at redhat.com oourfali at redhat.com
Mon Dec 22 13:17:24 UTC 2014


Oved Ourfali has submitted this change and it was merged.

Change subject: core: getdisksvmguid hit the perf due to all_disks_including_snapshots view
......................................................................


core: getdisksvmguid hit the perf due to all_disks_including_snapshots view

Add index
Replace UNION with UNION ALL, which doing group by of the images
to avoid duplicates

Change-Id: I076e804cab601f3873cf2fdccba77abe42da60d3
Bug-Url: https://bugzilla.redhat.com/1141543
Signed-off-by: lzelkha at redhat.com <lzelkha at redhat.com>
---
M packaging/dbscripts/create_views.sql
A packaging/dbscripts/upgrade/03_06_0660_add_index_image_storage_domain_map.sql
2 files changed, 36 insertions(+), 2 deletions(-)

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/35787
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I076e804cab601f3873cf2fdccba77abe42da60d3
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
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