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: [email protected] <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Liran Zelkha <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to