prisma deploy is really slow, event apply changes or apply nothing
Describe the bug As I describe, I clone new but it very slow
To Reproduce Steps to reproduce the behavior:
- clone
git clone [email protected]:prisma/prisma-examples.git cd prisma-examples/node/docker-postgres && npm idocker-compose up -dprisma deploy
Expected behavior
It should take 1s to deploy
Screenshots
The problem:
it should be fast like this:
relate link: udemy issue 1
udemy issue 2
udemy issue 3
Versions (please complete the following information):
- Connector:Postgres
- Prisma Server:
1.34.5 - prisma:
prisma/1.34.5 (windows-x64) node-v10.16.2 - OS:
Windows 10
Additional context
- it could not be my computer hardware: I have
32gb ramandryzen 5 1600 - it could not be the network
- it could be docker problem
- it could be prisma problem
@hiepxanh
Are you using a database that is inside the docker VM or you are using an external database?
Deploy time depends on the latency to the database and the amount of data in the database. Let me know which database you are using and where it is hosted and how much data it has.
I'm using Docker for desktop and database is pulling from heroku inside a docker. I don't know why, because I use the same database that deployed to the host server is event faster than this one running locally on window desktop. The next monday, I will try to use test on the Mac to the anything different. Maybe I can guest the problem to describe to you. And saving other window user :D
I have the same problem on windows 10 and postgres db deployed to heroku

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.
+1