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

Disable server-side prepare when not needed #21

Open
rjuju opened this issue Jun 24, 2015 · 0 comments
Open

Disable server-side prepare when not needed #21

rjuju opened this issue Jun 24, 2015 · 0 comments

Comments

@rjuju
Copy link
Member

rjuju commented Jun 24, 2015

DBD::Pg uses server side prepared statements by default (parameter pg_server_prepare = 1).

Since connections are very short-lived, prepared statements do not bring anything for one time queries.

We should set this parameter to 0, and manually set it to 1 where it matters (ex: loop over graphs in graph#data)

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

No branches or pull requests

1 participant