Report this

What is the reason for this report?

I have recently moved database in other droplet and different region. But now sql query execution time is too slow. Kindly suggest

Posted on August 12, 2017

Hi

I have recently moved database in other droplet and different region. But now query execution time and page loading is too slow. Previously both application and database was running in the same droplet. It was very fast. I am unable to find the region? query execution time is increased from 1 second to 12 second.

Is it because of latency issue or nodes?, Can private networking will increase the speed? kindly suggest.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi,

If you are running multiple queries and both Droplets are in different regions with high latency between them, it can dramatically slow down performance. It’s recommended to keep such setups contained in preferably one region, or one location (e.g. NYC2 and NYC3), to minimize latency and performance hits as much as possible. Private networking will definitely help and provide the lowest latency, however you will still have to move both Droplets to the same region in order to be able to use it.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.