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

IN queries with ? very slow #1

Open
apa512 opened this issue Jun 29, 2015 · 0 comments
Open

IN queries with ? very slow #1

apa512 opened this issue Jun 29, 2015 · 0 comments

Comments

@apa512
Copy link

apa512 commented Jun 29, 2015

requiring pg-types.all causes queries like
["SELECT * FROM test_table WHERE test_column IN (?, ?, ?, ?, ?)" v1 v2 v3 v4 v5]
with many replacements to be extremely slow.

Something like 10 s vs. 50 ms for a query with 400 replacements. Any idea what could cause this?

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