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

Run dispatch queries with preparedStatements #1410

Conversation

DiegoTavares
Copy link
Collaborator

@DiegoTavares DiegoTavares commented Jul 11, 2024

Our experiments showed that running this query as a prepared statement makes Postgres more consistent in choosing a query plan to run based on the size of the underlying indexes.

No change in functionality is added by this change.

Our experiments showed that running this query as a prepared statement causes postgres to be more consistent on choosing a query plan to run based on the size of the underlying indexes.

No change in functionality is added by this change.
Copy link
Collaborator

@ramonfigueiredo ramonfigueiredo left a comment

Choose a reason for hiding this comment

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

Approved!

Thanks, @DiegoTavares

@DiegoTavares DiegoTavares merged commit d7f5259 into AcademySoftwareFoundation:master Jul 15, 2024
12 checks passed
@DiegoTavares
Copy link
Collaborator Author

@bcipriano FYI

n-jay pushed a commit to n-jay/OpenCue that referenced this pull request Jul 26, 2024
…on#1410)

Our experiments showed that running this query as a prepared statement causes postgres to be more consistent on choosing a query plan to run based on the size of the underlying indexes.

No change in functionality is added by this change.

Signed-off-by: Diego Tavares <[email protected]>
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.

2 participants