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

Tal Nisan has submitted this change and it was merged. Change subject: core: Improve performance of updateAllDiskImageDynamicWithDiskIdByVmId ...................................................................... core: Improve performance of updateAllDiskImageDynamicWithDiskIdByVmId updateAllDiskImageDynamicWithDiskIdByVmId is running an update on the disk_image_dynamic table, using a subquery on the images table. Since images table does not have an index on image_group_id, and images can be a rather big table, this patch adds such an index. Change-Id: I1610d633dde009f55485e3081f4094d60cd25e09 Bug-Url: https://bugzilla.redhat.com/1155153 Signed-off-by: lzelkha@redhat.com <lzelkha@redhat.com> --- A packaging/dbscripts/upgrade/03_05_1090_create_index_on_images.sql 1 file changed, 4 insertions(+), 0 deletions(-) Approvals: Tal Nisan: Looks good to me, approved Liran Zelkha: Verified -- To view, visit http://gerrit.ovirt.org/34376 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1610d633dde009f55485e3081f4094d60cd25e09 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5 Gerrit-Owner: Liran Zelkha <lzelkha@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Eli Mesika <emesika@redhat.com> Gerrit-Reviewer: Liran Zelkha <lzelkha@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourfali@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: automation@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
tnisan@redhat.com