Anonymous Asked in Cars &Transportation · 2 weeks ago

Is it good idea to store image in database?

Storing images may be a bad idea when you are dealing with small number of huge sized images. Another problem with storing images in db is that, .What is the best place for storing uploaded images, SQL database .Storing images in a database versus a filesystem - Stack OverflowCan I store images in MySQL [duplicate] - Stack OverflowTo Do or Not to Do: Store Images in a Database [duplicate]Другие результаты с сайта stackoverflow.com


Is it a good idea to store images in a database?

As a general rule, it's a bad idea to store images in a database. This is due to the large amount of space they take up, which can affect database read performance and will greatly increases the size of your backups, making them both take longer and cost more to store.

Is it better to store images in database or filesystem?

Generally databases are best for data and the file system is best for files. It depends what you're planning to do with the image though. If you're storing images for a web page then it's best to store them as a file on the server. The web server will very quickly find an image file and send it to a visitor.

Which database is good for storing images?

There are basically two types SQL and NoSQL. I would suggest go for NoSQL for storing large data of videos and images. Encrypt these data and save in database and since NoSQL is much faster than SQL, so data is fetched very fast. So mongodb is best according to me.

Is it good to store image in MySQL?

Yes, you can store images in the database, but it's not advisable in my opinion, and it's not general practice. A general practice is to store images in directories on the file system and store references to the images in the database.

Related Questions

Relevance
Write us your question, the answer will be received in 24 hours