By Kazi Shahin
When I connect my Laravel Application using the localhost MySQL then it’s work very fast. But when I do connect my Application to the Managed DB, it’s become 5 times slower. I really wants to use the managed DB but not slower of course.
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!
I face exactly the same issue! This is a disaster…I only managed to find out it’s so much slower(100x slower) after migrated to the managed database. Initially, I thought it was the indexing that causes such issue. Export the database and import them to run on my local, it very quick! DO, this can’t be real. We have to solve this ASAP!
This comment has been deleted
We have the same situation. This is probably because you don’t use schema caching. You need to cache the schema and by this way “SHOW” commands will not execute every call.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.