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

connection via pgbouncer takes 10x longer to load #601

Open
kopy-kat opened this issue Mar 31, 2023 · 2 comments
Open

connection via pgbouncer takes 10x longer to load #601

kopy-kat opened this issue Mar 31, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@kopy-kat
Copy link

Bug report

Describe the bug

Related to issue #203 (which is closed now): I'm currently encountering an issue where, holding everything else constant, if I switch from a connection to port 5432 to a connection to post 6543 using pg_bouncer, the same query takes 10x longer. This occurs in a local environment, but haven't been able to test in production yet.

Tech information

  • Nextjs v13.2.1
  • prisma v4.11.0
@kopy-kat kopy-kat added the bug Something isn't working label Mar 31, 2023
@sweatybridge
Copy link
Contributor

Could you share more details about your local development setup?

We officially support the CLI for local development but it doesn't run pgbouncer locally at all.

@kopy-kat
Copy link
Author

kopy-kat commented May 27, 2023

I was not using the CLI, but using prisma within a serverless frontend (NextJS) framework

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants