Performance optimizations
Prisma Studio is quite slow when loading tables with many related models. Several of my production tables take several seconds to load in Prisma Studio, when running a similar Prisma query in JavaScript takes only a fraction of a second.
I'm not sure exactly what causes the slowdown, since the query that is printed to the browser console only selects the id from the related models. Perhaps it's that these requests have relationLoadStrategy: query?
Another thought would be to load only the requested model immediately, and then make another request for the related data, showing a loading icon for the related models.
Hi @michaelhays, I’m encountering the same issue. It can take up to ~15-20 seconds just to fetch a single table.
Hey :wave:
Prisma ORM 7 introduces a brand new standalone Studio, built from the ground up to work everywhere, with or without Prisma ORM. Consequently, all "old Studio" issues are being closed as there won't be any further work on it. :mega:
The new Studio is also available in the Prisma VS Code extension and in the Prisma Console application. :electric_plug:
Help shape, improve and fix the new Studio with us in this repository by submitting bug reports and feature requests. :construction_worker: