Skip to content

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

Merged
feast-ci-bot merged 1 commit intofeast-dev:masterfrom
zhilingc:many-to-many-index
Mar 25, 2020
Merged

Add index for join table for jobs-featuresets relation#566
feast-ci-bot merged 1 commit intofeast-dev:masterfrom
zhilingc:many-to-many-index

Conversation

@zhilingc
Copy link
Copy Markdown
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
Copy Markdown
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

Details 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
Copy Markdown
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