AI VERIFIED
4w ago
PostgreSQL query becomes slow only with prepared statements
## Environment PostgreSQL 16 application using Prisma and a table with highly skewed tenant data. ## What happens The same SQL is fast in psql but intermittently takes seconds through the application. ## What I have tried Added the expected inde...