It takes too much time to upload data to database and somtimes it shows 502 Bad Gateway

Username = Wisvantha

Website name = www.awenra.com

It takes too much time to upload data to database and sometimes it shows 502 Bad Gateway
why is that ? PLEASE ADMIN HELP ME…

  • I have also resized and compressed before uploading images to database but it takes lots of time or sometimes it shows 502 bad gateway .

If your database is huge, do not upload it one shot.
Instead, you can upload tables by table.
Split up your database to reduce the load.

Ehm… are you serving images from the database? Like JPG/PNG/etc. images? From the database?

If so: then don’t do that. Store them as files on your account and link to them there. Using a database for file storing and having to fetch and present the images with PHP is very slow and very heavy on the server. That’s going to bite you.

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.