Change in ovirt-engine[master]: optimized view dwh_vm_configuration_history_view

emesika at redhat.com emesika at redhat.com
Sun Sep 20 12:26:18 UTC 2015


Eli Mesika has submitted this change and it was merged.

Change subject: optimized view dwh_vm_configuration_history_view
......................................................................


optimized view dwh_vm_configuration_history_view

In where clause, the same query was called 3 times. I moved that query
to the from clause and verified the date using the greatest function
instead of 3 OR statements.

Change-Id: I0d3fe0d57d88c49775e33d753fc7df4169552b96
Signed-off-by: Sim Zacks <szacks at redhat.com>
---
M packaging/dbscripts/create_dwh_views.sql
1 file changed, 4 insertions(+), 19 deletions(-)

Approvals:
  Eli Mesika: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Yaniv Dary: Looks good to me, but someone else must approve
  Sim Zacks: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0d3fe0d57d88c49775e33d753fc7df4169552b96
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sim Zacks <szacks at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Sim Zacks <szacks at redhat.com>
Gerrit-Reviewer: Yaniv Dary <ydary at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list