2 years ago
I have a Django project using PostgreSQL as the database. When I started deploying it on Railway, the query speeds were normal, but suddenly they became significantly slower, and I can't figure out why. I’m located in Chile, while the project is hosted in Virginia. Could this be causing the issue? Is there any way to test or diagnose this? The project id is: 1cf8b79c-61f3-4362-ad9c-8c1d1322b835
48 Replies
2 years ago
are you trial or pro?
2 years ago
is the database in question in the same region as your app?
Oh ok, I already find it. Not, the db is not in the same region. Actually, I cant change the region
2 years ago
is the database in the same project as the app?
2 years ago
then you'd want to move your project to the pro team, that can be done in the project settings
I am trying to move the project to a team, but I must pay another subscription? Is there any chance to "trasnfer" my actual subscritipon to a team?
2 years ago
you just told me you already have a pro plan?
2 years ago
may I ask why you are talking about buying it again?
2 years ago
yes
2 years ago
yes
One more question, what is the difference between metal beta and other region?
2 years ago
metal is our own hardware in a database, the other regions are GCP
2 years ago
metal hands down, but for your usecase you would not want to use it given you can't run databases on metal yet
2 years ago
we aren't done yet lol
2 years ago
are you using the private network?
i think i have some issues with that time ago, so I think i am not using private
2 years ago
check your variables for the database
2 years ago
then you'd want to use the private host and port for the database, with that it's going to be even faster
2 years ago
no problem!
2 years ago
and as long as both your app and the db are in the same region you are good to go
2 years ago
!s
Status changed to Solved brody • over 1 year ago
