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:Jump to solution
moved to dms, will update this thread later
edit: a database in us-east wasn’t much faster, user will use planetscale...
14 Replies
Project ID:
N/A
are you perhaps located far away from railways default region of us-west1?
yeah, i'm in Brazil
i think this possibility
this is it?
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
Even so, it shouldn't improve much, right? Because of the distance.
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?
I would greatly appreciate it if you could.
if the times improve, would you be interested in upgrading to pro?
yeah
okay will dm you the url shortly
okay, thanks a lot
its going to be a blank db, so you will have to seed it yourself
no problem
Solution
moved to dms, will update this thread later
edit: a database in us-east wasn’t much faster, user will use planetscale