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

Redshift historical retrieval query performance regression #2222

Closed
adchia opened this issue Jan 18, 2022 · 6 comments
Closed

Redshift historical retrieval query performance regression #2222

adchia opened this issue Jan 18, 2022 · 6 comments
Labels
Community Contribution Needed We want community to contribute critical kind/bug priority/p1 wontfix This will not be worked on

Comments

@adchia
Copy link
Collaborator

adchia commented Jan 18, 2022

There seems to have been some regression in historical retrieval for Redshift that happened somewhere between 0.14.1 and 0.16.1. A quick summary of one particular user's issue:

  • currently the point-in-time joins on big entity dataframes are slow in Redshift. The entity_df is generated right now by creating e.g. a user_id CROSS JOIN item_id
  • The tables in question have usually have 2-4 columns per feature view, and models use between 10 - 30 feature views.

@woop had done some quick investigation and the main shift seemed to happen in #1911 introduced by @MattDelac

@MattDelac
Copy link
Collaborator

the main shift seemed to happen in #1911 introduced by @MattDelac

This PR does not seem to have impact on performance. It could have impact of the columns selected at the end though ...

@woop Could you post your investigation please 🙏

@adchia
Copy link
Collaborator Author

adchia commented Jan 19, 2022

I think it wasn't any deep investigation. Was mainly trying to find changes to the query that happened in that timeframe and that PR being the main change

@MattDelac
Copy link
Collaborator

I think it wasn't any deep investigation. Was mainly trying to find changes to the query that happened in that timeframe and that PR being the main change

Ok ok. Can you explain what the regression is ? Is it performance wise (like the title suggests it) or "feature" wise (like the set of columns being part of the output) ?

If it's the former, I have no clue, if it's the latter, I have an idea 🙂

@adchia
Copy link
Collaborator Author

adchia commented Jan 21, 2022

Was a slowness (performance regression).

In digging deeper, looks like 0.14.1 was cut Oct 28 and 0.16.1 was cut Dec 11, but this PR was before Oct 28, so shouldn't have caused the issue.

@stale
Copy link

stale bot commented May 25, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label May 25, 2022
@adchia adchia removed the wontfix This will not be worked on label May 26, 2022
@kevjumba kevjumba added critical Community Contribution Needed We want community to contribute labels Aug 3, 2022
@stale
Copy link

stale bot commented Dec 20, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Dec 20, 2022
@stale stale bot closed this as completed Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community Contribution Needed We want community to contribute critical kind/bug priority/p1 wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants