Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add index for join table for jobs-featuresets relation #566

Merged
merged 1 commit into from
Mar 25, 2020

Conversation

zhilingc
Copy link
Collaborator

What this PR does / why we need it:
With a large amount of feature sets and jobs, any operation on the jobs table takes a ridiculous amount of time - due to the fact that the join table is not indexed, resulting in very long JobCoordinator poll() calls. This PR specifies indexes for the two columns in the join table, which should speed up queries.

Tested locally and this should be an automatic upgrade. No migration is required.

Does this PR introduce a user-facing change?:

NONE

@zhilingc zhilingc requested a review from pradithya as a code owner March 24, 2020 08:12
@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zhilingc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@woop
Copy link
Member

woop commented Mar 25, 2020

/lgtm

@feast-ci-bot feast-ci-bot merged commit e8d6e99 into feast-dev:master Mar 25, 2020
@ches ches added the backport-candidate Changes that may be desired for backport to earlier Feast release tracks label Mar 27, 2020
khorshuheng pushed a commit to khorshuheng/feast that referenced this pull request Apr 14, 2020
@zhilingc zhilingc mentioned this pull request Apr 24, 2020
khorshuheng pushed a commit to khorshuheng/feast that referenced this pull request Apr 24, 2020
ches pushed a commit to agoda-com/feast that referenced this pull request Apr 26, 2020
This was referenced Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved backport-candidate Changes that may be desired for backport to earlier Feast release tracks lgtm size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants