Mattèo
Explore posts from serversPPrisma
•Created by Mattèo on 10/31/2024 in #help-and-questions
How to use set a relation and update in the same time rows
Hey ! I wanted to know if someone know how to achieve this :
Has anyone had this problem before, or can anyone help me?
Wishing you a good day 😉
2 replies
PPrisma
•Created by Mattèo on 7/19/2024 in #help-and-questions
Slowness issue when using Supavisor connection pooling with Prisma
Hey Prisma community, I've set up Supabase Supavisor connection pooling on my Supabase project but it turns out that the request is abnormally slow with Prisma when I use supavisor. I compared the time it took to make a request with
console.time
and the result was clear.
The tests are done locally with a remote postgres database hosted on Supabase with Supavisor enabled. I have the latest version of Prisma installed
Here is my connection string in my .env
With Supavisor : 291.246ms
Without Supavisor (same connection string in DATABASE_URL
and DIRECT_DATABASE_URL
) : 52.009ms
Does someone can help me ?
Have a nice day😉2 replies