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

fix: pg_graphql performance #3204

Merged
merged 1 commit into from
Jan 2, 2024
Merged

Conversation

magrinj
Copy link
Member

@magrinj magrinj commented Jan 2, 2024

After digging into pg_graphql code, we've seen an issues when the context is generated based on all the schemas regardless of the current schema in use.
This result of a big time increase of the queries when adding a lot of schemas to the database.
In this PR a patch has been added and is applied before generating pg_graphql files.

@magrinj magrinj marked this pull request as ready for review January 2, 2024 15:00
Copy link
Member

@charlesBochet charlesBochet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@charlesBochet charlesBochet merged commit 2dae94d into main Jan 2, 2024
12 of 13 checks passed
@charlesBochet charlesBochet deleted the fix/pg_graphql-performance branch January 2, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Timebox] fix: performance degradation of flexible back-end with many workspaces
2 participants