Updated mysql index on startedAt #1435

merged 1 commit into from Mar 6, 2017


None yet
1 participant

ssalinas commented Feb 27, 2017

Our db was often using the wrong index when querying the taskHistory table for recent tasks, using the startedAt2 index instead of the startedAt one. startedAt2 is not actually necessary based on the queries we make, however we could still benefit from an index only on startedAt.

@ssalinas ssalinas merged commit c2efb9b into master Mar 6, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
continuous-integration/travis-ci/push The Travis CI build passed

@ssalinas ssalinas deleted the change_index branch Mar 6, 2017

@ssalinas ssalinas modified the milestone: 0.14.0 Mar 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment