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

perf: Avoid extra queries to get the view ownership #1062

Merged
merged 1 commit into from
May 6, 2024

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented May 6, 2024

Currently we were doing n+1 queries just to get the ownership for each table.

We should also add a index for the table_id column on oc_tables_views, but tracking that in #982

@juliusknorr juliusknorr added 3. to review Waiting for reviews performance Performance issues and optimisations labels May 6, 2024
@juliusknorr juliusknorr requested review from blizzz and grnd-alt May 6, 2024 05:43
@juliusknorr juliusknorr added the bug Something isn't working label May 6, 2024
@blizzz blizzz merged commit 20a7dea into main May 6, 2024
58 checks passed
@blizzz blizzz deleted the perf/view-ownership branch May 6, 2024 08:12
@blizzz
Copy link
Member

blizzz commented May 6, 2024

backport?

@juliusknorr
Copy link
Member Author

/backport to stable0.7

@backportbot backportbot bot added the backport-request Pending backport by the backport-bot label May 6, 2024
@backportbot backportbot bot removed the backport-request Pending backport by the backport-bot label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working performance Performance issues and optimisations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants