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

tnisan at redhat.com tnisan at redhat.com
Wed Oct 22 19:03:26 UTC 2014


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 at redhat.com <lzelkha at 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 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