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

Support Prepared Statements #17

Open
jdegoes opened this issue May 19, 2020 · 1 comment
Open

Support Prepared Statements #17

jdegoes opened this issue May 19, 2020 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@jdegoes
Copy link
Member

jdegoes commented May 19, 2020

Parameterized queries can offer higher performance.

@jczuchnowski jczuchnowski changed the title Support parameterized queries Support Prepared Statements Apr 28, 2022
@jczuchnowski jczuchnowski added the help wanted Extra attention is needed label Apr 28, 2022
@jczuchnowski
Copy link
Member

We need to have a conversation about this. Prepared Statements can offer higher performance but as I understand it's not always the case (... research needed).

Some thoughts:

  1. Do we switch to Prepared Statements completely or do offer a choice?
  2. If we offer a choice, then is it a choice per statement or application-wide (then it comes down to choosing the renderer implementation at the layer level)
  3. Prepared statements could go via zio-jdbc (AFAIK it's using Prepared Statements)

I suppose more research is needed. What is the actual gain with Prepared Statements and what is the competition doing?

@jczuchnowski jczuchnowski self-assigned this Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants