R
Railway13mo ago
ocosta

MySQL RailWay slow queries

Hi, I have a simple desktop app with PyQt5, a Python library to make GUI, that connects to a MySQL railway database. However, the queries seem slow to me, taking around 5 seconds. How can I improve this? I'm using a hobby plan.
Solution:
moved to dms, will update this thread later edit: a database in us-east wasn’t much faster, user will use planetscale...
Jump to solution
14 Replies
Percy
Percy13mo ago
Project ID: N/A
Brody
Brody13mo ago
are you perhaps located far away from railways default region of us-west1?
ocosta
ocostaOP13mo ago
yeah, i'm in Brazil i think this possibility this is it?
Brody
Brody13mo ago
for sure that could be it regions are available on the pro plan, and I would say the closest region available would be us-east
ocosta
ocostaOP13mo ago
Even so, it shouldn't improve much, right? Because of the distance.
Brody
Brody13mo ago
i honestly couldn't tell you, i could spin up a test database in us-east for you to test on if you'd like?
ocosta
ocostaOP13mo ago
I would greatly appreciate it if you could.
Brody
Brody13mo ago
if the times improve, would you be interested in upgrading to pro?
ocosta
ocostaOP13mo ago
yeah
Brody
Brody13mo ago
okay will dm you the url shortly
ocosta
ocostaOP13mo ago
okay, thanks a lot
Brody
Brody13mo ago
its going to be a blank db, so you will have to seed it yourself
ocosta
ocostaOP13mo ago
no problem
Solution
Brody
Brody13mo ago
moved to dms, will update this thread later edit: a database in us-east wasn’t much faster, user will use planetscale
Want results from more Discord servers?
Add your server