prisma-engines icon indicating copy to clipboard operation
prisma-engines copied to clipboard

Reduce the number of queries per SELECT

Open pimeys opened this issue 4 years ago • 0 comments

To reduce pool saturation, we should reduce the number of roundtrips per SELECT query. Instead of triggering separate selects, we could instead run them all in one query by joining the data in the database.

This would help with the ticket in https://github.com/prisma/prisma/issues/4280

pimeys avatar Jan 14 '21 13:01 pimeys