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(a)redhat.com <lzelkha(a)redhat.com>
---
M packaging/dbscripts/create_views.sql
A packaging/dbscripts/upgrade/03_05_1210_add_index_image_storage_domain_map.sql
2 files changed, 36 insertions(+), 2 deletions(-)
Approvals:
Liran Zelkha: Verified
Oved Ourfali: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/36376
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I076e804cab601f3873cf2fdccba77abe42da60d3
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Liran Zelkha <lzelkha(a)redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server