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

oourfali at redhat.com oourfali at redhat.com
Wed Oct 22 11:43:33 UTC 2014


Oved Ourfali 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 at redhat.com <lzelkha at redhat.com>
---
A packaging/dbscripts/upgrade/03_06_0440_create_index_on_images.sql
1 file changed, 4 insertions(+), 0 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/34343
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1610d633dde009f55485e3081f4094d60cd25e09
Gerrit-PatchSet: 2
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 <elimesika at gmail.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list