Change in ovirt-engine[master]: dal: Use native UUID array to transfer UUIDs

mperina at redhat.com mperina at redhat.com
Tue Feb 9 12:22:57 UTC 2016


Martin Peřina has submitted this change and it was merged.

Change subject: dal: Use native UUID array to transfer UUIDs
......................................................................


dal: Use native UUID array to transfer UUIDs

When fetching VMs by uuids use native UUID arrays to fetch the VMs
instead of transfering and parsing a string representation of uuids.

This is much easier for postgres to consume and improves parsing
performance and cacheability of the query on the database side.

Change-Id: I7673b299105e1360b345ceb13a7a37222c8265d6
Signed-off-by: Roman Mohr <rmohr at redhat.com>
---
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/BaseDao.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmDaoImpl.java
M packaging/dbscripts/vms_sp.sql
3 files changed, 13 insertions(+), 4 deletions(-)

Approvals:
  Martin Peřina: Looks good to me, approved
  Shirly Radco: Looks good to me, but someone else must approve
  Eli Mesika: Looks good to me, but someone else must approve
  Roman Mohr: Verified
  Jenkins CI: Passed CI tests
  Marek Libra: Looks good to me, but someone else must approve
  Roy Golan: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/53246
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7673b299105e1360b345ceb13a7a37222c8265d6
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Marek Libra <mlibra at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Shirly Radco <sradco at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list