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(a)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(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Sim Zacks <szacks(a)redhat.com>
Gerrit-Reviewer: Yaniv Dary <ydary(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org